OBi110 DigitMap help

<< < (4/4)

ianobi:
We are back to the two-stage thing again:

Stage 1: You dial *123. The only place that this can be matched in the Phone Port DigitMap is using rule <#1>*123 in (Mww). It is matched, then transformed by prepending #1, so now the number is #1*123.

Stage 2: #1*123 is now offered to the Phone Port OutboundCallRoute. #1*123 is compared to every rule in the Phone Port OutboundCallRoute and can only be matched by this rule {(<#1:>(Msp1)):sp1} which accepts any number that starts #1 and is within (Msp1), so #1*123 is matched. Then this part of the rule <#1:> removes the #1 before it is sent to sp1.

Therefore the *123 rule needs to be in two different digitmaps.


When forcing through vg3 you use #3(Mvg3) in Stage 1 and you use {(<#3:>(Mvg3)):vg3} in Stage 2. In effect you are using the same XX. rule twice in (Mvg3).


All numbers need to be "allowed" in the Phone Port DigitMap and the Phone Port OutboundCallRoute. 911 is a good example it is used in Stage 1 to be "allowed" and in Stage 2 to be routed.


I may not be the best at explaining. Posts by RonR and azrobert have both put the same idea over in various posts. It may look over complicated, but this two-stage thing makes the OBi very powerful and processing, transforming and routing numbers.


Friday evening now where I live - beer time - I feel I deserve it   :D

wally_walrus:
Beer was absolutely deserved! Wish I could send you a pack :)

Your explanation makes it clear, I guess what confused me was that I could have had {(<#1:>(Mww)):sp1} instead of {(<#1:>(Msp1)):sp1} in the OutboundCallRoute, so then I wouldn't have needed the *-codes in Msp1. This is probably to allow for greater flexibility, it does introduce an element of confusion for new users but totally worth it.


Cheers!

ianobi:
The (Mww) is an unusual solution, but you had an unusual request - using #7011 (by prepending the #7) and using #1011 (by direct dialling #1011).

To achieve this my solution was to remove (Mpli) from your Phone Port DigitMap and replace it with (Mww). Also to remove {(Mpli):pli} from your Phone Port OutboundCallRoute. In your original config the following was true and was causing conflicts:

ITSP Profile A > General > DigitMap = (Msp1) = (Mpli)

Normally, having an (Mpli) is quite useful for routing numbers around, but in your case it was a problem. My solution was to use (Mww) as a kind of telephone exchange directing calls to where they should be.

If you intend to use OBiON /OBiAPP with cell phones or softphones etc then you may wish to start looking at InboundCallRoutes - I reckon you should be OK with all that now!

It's enough to drive you to beer   :)

Navigation

[0] Message Index

[*] Previous page