OBiTALK Community

General Support => New to Using the OBi / VoIP => Topic started by: Blake4913 on June 20, 2016, 05:39:22 PM

Title: SIP Phone routing and digit map
Post by: Blake4913 on June 20, 2016, 05:39:22 PM
I have an Obi200 with GV (SP1) and Anveo 911 (SP2).  All works great including 7 digit dialing from the physical phone jack. I have a Cisco SPA514G tied to SP3 and it works great with calls to/from GV.  I am having trouble getting the ability to dial from the Cisco SIP phone to Anveo (911/933) and 7 digit dialing to work.  I am looking for guidance on what/where is routing the SIP phone calls in SP3 and how/where the digit map is applied.  I have tried putting various rules in the inbound call route of SP3 with no success (i.e.: {911:sp2},{933:sp2},{sp1} or with user id included) without success.  I have looked at call history and see From SP4(1002) To GT1(933) but the call does not connect.  I get the automated - "we could not complete your call, please try again".  Same results with 7 digit dialing from the Cisco phone.  If I use 10 digits it works fine.  Any help on how routing and digit map work would be much appreciated.
Title: Re: SIP Phone routing and digit map
Post by: azrobert on June 20, 2016, 09:55:07 PM
The format for the rule when you don't specify userid is: {>911:sp2}
You can check for both 911 and 933 like this: {>911|933:sp2}
Assuming you have the 7 digit rule in the SP1 DigitMap and nothing else that will screw up things, code it like this:
{1002>911|933:sp2},{1002>(Msp1):sp1}

Or you can do this:
{1002>911|933:sp2},{1002>(1xxxxxxxxxx|<1aaa>xxxxxxx):sp1}

You said:
"I have looked at call history and see From SP4(1002) To GT1(933)"

This indicates the call is coming in on SP4, not SP3.
Do you have a rule in SP4 that bridges all calls to SP1?
Title: Re: SIP Phone routing and digit map
Post by: Blake4913 on June 21, 2016, 04:52:17 AM
azrobert -  Thank you so much.  Works great.  I have been beating my head against the wall for days trying to get this to work.  I have multiple sip phones one on each sp3,4 for this particular line/service - i did the test on 4.  And I guess since I had the sp1 route (from sp3&4) incorrect text it would not pass the digits correctly - now 7 digit dialing also works.  I wonder how it worked at all before?  Thanks again - much appreciated!!!