News:

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

Main Menu

Outbound call routes with OBI202

Started by Gavo, October 13, 2013, 03:44:09 PM

Previous topic - Next topic

Gavo

Hello,

Trying to get my head around the 202. Set up 110's no problem but having bother trying to route calls over SP2 (SP1 is the default, a UK SIP provider).

I need to route all calls starting "00"  (i.e. international - from the UK) over SP2, furthermore as they are being routed over Voxbeam (and I want to use their "direct" route) I need to prefix calls with "0011102" - so if I dial the Republic of Ireland e.g. 0035312345678 , the OBI202 will route over SP2 the number 001110235312345678   

Any pointers gratefully received.

Regards

Gavin

Gavo

A night's sleep and things are nearly there....

Have two providers attached to the OBI202, first provider - SP1 (primary line) Surevoip (UK based) for all calls starting 03,05 and 08 - also for emergency calls - 999 & 112.
Second provider SP2 is for Voxbeam - this is for all UK landline and mobile calls as well as all international calls. This is using their direct route prefix of 0011102.

The routes & digit maps are as below. However I can't seem to get the dialling to happen immediately - as though the default 10 second timeout is still there but I cannot see why ??


Phone Port Outbound Call Route (Both phones) - Assuming Surevoip is default route - SP1

{([1-9]x?*(Mpli)):pp},{(<0:001110244>7xxxxxxxxx|<00111024428>[2-9]xxxxxxx|<0:001110244>[1-2]xxxxxxxxx|<00:0011102>xx.):sp2},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}


ITSP A General Digit Map (Surevoip)- default route - SP1

(999S0|112S0|0[358]xx.|!09xx.|!118xx.|xxxxxxxS4|xx.)


ITSP B General Digit Map (Voxbeam)- SP2

(0[127]xxxxxxxxxS0|!09xx.|!118xx.|xxxxxxxS4|xx.)



Any help would be most appreciated. I know I could cheat by reducing the "DigitMapLongTimer" but I'd rather just get it right.


Cheers

Gavin

ianobi

Your config is a tad unconventional. If you asked me for directions from here, then I would be tempted to say "well I would not have started from here"   :D

sp1 is your Primary Line, so any number you dial with no ** codes will be first processed there. This means that if you dial 01234567890 it will be processed by the only rule in Msp1 that can match it "xx." This is where your ten second delay is coming from. After the ten second delay your Phone Port OutboundCallRoute will route it correctly. If you remove xx. from Msp1, then lots of numbers will stop working.

Long term I would reconfigure in a conventional modular way - I bore users to death with this view. If you leave the Phone Port DigitMap and OutboundCallRoutes both more or less at default values, they will do all the work for you. I will now get off my high horse  :)

Short term you might consider making both Primary Lines SP2 Service. Take 999/112 out of the sp1 digitmap and put them in both Phone Port OutboundCallRotes - {(999|112):sp1}, ...  I'm assuming that you have 999|112 in the Phone Port DigitMap as individual numbers.

Then put 00xx.S4 in sp2 DigitMap to allow for variable length international numbers. The S4 will limit the delay to four seconds.

I'm tempted to say get rid of both xx. rules as they do match anything and so confuse things when testing any config. If you do that, then you have to be sure that your digit maps match any number you may dial.








Gavo

Thanks Ianobi.

I guess I just needed to get the call-flow sequence sorted in my head to understand this. The dialling is spot on now.

This does lead onto another question but I'll start another thread as that involves OBI110's and I'll only confuse myself !

Cheers

Gavin