News:

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

Main Menu

Help with configuring my OBi202 similar to the old Cisco SPA3102

Started by Viva-La-VoIP, February 21, 2018, 02:00:08 PM

Previous topic - Next topic

Viva-La-VoIP

Hi All,

I'm new to the Obihai scene and would like some help in setting my OBi202 correctly. I previously owned a Cisco SPA3102 which finally went pop after 5+ years of use and heard great praise on the OBi boxes over the next Cisco successor (Cisco SPA122). I would like to mimic the "Cisco's Dial Plan" on to the OBi202 but not succeeding. Originally on the Cisco I had one main registered SIP account (Sipgate UK) for both incoming and outgoing calls with a Gateway setup (LocalPhone UK) for only certain outgoing calls and no PSTN line. All emergency calls are handled by Sipgate UK. Both SIP accounts are registered on my OBi202 and working if I use them individually using the default OBi DigitMaps/Outbound Call Route.

I have included my old Cisco's Dial Plan below which handles all outgoing calls without the use of any dialing prefixes before calling the desired number:-

Default SIP Line = Sipgate UK
<:@GW1> = LocalPhone UK

Cisco Dial Plan
(999S0|101S0|111S0|112S0|<:01443>[2-8]xxxxxS0<:@GW1>|02920xxxxxxS0|084[45]x.|087[01]x.|076[59]9xxxxxxS0|0[12378]x.<:@GW1>|xx.)

I have attempted to convert it to the OBi way but would like an expert to fine tune the configuration:-

Service Providers > ITSP Profile A > General > DigitMap
(999S0|101S0|111S0|112S0|02920xxxxxxS0|084[45]x.|087[01]x.|076[59]9xxxxxxS0)

Service Providers > ITSP Profile B > General > DigitMap
(<:01443>[2-8]xxxxxS0|0[12378]x.)

Physical Interfaces > Phone1 Port > DigitMap
((Msp1)|(Msp2)|(Mpli))

Physical Interfaces > Phone1 Port > Outbound Call Route
{(999|101|111|112|02920xxxxxx|084[45]x.|087[01]x.|076[59]9xxxxxx):SP1},{(<:01443>[2-8]xxxxx|0[12378]x.):SP2},{(xx.):SP1} or
{(Msp1):SP1},{(Msp2):SP2},{(Mpli):pli}

Does the Mpli at the end use the Primary Line as default for outbound calls if a dialed number is not matched to SP1 or SP2? (I want xx. to be at the end for a catch-all using the default SIP line)

I'm trying to make it user friendly for all the family to pick up and dial the desired number without any prefixes needed.

Many thanks in advanced.
Viva-La-VoIP

azrobert

(Mpli) points to the Primary Line's digit map and pli points to the Primary Line, so {(Mpli):pli} is equivalent to {(Msp1):sp1}. The primary line is set under Phone1 Port.

Routing an outbound call is a 2 step process. The phone digit map validates the dialed number then the outbound route routes the call to a trunk. If you alter a number in the phone digit map, the outbound route will see the modified number. I removed adding 01443 from the phone digit map, so you will get a match in the outbound route. The colon is optional when only adding digits.

Service Providers > ITSP Profile A > General > DigitMap
(999S0|101S0|111S0|112S0|02920xxxxxxS0|084[45]x.S3|087[01]x.S3|076[59]9xxxxxxS0)

Service Providers > ITSP Profile B > General > DigitMap
(<01443>[2-8]xxxxx|0[12378]x.)

Physical Interfaces > Phone1 Port > DigitMap
((Msp1)|[2-8]xxxxxS0|0[12378]x.S3|xx.S3)

Physical Interfaces > Phone1 Port > Outbound Call Route
{(Msp1):SP1},{(Msp2):SP2},{(xx.):sp1}

Edit:
I added xx. to the phone digit map. When a rule ends with x. there will be a 10 second delay, so I added S3. Alternately, you can globally change the Long Timer under Phone1 Port.

Viva-La-VoIP

Thank you azrobert for the rapid response! I'll keep you posted once I've fully tested your recommended configuration.  ;D

Viva-La-VoIP

Thanks again azrobert for the recommended configuration settings. I have now changed the DigitMapLongTimer to 1 as it suits best for me since I have a DECT phone connected to the OBi thus using the new configurations with 100% success:-

Service Providers > ITSP Profile A > General > DigitMap
(999S0|101S0|111S0|112S0|02920xxxxxxS0|084[45]x.|087[01]x.|076[59]9xxxxxxS0)

Service Providers > ITSP Profile B > General > DigitMap
(<01443>[2-8]xxxxx|0[12378]x.)

Physical Interfaces > Phone1 Port > DigitMap
((Msp1)|(Msp2)|xx.)

Physical Interfaces > Phone1 Port > Outbound Call Route
{(Msp1):SP1},{(Msp2):SP2},{(xx.):SP1}

NB: For any ex-Cisco SPAxxxx users migrating over to OBi, I have attached valuable information that gave me the understanding of converting the old Dial Plan to the new DigitMap with great help from azrobert to fine tune the configuration.  ;D

azrobert

I see you ignored my bad advice. "<01443>[2-8]xxxxx" adds a prefix when processed by the phone digit map and  "0[12378]x." matches the transformed number when processed by the outbound route, so you don't have to break things up as I recommended. Maybe you should be giving advice on the forum.