06-13-2008 08:28 AM - edited 03-18-2019 09:06 PM
I am looking for an example or how to write this type of dial plan. I have exhausted many resources looking into how to write this. I have two UC500 tied together via a VPN and can make an intersite call using 71 or 72. I am trying to make a call from one through the others PSTN, to bypass the long distance toll. Any ideas??
06-13-2008 09:15 AM
Here's an example of how to send calls to 7 digit numbers beginning with 555 across the WAN and out the PSTN interface of the remote router. Obviously, your IP addresses, phone numbers, codecs and ports may be different.
Local router:
dial-peer voice 1 voip
destination-pattern 9555....
session target ipv4:192.168.1.1
codec g711ulaw
Remote router:
voice service voip
allow-connections h323 to h323
dial-peer voice 1 voip
incoming called-number 9555....
codec g711ulaw
dial-peer voice 2 pots
destination-pattern 9555....
forward-digits 7
port 0/0/0
Hope this helps. If so, please rate the post.
Brandon
06-13-2008 10:35 AM
Thank you for your response.
Is there a way to specify what area codes go to the secondary site, and the rest would go out the local site?
Thanks again
06-13-2008 10:43 AM
Sure. If you wanted to send calls to area code 202 to the remote router and all other long distance calls out local port 0/0, you could have:
Local router:
dial-peer voice 1 voip
destination-pattern 91202.......
session target ipv4:192.168.1.1
codec g711ulaw
dial-peer voice 2 pots
destination-pattern 91{2-9]..[2-9]......
forward-digits 11
port 0/0
Remote router:
voice service voip
allow-connections h323 to h323
dial-peer voice 1 voip
incoming called-number 91202.......
codec g711ulaw
dial-peer voice 2 pots
destination-pattern 91202.......
forward-digits 11
port 0/0/0
Hope this helps.
Brandon
06-13-2008 10:45 AM
This is great. Thank you so much!!
06-19-2008 12:22 PM
Where you able to get this to work? I am trying to the same thing and the dial peer matches up, but the call is still sent out the local gateway.
06-19-2008 12:56 PM
I am working with one of our customers and have not had a chance to implement this. I will let you know once I get a chance to do this
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide