cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
599
Views
0
Helpful
6
Replies

How to setup toll-bypass with H.323 or SIP

danny.mclean
Level 1
Level 1

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??

6 Replies 6

Brandon Buffin
VIP Alumni
VIP Alumni

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

danny.mclean
Level 1
Level 1

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

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

This is great. Thank you so much!!

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.

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