[newbie] Pls help with dialplan

<< < (2/2)

RonR:
Quote from: dani on April 09, 2012, 08:08:48 pm

The phone co instructions here are to dial the 1 in front of toll-free numbers, so they become 11 digits.

You asked for 10-digit numbers and tollfree numbers to be sent to the LINE Port.  You didn't specify that tollfree numbers need to be extended to 11 digits:

Quote from: dani on April 09, 2012, 02:47:15 pm

My goal is as follows:

 - any number from 3 to 10 digits, and any toll free -> PSTN  (since local nrs are free)


Try this:


Physical Interfaces -> PHONE Port -> PrimaryLine : PSTN Line

Physical Interfaces -> LINE Port -> DigitMap:

([2-9]11S0|[2-9]xxxxxx|[2-9]xxxxxxxxx|18(00|88|77|66|55)xxxxxxx|<1>8(00|88|77|66|55)xxxxxxx|
<**1>1xxxxxxxxxx|<**2>011xx.)



    [2-9]11  ->  LINE Port
7/10 digits  ->  LINE Port
     Tollfree  ->  LINE Port (1 added if necessary)
   11 digits  ->  SP1 Service
       011+  ->  SP2 Service

dani:
sorry I wasn't clear.

Much thanks for your help.

Cheers!

Dani

Navigation

[0] Message Index

[*] Previous page