DigiMap Question

<< < (3/5) > >>

twinclouds:
Quote from: azrobert on March 10, 2014, 01:50:55 pm

Phone Port DigitMap:  (*(Msp1)|*(Msp2)|......current rules....)

Phone Port OutBoundCallRoute:

{(<*:>(Msp1)):vg3},{(<*:>(Msp2)):vg4},......current rules.......

Any number dialed that matches SP1 DigitMap with an asterisk prefix will be routed to VG3.

Any number dialed that matches SP2 DigitMap with an asterisk prefix will be routed to VG4.


I added {(<*:>(Msp1)):vg3} to the Phone Port OutBoundCallRoute.  I did not work.  Again, which is Msp1 anyway.  Is it the DigiMap in Service Providers>ITSP Profile A>General or the DigiMap of vg1?  I checked both and both contains the dial patten anyway.

azrobert:
Phone Port DigitMap:  (*(Mvg3)|*(Mvg4)|......current rules....)

Phone Port OutBoundCallRoute:

{(<*:>(Mvg3)):vg3},{(<*:>(Mvg4)):vg4},......current rules.......

VG3 DigitMap: (1[2-9]xxxxxxxxx)

VG4 DigitMap: (011xxxxxxxxxxxx)

You have to update the Phone Port DigitMap also.
Msp1 points to ITSP A DigitMap
Msp2 points to ITSP B DigitMap
I assumed these were coded a certain way and was trying to save some code.
Try the above.
The VG4 DigitMap will only match 011 followed by exactly 11 digits.
Is that what you want?

twinclouds:
It works now.  Thank you very much.
the 011xxxxxxxxxxx is just an example.  I have more than one entries in the digimap followed by S0/1/2/4 to speed up connection time.
One more question.  Since there are *(Mvg3) and *(Mvg4) as well as **3(Mvg3) and **4(Mvg4) in the phone port digimap, will there be any confusions?  Oh, one more thing: should I match the digimap of GW1/2 with Mvg1/2?  These are just for my information.  The method you described works fine anyway.
Thanks again.

azrobert:
No confusions on **3 and **4, but if you're not using them they should be removed.

Most people don't understand that the Phone Port DigitMap is the one that really counts. The only time the trunk DigitMaps become relevant is when they are referenced by the Phone Port DigitMap. It doesn't matter what DigitMap you use for a trunk. That is what I did with my first attempt to help you.

*(Msp1) {(<*:>(Msp1)):vg3}

In the above Map and Route I was trying to reuse Msp1 for VG3.
The * will be prepended to each rule in Msp1 before the compare.

To answer your question you normally would use VG1 with Mvg1 (less confusion), but you can do anything you want.

In the suggestion that worked I used the same technique putting the * outside Mvg3. If I used Mvg3 DigitMap = (<*:>1[2-9]xxxxxxxxx) when the DigitMap excutes it will remove the * and then the outbound route would not function correctly. If you don't use this technique and need to remove a prefix you would have to do something different for the Map and Route. Most people use the technique of prepending an ** number in the DigitMap. I just don't like that technique.

This was a long winded answer. I hope I didn't confuse you.

twinclouds:
Thanks for you taking time to answer my question.  Obi DigiMap is not the easiest thing to understand, I guess I need read more to fully understand.  Just get to lazy nowadays  ;).

Navigation

[0] Message Index

[#] Next page

[*] Previous page