Obi-100 (or 202!) and Sipsorcery
azrobert:
Wow, you're a pain in the butt!
Just kidding.
Change Physical Interfaces >> Phone Port >> StarCodeProfile = None
ITSP A DigitMap:
(1?[2-9]xx[2-9]xxxxxx|<480>[2-9]xxxxxx)
ITSP B DigitMap:
([2-9]xx[2-9]xxxxxx|[2-9]xxxxxx)
ITSP C DigitMap:
([2-9]xx[2-9]xxxxxx|<480>[2-9]xxxxxx)
ITSP D DigitMap:
(<1>[2-9]xx[2-9]xxxxxx|<1480>[2-9]xxxxxx)
Add to front of default Phone Port DigitMap:
(Msp1)|(*x(Msp2))|
Add to front of default Phone Port OutCallRoute:
{(Msp1):sp1},{(<*8:>(Msp3)):sp3},{(<*9:>(Msp4)):sp4},{(*x(Msp2)):sp2},
8005551212 routed to SP1 (GV)
5551212 routed to SP1 (GV) as 4805551212
18005551212 routed to SP1 (GV)
*18005551212 thru *78005551212 routed to SP2 (SIPSorcery)
*15551212 thru *75551212 routed to SP2 (SIPSorcery)
*88005551212 routed to SP3 as 8005551212
*85551212 routed to SP3 as 4805551212
*98005551212 routed to SP4 as 18005551212
*95551212 routed to SP4 as 14805551212
user17600:
Nah, just persistent.
That's the ticket. Thanks again, it's like you're the new RonR.
U1
GregoryZ:
Quote from: user17600 on August 25, 2012, 09:14:41 am
That's the ticket. Thanks again, it's like you're the new RonR.
Who knows....RonR could mean Ron Robert. AKA AZRobert.
Same person, different User ID?? ???
Just kidding azrobert. Great Job!
We all Appriciate Your Knowledge and Willingness to help Others!!!
-G
azrobert:
I see a lot of people are reading this thread, so here is a tutorial on what I did.
The ITSP DigitMaps don't do any processing. It's a place to define a DigitMap.
Everything happens in the Phone Port DigitMap and OutCallRoute.
The Phone Port DigitMap is processed first and verifies the number you dialed.
The (Msp1) portion of the DigitMap refers back to the ITSP A DigitMap and lets pass numbers for GV.
The (*x(Msp2)) adds *x to the ITSP B DigitMap and lets pass numbers for SP2, SP3 and SP4.
At this point everything we need has been verified and processing goes to the OutCallRoute.
The OutCallRoute is processed left to right.
The (Msp1) portion of {(Msp1):sp1} is another DigitMap that checks for GV numbers and routes them to SP1.
(<*8:>(Msp3)) Checks for numbers prefixed with *8, but routes the number to SP3 without the *8.
I did not put the <*8:> in the ITSP C DigitMap for a reason. If I did, when the Phone Port DigitMap processed the number the *8 would have been stripped off at that point. Then the OutCallRoute would not see the *8 and route the call to SP1.
Same for (<*9:>(Msp4))
At this point *8 and *9 have already been routed, so (*x(Msp2)) routes the remainder *1 thru *7 to SP2.
Hope this helps someone out there.
azrobert:
Just to kill any rumors that I'm RonR, check my profile.
I registered on January 29, 2011.
If I remember correctly RonR helped me a couple times when I was a newbie.
Navigation
[0] Message Index
[#] Next page
[*] Previous page