please help: OutboundCallRoute

<< < (3/5) > >>

azrobert:
Sorry if I was unclear.
My first post had a logic error, therefore the second post.
You missed that I removed "<1>[2-9]xxxxxxxxx" from your digit maps.
The second post I gave you 2 options.
One if you didn't want the prefix and the other if you did.

Anyway, below is what I think you need:

SP1 Digitmap = (xxxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
SP2 Digitmap = (1xxxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)

Add {(<1>xxxxxxxxxx):sp1}, before {(1xxxxxxxxxx):sp2}.


The "(<1>xxxxxxxxxx)" portion of the outbound call route acts as another digit map and adds the "1" prefix before routing the call to sp1.

azrobert:
If you want to use ianobi's method do the following:

Leave Phone Port DigitMap and OutboundCallRoute at default.

SP1 Digitmap = (<**2>1xxxxxxxxxx|<**11>xxxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)

SP2 Digitmap = (1xxxxxxxxxx|011xx.)

His approach is the add **1 or **2 to the dialed number.
The default phone outbound call route will strip these off and route the number to the correct spx.
The above example I'm adding **11. The extra 1 is the country code prefix.

ianobi:
OK, now I understand the question. It often takes me a few days  :)

To send out 1xxxxxxxxxx both on sp1 and sp2 and have automatic routing is a tricky problem. I don’t think the last solution from azrobert will work because when the **1 is stripped from **11xxxxxxxxxx, there is no plain 1xxxxxxxxxx rule in the sp1 DigitMap to route the call to sp1 in the OutBoundCallRoute. It may well get **2 prepended to it because of the <**2>1xxxxxxxxxx rule. You cannot put the plain rule 1xxxxxxxxxx in sp1 DigitMap because it is Mpli and will take the calls meant for sp2. Anyone still following this …  ::)

Here’s what I suggest:

Leave Phone Port DigitMap and OutboundCallRoute at default.

SP1 Digitmap = (<**2>1xxxxxxxxxx|<FPL>xxxxxxxxxx|<FPL:1>xxxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)

SP2 Digitmap = (1xxxxxxxxxx|011xx.)

When Phone Port DigitMap is processed:
1xxxxxxxxxx has **2 prepended
xxxxxxxxxx has FPL prepended

When Phone Port OutBoundCallRoute is processed:
**21xxxxxxxxx matches sp2 DigitMap, **2 is removed and the call routes out on sp2 (GV).
FPLxxxxxxxxxx matches sp1/pli DigitMap, FPL is replaced by 1 transforming the number to 1xxxxxxxxxx and the call routes out on sp1 (FPL).

azrobert:
Quote from: ianobi on January 15, 2013, 04:28:31 am

I don’t think the last solution from azrobert will work because when the **1 is stripped from **11xxxxxxxxxx, there is no plain 1xxxxxxxxxx rule in the sp1 DigitMap to route the call to sp1 in the OutBoundCallRoute.

I believe my suggestion will work.  You are correct that there is no 1xxxxxxxxxx rule in the sp1 digit map, but there is a xx. rule. "<**1:>xx." will get a match.

ianobi:
Azrobert. Your reply #10 I’m sure would work, even though it’s not my preferred way of doing things. There’s definitely more than one way of sorting this routing problem.

Quote

You are correct that there is no 1xxxxxxxxxx rule in the sp1 digit map, but there is a xx. rule. "<**1:>xx." will get a match.

I’m not so sure about that. I know it does not look likely, but I think <**1:><**2>1xxxxxxxxxx is a better match for **11xxxxxxxxxx than <**1:>xx. Also the xx. rule adds a ten second delay to dialling out. What we really need is an expert opinion from RonR   ;)  or maybe someone keen enough to try all these different configurations on their OBi110.

Anyhow, I’m sure that your reply #10 or my reply #12 will both work. I guess there’s something slightly odd about those of us who find this stuff interesting  :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page