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