Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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

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

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

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

New Member

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

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

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

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

New Member

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

This is great. Thank you so much!!

New Member

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

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.

New Member

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

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

225
Views
0
Helpful
6
Replies
CreatePlease to create content