please help: OutboundCallRoute
YongChen:
Quote from: azrobert on January 14, 2013, 08:04:54 am
The reason your config didn't work is because the digit map is processed first.
My understanding is, when making a outbound call:
- apply PHONE Port::DigitMap to see if it is allowed, if yes,
- apply PHONE Port::OutboundCallRoute to see which trunk to use
- apply DigitMap of the chosen trunk, and make call with the truck
For my settings, if I dial xxx-xxx-xxxx, it should go through my OutboundCallRoute as following:
{911:sp1} not-match
{(1xxxxxxxxxx):sp2} not-match
{([1-9]x?*(Mpli)):pp} not-match
{(<#:>|911):li} not-match
{**0:aa} not-match
{***:aa2} not-match
{(<**1:>(Msp1)):sp1} not-match
{(<**2:>(Msp2)):sp2} not-match
{(<**8:>(Mli)):li} not-match
{(<**9:>(Mpp)):pp} not-match
{(Mpli):pli} match, my pli is SP1 (FreePhoneLine)
But the person answer the call see my Google Voice #, not my FreePhoneLine #. Why?
azrobert:
- apply PHONE Port::DigitMap to see if it is allowed.
substitution also occurs at this time.
In the Phone digit map you refer to sp1 digit map with "(Mpli)".
In sp1 digit map you add prefix "1".
- Phone outbound call route determines trunk AND makes call.
Substitution can also occur here.
The spx digit map does NOTHING to determine what is allowed on spx or where the call is routed.
It's more for documentation.
It only has relevance when it's referred to in the phone digit map or phone outbound call route.
If you don't believe me:
set sp1 digit map to xxxxxxxxxx|1xxxxxxxxxx
set sp2 digit map to xxxx
I bet it will still work.
Did you try my suggestions and did it work?
ianobi:
YongChen,
azrobert is quite right. I’m going to throw my suggestion into the mix to show a different way of doing things.
I think the neatest way, which keeps the modular concept of the Phone Port DigitMap and OutboundCallRoute is as follows:
Leave Phone Port DigitMap and OutboundCallRoute at default.
SP1 Digitmap = (<**2>1xxxxxxxxxx|xxxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
SP2 Digitmap = (1xxxxxxxxxx|011xx.)
azrobert:
Forgot the parens.
If you don't believe me:
set sp1 digit map to (xxxxxxxxxx|1xxxxxxxxxx)
set sp2 digit map to (xxxx)
I bet it will still work.
YongChen:
Quote from: azrobert on January 14, 2013, 09:35:06 am
Did you try my suggestions and did it work?
Hi azrobert, here are the results of your suggestions (without changing any digitmaps):
Quote from: azrobert on January 14, 2013, 07:42:19 am
Change {(1xxxxxxxxxx):sp2} to {(xxxxxxxxxx):sp1}.
Result 1:
Dial xxx-xxx-xxxx, goes to SP1, working.
Dial 1-xxx-xxx-xxxx, goes to SP1, not working.
Quote from: azrobert on January 14, 2013, 08:04:54 am
Add {(xxxxxxxxxx):sp1}, before {(1xxxxxxxxxx):sp2}.
Result 2:
Dial xxx-xxx-xxxx, goes to SP2, not working.
Dial 1-xxx-xxx-xxxx, goes to SP2, working.
Quote from: azrobert on January 14, 2013, 08:04:54 am
Add {(<1>xxxxxxxxxx):sp1}, before {(1xxxxxxxxxx):sp2}.
Result 3:
Dial xxx-xxx-xxxx, goes to SP2, not working.
Dial 1-xxx-xxx-xxxx, goes to SP2, working.
The results show that you were right about the (SP1) digit map adds a prefix "1" before pass the number to the route.
Now the question is, how to let xxx-xxx-xxxx go to SP1 and 1-xxx-xxx-xxxx go to SP2, if I still want add prefix "1" to xxx-xxx-xxxx when using SP1? I mean, dial xxx-xxx-xxxx, but send 1-xxx-xxx-xxxx to SP1; dial and send 1-xxx-xxx-xxxx to SP2.
Navigation
[0] Message Index
[#] Next page
[*] Previous page