Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Incoming Local Calls from a SIP Trunk

Status
Not open for further replies.

NateRD25

MIS
Sep 17, 2007
139
US
My SIP trunk connects 2 buildings that would be LD if calling between the 2. We want the SIP trunk to avoid toll for calling other numbers that are considered local to each location. Right now, I have it working for DIDs that I own so if the far end would dial 91814788xxxx it comes through the SIP I have a translation pattern that strips 91814788 and passing the last 4 which seems to work. The next step is for DIDs that we do not own. So if the far end wants to call a pizza shop in my local calling area they would send the number through the SIP I could get it, translate it, and then send it out the PRI to the pizza shop. The far end is sending me 91814834xxxx and I want to strip 91814 and just send out 9834xxxx.

Thoughts?
 
Is this one cluster or 2 different ones that are connected via a sip trunk?

Certifications:
A+
Network+
CCENT
CCNA Voice
 
Create route patterns that point to that SIP trunk for the calls you want. Create dial peers sending the calls to the other gateway. On that gateway, create dial peers that route the call out. So call route would be CM > Sip GW > Sip GW > PSTN.

Certifications:
A+
Network+
CCENT
CCNA Voice
 
You can do that with a translation pattern. In this case, create one that matches "91814.834XXXX". Make sure it's in a partition that's reachable via the SIP trunk and is assigned a Calling Search Space that has permission to make local PSTN calls. Further down in the configuration under Called Party Transformations, set Discard Digits to PreDot and Prefix Digits to '9'. What this will do is delete everything before the . in the pattern and adds just a 9 in its place. The call then goes on to use your existing route patterns and PSTN gateway local calls.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top