Digitmaps for Spain

<< < (2/3) > >>

Nakar81:
I set default values.
I disconect PSTN Line.
I set SP1 Map:
(00xxxxxxxxxx|<:0034>[5-8]xxxxxxxxS0|<:0034>9[1-9]xxxxxxxS0|(Mipd)|[^*#]@@.)

I try call **1912345678 -> OK
I try call **10034912345678 -> OK

I want call number 00x* throw SP2 (without **1), but PSTN values not work:

PSTN
DigitMap:
(112(Mli)|00[1-9]x?*(Msp1)|[1-9]S9|[1-9][0-9]S9|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))

OutboundCallRoute:
{112:li},{00[1-9]x?*:sp1},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}


ACT1
I try this values:
DigitMap: (0034912345678)
OutboundCallRoute: (0034912345678:sp1)

And WORKS.

I try this other values:
DigitMap: (112(Mli)|00[1-9]x?*(Msp1)|[1-9]S9|1-9][0-9]S9|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))
OutboundCallRoute: (0034912345678:sp1)

And NO WORKS


Nakar81:
Works with:

PSTN
DigitMap:
(112|0034912345678|[1-9]S9|[1-9][0-9]S9|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))

OutboundCallRoute
{112:li},{0034912345678:sp1},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

But i need convert this number to generic pattern.

Note1:
In DigitMap 00x?* dont work.

Nota2:
In DigitMap 00x. dont work

ianobi:
Nakar81,

I think that too many things are changing at each attempt to get a clear idea of what is happening. I suggest that I give you a configuration which will work mostly as you want, then you fine tune it one step at a time after you have proved it works.

This assumes that PrimaryLine = PSTN

Phone Port DigitMap:
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|112|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))

Phone Port OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>|112):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

ITSP A
DigitMap (Msp1)
(0035[5-9]xx.|(Mipd)|[^*#]@@.’@’@@.)

ITSP B
DigitMap (Msp2)
(00xx.|(Mipd)|[^*#]@@.’@’@@.)

Line Port
DigitMap (Mli) In this case Mli = Mpli
(<**1>(Msp1)|<**2>(Msp2)|xx.)

After you have proved this works, then Mli can be improved by replacing the xx. rule with what suits the Spanish numbering system.

I have left in rules such as [^*#]@@.’@’@@. from default digit maps as you may require them in the future.

After each “submit and reboot” I suggest waiting a couple of minutes to let the Obi servers to catch up. They seem to get confused if we do too many changes too quickly  :)

Now, dialling directly from the phone with no ** codes you should have:

0035 go directly to sp1
00 go directly to sp2
All other numbers go to PSTN via line port.

Nakar81:
WORKS PEFERCTLY, but i dont understand.

Can you explain me?.

When i call 0035number, PhonePortDigitMap uses Mpli.
Mpli is equal to Mli (in my case).
Mli is (<**1>(Msp1)|<**2>(Msp2)|xx.)
In this moment, Mli add prefix **1 to my call if Msp1 match?.

ianobi:
Exactly right! Seems to me that you understand perfectly :)

The DMP (Digit Map Processor) is making two passes through the digit maps. First the PhonePortDigitMap prepends **1 to any number that matches Msp1 in Mpli. Second pass then routes the number via the Phone Port OutboundCallRoute to sp1 and removes the **1 before sending out to sp1.

I salute you! You have overcome the problems in buying the OBi, then finding power and line adapters, then changing from the North American defaults and having a manual that's not written in your first language. Quite an achivement  8)

Have fun fine tuning your Obi. Anywhere you see xx you may be able to cut down dialling out times by finding more exact matches to suit your normally dialled numbers.

For more information look at posts by RonR. That's where I learnt most about digit maps.

Good luck!

Navigation

[0] Message Index

[#] Next page

[*] Previous page