News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

Forcing local numbers out over SIP provider

Started by Gavo, June 21, 2011, 01:57:02 PM

Previous topic - Next topic

Gavo

Hello,

When I dial any UK number using the full area code and number I can get my Obi110 to route over my SP2 provider using the line digitmap below :-

(<0:**201144>[1-7]xxxxxxxxxS0|00353[1-7]xx.|<00:**2>1xx.|<00:**200>xx.|<**4>0844xxxxxxxS0|<**1>10200S0|!09xx.|xxxxxxxS4|xx.)

e.g. anything starting 01,02 to 07 goes via **2 and has it's first zero removed and 01144 added (SP2 in the US).

I want to make things a bit more refined so as to catch local numbers as well within my area code of 028.
I tried to achieve this by using :-

<0:**20114428>[2-9]xxxxxxxxxS0           so as to send any local numbers dialled 2 through to 9 via SP2 and adding 0114428 to it.

Something is overriding this as it just goes over my Primary Line (PSTN) all the time.

Any ideas ?


RonR

You've got overlap and ambiguity between rules:

<0:**20114428>[2-9]xxxxxxxxxS0 and <0:**201144>[1-7]xxxxxxxxxS0 both match [2-7]xxxxxxxxx cases but prescribe conflicting actions.

<0:**20114428>[2-9]xxxxxxxxxS0 and !09xx. both match 09xx. cases but prescribe coflicting actions (09xx. cases will probably win because they're more specific).

<0:**20114428>[2-9]xxxxxxxxxS0 and <**4>0844xxxxxxxS0 both match 0844xxxxxxx cases but prescribe coflicting actions (0844xxxxxxx cases will win because they're more specific).

Anything that doesn't match a specific rule is going out the LINE Port anyway due to xx.