[newbie] Pls help with dialplan
dani:
Hi all
Just got my obi 10 mins ago, and so far I have GV on SP1 and voip.ms in SP2.
Was able to make calls out through PSTN, SP1 and SP2, using the **1 and **@ prefixes.
Now I'd like to automate the line selection, but no sure how to setp the dialplan.
My goal is as follows:
- any number from 3 to 10 digits, and any toll free -> PSTN (since local nrs are free)
- any number 11 digits long -> GV @SP1 (since north-american nrs are free)
- any overseas number (starting with 011 or longer than 11 digits) -> voip.ms @SP2
I'd appreciate any assistance in converting that to a dialplan string.
Also.. am I missing anything in this plan?
Much thanks!
D
RonR:
Physical Interfaces -> PHONE Port -> PrimaryLine : PSTN Line
Physical Interfaces -> LINE Port -> DigitMap:
([2-9]11S0|[2-9]xxxxxx|[2-9]xxxxxxxxx|<**1>1xxxxxxxxxx|<**2>011xx.)
[2-9]11 -> LINE Port
7/10 digits -> LINE Port
11 digits -> SP1 Service
011+ -> SP2 Service
dani:
Thanks for your help.
How would that handle toll free calls (800/888/866,etc)?
If going by digits they would go to SP1, if I understand that correctly. I'd prefer the PSTN to handle those.
Also, the DigitMap that was there by default when I got the Obi has a lot of other things. don't I need any of these: ?
(
[1-9]x?*(Mpli)
|
[1-9]S9|[1-9][0-9]S9
|
911
|
**0
|
***
|
#
|
**1(Msp1)
|
**2(Msp2)
|
**8(Mli)
|
**9(Mpp)
|
(Mpli)
)
I split it vertically to try to understand it better.
Cheers
Dani
RonR:
Quote from: dani on April 09, 2012, 07:37:33 pm
How would that handle toll free calls (800/888/866,etc)?
If going by digits they would go to SP1, if I understand that correctly. I'd prefer the PSTN to handle those.
The DigitMap I described is the LINE Port DigitMap and the PrimaryLine is PSTN Line (LINE Port).
Therefore, the default is to use the LINE Port. The only patterns that get redirected from the LINE Port are 11-digit numbers (to SP1) and 011+ numbers (to SP2).
To send tollfree numbers to SP1, you would need to dial **1 + 8005551212.
Quote from: dani on April 09, 2012, 07:37:33 pm
Also, the DigitMap that was there by default when I got the Obi has a lot of other things. don't I need any of these: ?
You don't make any changes to the default PHONE Port DigitMap. The only changes are to the LINE Port DigitMap.
dani:
Sorry, I'm still a bit confused:
The phone co instructions here are to dial the 1 in front of toll-free numbers, so they become 11 digits. Wouldn't then be redirected to SP1 then?
If so, (and if I've been understanding correctly) the portion of the string to redirect to SP1 would't be:
" |<**1>1[2-79]xxxxxxxxx| "?
I got the other point, I was mixing PORT and LINE.
Much thanks for your assistance.
Navigation
[0] Message Index
[#] Next page