Least Cost Routing VoIP between CME sites - can it be done?

Is it possible to configure LCR between two CME sites? I have two different CME's that are in two different states and would like to take advantage of the PSTN connections at both sites. I'm currently using h323 dial-peers for 4-digit dialing and toll bypass, but am not quite sure how to get site A to dial out site B's ISDN line for PSTN calls.
I'm using CallManager Express at both sites.
Any hints?
Thanks.

Mike,
This can be done. Make the configuration transparent to the IP phone users, so they will just dial the numbers as long distance numbers. Configure redundancy via dial-peers. Two dial-peers will do the trick. The first dial-peer will send the call to the remote gateway for it to be routed out as a local call. If the number dialed is dialed as 91+10 digits, strip the 91 (and the area code if necessary) before sending the call to the remote gateway which should already be configured to route the call out as a local call. The second dial-peer is a failover dial-peer, to be used incase the WAN is down or the remote gateway is not available to route out the call. In this case, the call is sent out the local gateway as a normal long distance call.
The configuration could look somewhat like this:
voice translation-rule 4
rule 1 /^91212/ /212/
voice translation-profile LCR
translate called 4
dial-peer voice 1 voip
description ** LCR Via CME_Site_B **
destination-pattern 91212[2-9]......
translation-profile outgoing LCR
preference 1
dial-peer voice 2 pots
description ** LD to CME_Site_B Via Local PSTN**
destination-pattern 91212[2-9]......
preference 2
forward-digits 11
port x/x
Hope this helps.
Michael.

Similar Messages

  • Least Cost Routing in SQL 2008

    Anybody tried stuff like least cost routing in sql 2008? I have a small road network represented by linestrings in sql, and I'd like to find the shortest (or any other) route between two points. Anyone have some links to whitepapers... tutorials maybe?

    I would like to perform routing in MS SQL 2012 which is going to be similar like pg routing ?
    Actually in pgrouting I'll do the following steps to create a routable network.
    1)
    create a database routing with template "template_routing"
    2)
    create table "road_network" with following constraints
    CHECK (st_ndims(the_geom) = 2)
    CHECK (geometrytype(the_geom) = 'MULTILINESTRING'::text OR the_geom IS NULL)
    CHECK (st_srid(the_geom) = 4030)
    Then
    -- @ CREATE INDEX FOR THE ROAD TABLE -------------------- IMPORTANT
    CREATE INDEX spatialindex_road
     ON road_network
     USING gist
     (the_geom);
    3)
    Perform following queries
    ALTER TABLE road_network ADD COLUMN "source" integer;
    ALTER TABLE road_network ADD COLUMN "target" integer;
    SELECT assign_vertex_id('road_network', 0.00001, 'the_geom', 'gid');
    CREATE INDEX source_idx ON road_network("source");
    CREATE INDEX target_idx ON road_network("target");
    ALTER TABLE road_network  ADD COLUMN length double precision;
    UPDATE road_network  SET length = length(the_geom);
    ALTER TABLE road_network  ADD COLUMN reverse_cost double precision;
    UPDATE road_network  SET reverse_cost = length;
    ALTER TABLE road_network  ADD COLUMN x1 double precision;
    ALTER TABLE road_network  ADD COLUMN y1 double precision;
    ALTER TABLE road_network  ADD COLUMN x2 double precision;
    ALTER TABLE road_network  ADD COLUMN y2 double precision;
    UPDATE road_network  SET x1 = x(ST_PointN(the_geom, 1));
    UPDATE road_network  SET y1 = y(ST_PointN(the_geom, 1));
    UPDATE road_network  SET x2 = x(ST_PointN(the_geom, ST_NumPoints(the_geom)));
    UPDATE road_network  SET y2 = y(ST_PointN(the_geom, ST_NumPoints(the_geom)));
    alter table road_network add column cost double precision default 0;
    update road_network set cost=0.1 where type='NH';
    update road_network set cost=0.2 where type='SH';
    update road_network set cost=0.3 where type='major';
    update road_network set cost=0.4 where type='minor';
    update road_network set cost=1.2 where type='colony';
    update road_network set cost=0.8 where type='third';
    4)
    Now network table created
    To check 
    Run: 
    run this query on ur postgreSQL....
    assign table name name and create a table
    CREATE TABLE shortest_path_astar_table_3(gid int4) with oids;
    SELECT AddGeometryColumn( 'shortest_path_astar_table_3', 'the_geom', 4030, 'MULTILINESTRING', 2 );
    INSERT INTO shortest_path_astar_table_3(the_geom) 
    SELECT the_geom FROM astar_sp_directed('road_network',37,43,true,true);
    Open "shortest_path_astar_table_3" on QGIS and check the path
    Is there any similar way to perform similar queries in SQL ?

  • Least cost routing using GMS Gateway

    Hi All,
    We have a GSM devices providing least cost routing on our PBX. We’re looking to fully migrate our phone system to Lync 2013 and I’m interested to know if there are any supported (single line) GSM Gateways.
    I’m looking to use it connected to our Lync server with no PBX. (Direct SIP)
    We only have a small number of users so routing all mobile calls out over the GSM gateway with a single line.
    Many thanks
    James

    I've heard some rumbling of AudioCodes having something
    http://www.audiocodes.com/solutions/fmc but I haven't messed with it and it looks like the devices would be overkill for you. 
    For Lync 2013, there are a small number of vendors and devices supported:
    http://technet.microsoft.com/en-us/lync/gg131938.aspx so I'd suggest reaching out.
    If there is nothing "supported" that doesn't mean there's not something that will work.  If it needs to be supported, you might have to doublehop between Lync and a supported device and the supported device and the GSM device. 
    My only suggestion unless someone chimes in with something more would be to get a supported device with analog ports such as an AudioCodes Mediant, and plug GSM to analog (FXS) devices in the ports.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • [request] BongoSurfer least cost router

    Hi!
    Would be nice if somebody could create a PKGBUILD since I think this is an perfect application for all those who don't have a DSL Flatrate or simply just need a dial in connection to the internet.
    Check it out: http://www.bongosoft.de/
    Thanks!

    Hm, I've been doing some more work on AWeather lately... I don't think there are any Arch packages for it yet, and I don't use Arch myself, but if someone wants to volunteer to make one I might be able to help/answer questions.
    The old wiki page was linked from above, the new development page is here: http://lug.rose-hulman.edu/code/projects/aweather
    There's also IDV, which has quite a bit of support, but is a little tricky to get started with, and requires Java: http://www.unidata.ucar.edu/software/idv/

  • Creating a new Hashtag within a Discussion in a Community site - Can it be done?

    Hi,
    Can somebody confirm whether we can create new hashtags by typing them in the
    Description field of a new Discussion within a Community site?
    I can't seem to be able to create new hashtags...however, any existing hashtags that was already created before are automatically recognized.
    Can new hashtags be created within a community site? Or just within a newsfeed?
    Thanks!
    Brian

    Hi Brian,
    did u get the service packs
    http://www.chrisweldon.net/blog/2012/12/20/sharepoint-2013-community-tagging-architecture-and-bug/
    http://www.chrisweldon.net/blog/2012/12/20/sharepoint-2013-community-tagging-architecture-and-bug/#update
    seems it was corrected
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • Routing issue between two satellites sites and one central hub

    Hi,
    I have 3 Ad sites with one exchange 2010 hub,cas,mailbox server on each sites.
    One of this site (site A) is central Hub and the two other sites  ( B and C) are two satellites of site A.
    The is no connectivity between site B and C, only connectivity between A and B, and A and C.
    When I send a mail from Site B to Site C, Exchange try to deliver the mail directly to site C and don't pass to site A to deliver to site C, some mail stay in queue in site B, and the the queue is in retry.
    I flag the site A as HUB.
    Site toplogy is correct and the cost too.
    Can someone help me??
    Thanks

    what are your AD costs between A, B and C?
    In Exchange 2010, each message recipient is always associated with only one Active Directory site, and there is only one least cost routing
    from the source Active Directory site to the destination Active Directory site
     If the least-cost routing path to the primary site contains any hub sites, the message must be
    routed through the hub sites

  • Routing issue between two Linux servers

    Hello, I have a fedora box with IP Masquerading setup. I used the instructions on tldp.org (http://tldp.org/HOWTO/IP-Masquerade-HOWTO/firewall-examples.html) to set it up. The problem is that I can't ssh from my firewall box to any internal linux box. my firewall is configured eth0 as internal and eth1 as external and just using basic iptables ruleset from the tutorial. When I try to ssh to my internal box 192.168.0.x from the external box I get " ssh: connect to host 192.168.0.x port 22: No route to host". I can ping the ip fine. My routing table looks like this:
    [root@oracle rc.d]# ip route show
    192.168.0.11 via 192.168.0.1 dev eth0
    192.168.0.0/24 via 192.168.0.1 dev eth0
    external_IP/24 dev eth1 proto kernel scope link src ISP_address
    169.254.0.0/16 dev eth0 scope link
    default via ISP_gateway dev eth1
    [root@oracle rc.d]# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.11 192.168.0.1 255.255.255.255 UGH 0 0 0 eth0
    192.168.0.0 192.168.0.1 255.255.255.0 UG 0 0 0 eth0
    external_IP 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    0.0.0.0 ISP_gateway 0.0.0.0 UG 0 0 0 eth1
    what's wrong with my routing table? Please help.
    BTW: the natting works fine, I can ssh to the firewall box on both interface fine. just can't ssh/telnet from the firewall to anywhere else.
    Thanks.

    what are your AD costs between A, B and C?
    In Exchange 2010, each message recipient is always associated with only one Active Directory site, and there is only one least cost routing
    from the source Active Directory site to the destination Active Directory site
     If the least-cost routing path to the primary site contains any hub sites, the message must be
    routed through the hub sites

  • Splitting video over two displays - can it be done?

    i am doing some video work for a musical at our high school. i will have video projected on a back canvas, but to get better quality of the image (since its so big) is there any way to hook up two projectors so they combine and act as one giant widescreen? i know i can do dual display mode, but i need a way to put a widescreen video between two projectors. can this be done? also, what hardware do i need to connect two external displays? thanks

    Hi Kyle,
    you can try this one:
    http://www.matrox.com/graphics/en/gxm/support/mac/home.php
    check out the triple head one,....
    Good Luck.

  • After mail was moved to iCloud on jan 1, my mail app emails received have 23 lines of "routing info" between the address and the message. How can I get rid of this info?

    After my mail was moved to iCloud, my mail app emails received have 23 lines of "routing data between the address and the message how can Imget rid of this "data"?

    Found the answer a Mail>preferances>Viewing>Show header detail. Changed it to Default.

  • Hello! i am from Romania and i want to buy an iphone from the USA site. can i buy it neverlocked? and if it is possible how much should it cost in totat(with transport and the iphone price)?

    hello! i am from Romania and i want to buy an iphone from the USA site. can i buy it neverlocked? and if it is possible how much should it cost in totat(with transport and the iphone price)?

    You can buy a factory unlocked on direct from Apple sim free, make sure you get the right one and not just a contract free one.  I am sure  one of our US members will be able to give you the price.

  • Exchange High availability between two sites with two servers

    Hi Team,
    I have a requirement to deploy exchange server 2010 between two sites. but i have limited resources to full fill this. below the summary.
    2 servers in two sites
    different subnets will user for two sites
    Need to deploy DAG.
    please let me know the considerations for this deployment. 
    Thank you

    Hi - In this scenario, you would setup the following: Site 1: Exchange 2010 Multi-Role server File Share location to place File Share Witness for the DAG Site 2: Exchange 2010 Multi-Role server The above will give you 2 nodes in the primary location and
    one node in the secondary location so that resources will stay in Site one. You will also need to enable DAC (Datacenter Activation Coordination) on the DAG so that the Cluster group can be managed by Exchange. Last but not least, you will want to restrict
    automatic failover of resources to Site 2 by blocking that action on the Exchange server in Site 2 using 'Set-MailboxServer <servername> -DatabaseCopyAutoActivationPolicy Blocked' This will make you manually failover to site 2 and not end up with resources
    there after a sudden failure or issue that is not impacting the entire site.Jason Apt Microsoft Certified Master | Exchange 2010

  • RIP/EIGRP maximum number of Equal cost routes

    I am looking for documentation on:
    If a router has 20 equal cost routing paths and only 4 show up in the routing table, what is the determining factor that chooses which four and where are the other 16 put in case the 4 routes become unusable.
    Most documentation will tell you the maximum amount and how to change it but I have not found any documentation on how EIGRP or RIP chooses the routes.

    You can have up to 4 by default, but you can configure the routing table to accept up to 6 on older code, and up to 8 on newer code, using the command "maximum-paths" under router eigrp. EIGRP will attempt to install all of the available paths, but the routing table will only allow it to install the first x that it installs.
    The routes which are not installed by EIGRP are placed in a "backup table." If one route fails, each routing protocol running on the router is notified, and will attempt to install any routes (which match the destination, of course) back into the routing table. Again, the frst x paths would win.
    Be careful with this much redundancy in eigrp--you're playing with fire if you have 15 or 20 links between a pair of routers.Russ

  • VPN between 2 sites with dynamic IP

    Hi everyone, I'm a newbie in CISCO systems but i'm actually excited to work these brand. I started working in a company and they assign me the task to find out if there is a possibility to stablish a VPN tunnel between to sites that are connected to Internet via ADSL modem and the ISP works with DHCP. I got two router CISCO 2811, with 2 FE, and an external ADSL modem. My 2 main questions are:
    1)Is it possible to stablish the tunnel if I only have dynamic IPs?
    2) Can I stablish a firewall policy with the IOS to allow only the traffic through the tunnel? Is that related with the no-splitting concept?
    I appreciate every help and advise you can give me since I'm new with a lot a of these stuff, but i'm actually learning a lot. Fell free to ask me anything specific about my router configuration (which is really basic at the moment) or anything else you need to know to help me.
    Gustavo

    Thanks a lot for the advise. Don't worry I know these tasks are difficult, I'm actually studying for the CCNA certification, and I have until December to get these 100% working. As these are not concepts that you usually learn within the CCNA level, I'm doing my best reading a lot of the documentation in the site.
    Actually I found something interesting that actualy might be my best solution: DMVPN. The topology managed in the company is a star topology and we have some static IPs provided by the ISP in the central. We have dynamic IP in each branch office, and we want to stablish a backup connection just like the one in the attacched file. Now my new questions are:
    1) Is this configuration a better solution for my case, or can I handle it with traditional IPSec tunnels applying Dynamic DNS and Dynamic peer resolution in IPsec?
    2)Is it possible to implement BGP on a DMVPN? I ask these because we actually have a BGP configured in the network.
    Thanks for the advise.
    Gustavo

  • VPN between 2 sites

    I want to Establish a VPN connectivity between 2 sites using PPTP or L2TP with IPSEC with 1841 and 871 as well as want to allow WEB VPN so i can allow remote users from any where to enter in my network on my 1841 router plz suggest any configuration

    Point-to-Point Tunneling Protocol (PPTP) is not a standard tunneling protocol. Microsoft developed PPTP, which?like L2TP?tunnels Layer 2 PPP traffic over LANs or public networks.
    PPTP creates client-initiated tunnels by encapsulating packets into IP datagrams for transmission over the Internet or other TCP/IP-based networks.n a VPN, the verification of peer identity using any combination of device authentication, data origin authentication, extended authentication, and data integrity checking.
    In the context of AAA, entity authentication is the method of verifying user ID, including login and password, challenge and response, messaging support, and?depending on the security protocol that is selected?encryption.

  • Internet Connection loss after losing connection between 2 sites

    Hello,
    I have started working for a company over a year ago and recently we are running into an issue with losing internet after a loss of connection between companies site.  Below is a summary of setup.
    Company has 2 locations, Site A and Site B..both same domain
    Site A has DC and other servers such as ERP, Document Control Software.
    Site B has DC, Printer Server, File Server and other essentials servers.
    Each site has own independed 20 MB connection.
    Site A and B are linked via MPLS and only used for ERP, Document Control software, and DC traffic.
    Recently we started to have frequent connection issues with the MPLS and as a result I started to notice none of the users at Site B can access the internet such as google.com, msn.com...etc. As soon as MPLS connection is restored interent works.
    The DC at Site B was setup before I started working for company.
    I have been trying for the past few days to figure out why Site B is losing connection when MPLS Tunnel is not operational...but so far no luck.
    I am very sure that internet traffic is not routed via MPLS because when internet is working the IP lookup such as "whatismyipaddress.com" points to ISP IP address for site B. Also when doing tracert to external website the route is via ISP for
    Site B.
    I think this issue is related to DNS but cannot tell the cause or how to fix? 
    Thanks for assistance in advance.

    Hi 
    Having said internet is not routing via MPLS, Even i think to be a DNS issues,
    Try to check the below
    Ensure all the client DNS is set to AD DNS server 
    In AD DNS server ensure its not forwarding DNS query to Other site 
    During outage check any client PC manually changing the DNS IP to 4.2.2.2
    - all client DNS are set to AD DNS server
    - I checked the properties for the AD DNS and found there are 3 forwarders listed.
    The first IP is at Site A which is resolved.
    The second IP I am not sure about since it is not even in our subnet (not resolved)
    The 3rd IP seemed to be for an old DC that is no longer operational (not resolved).
    - During outage if I change client machine DNS to 8.8.8.8 or 4.2.2.2 they can access the internet.
    I guess my issue is with the forwarders. Would the right step be remove all 3 forwarded and add 8.8.8.8 and 4.2.2.2?
    Thanks.

Maybe you are looking for