View Single Post

  #3 (permalink)  
Old 05-09-2006, 23:13
Mr E Mann
Guest
 
Posts: n/a
Default Re: SPA3000 Dial Plan Help

"PhilT" <newsnet@gmail.com> wrote in message
news:1157452453.269472.312520@d34g2000cwd.googlegroups.com...[color=blue]
> Mr E Mann wrote:
>[color=green]
>> Now this is where I want to try to play clever
>>
>> I want to use a gateway when I prefix the call with, for example, #1...
>> which will also need to send the international number format
>>
>> Therefore, my local numbers will become #1 234567 and national numbers
>> will
>> be #1 01111 234567
>>
>> Is this possible?
>> Will adding this work:
>>
>> <#1[2-8]:0044[2-8]>xxxxx<:@gw1> | <#10[1278]:0044[1278]xxxxxxxxx<:@gw1>
>>[/color]
>
> syntax error ? missing > in the second part.
>
> also the bit on the left is missing the 1933 after the 0044
>
> should you also cater for numbers that have fewer digits ?
>
> Phil
>[/color]
Hi Phil

Many thanks for the response! Yes, I am missing a > in the second part, and
the area code is also missing. How do I cater for fewer digits? I guess
there is a trick to it!

Anyway, I have been delving, and have the following dial plan crafted which
I think will do what I need (about to upload it and see)... is there a more
graceful way of writing it (and also, how do I allow for shorter numbers in
this one?)

(*xx|
I think this is to do with handset/provider commands

<:14101933>[2-8]xxxxxS0|
If I dial a local number (starts with a 2 through to 8) prefix it with 141
and the area code (01933)

00[1-9]x.|
If I dial international, dial the number without any changes

090x!|
Bar those pesky 090x chatlines (no more chat n flirt for me!)

<01:14101>xxxxxxxxxS0|
<02:14102>xxxxxxxxxS0|
<05:14105>xxxxxxxxxS0|
<07:14107>xxxxxxxxxS0|
<08:14108>xxxxxxxxxS0|
Dialing national, freephone, lo-call and mobiles will prefix the number with
141

Then we move onto the gateway side...
<#1:00441933>[2-8]xxxxx<:@gw1>|
Dialling #1 then a local number (starts 2-9), prefix 0044, the area code
(01933) and sends it to gateway1

<#101:00441>xxxxxx<:@gw1>|
<#102:00442>xxxxxx<:@gw1>|
<#105:00445>xxxxxx<:@gw1>|
<#107:00447>xxxxxx<:@gw1>|
Dialling #1 before national, freephone, lo-call and mobiles prefixes 0044
and sends it to gateway1

<#1:>00[1-9]x.<:@gw1>)
Dialing #1 and an international number sends it to gateway1


....any way to improve it?

Many thanks

Simon


Reply With Quote