News:

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

Main Menu

Obi 202 + IP Phone and Google Voice

Started by Banzai51, October 21, 2014, 08:17:41 AM

Previous topic - Next topic

Banzai51

Hello everyone,

   I want to connect an IP phone through the OBI202 to use it (for now) with Google Voice. I found these directions: http://blog.obihai.com/2012/08/use-your-obi202-as-google-voice-gateway.html and so far, GV is working fine (make and receive) on POTS line (phone 1 on the Obi), but my IP phone can receive calls, but it cannot make calls. When I try to make a call on my IP Phone, I get a busy signal and the phone says, "NO RESPONSE."

  Talked to support and we tried a few things including a factory reset of the Obi and IP Phone.

  I have a Grandstream GXP2140, and the only phone setting giving me pause is:

SIP/Send Resp To Src Port = yes

I'm not exactly sure what that is on the Grandstream. It doesn't have a setting with that terminology. Anyone know what the Grandstream setting would be? Anyone have a similar issue with using an IP Phone with an Obi?

Summery: POTS phone works fine with Obi and GV. IP Phone can receive but not make calls with the Obi and GV.


Banzai51

Same end result, but now I can use my IP phone on my network rather than plugged into the Obi202. Step in the right direction.

Can receive calls, but cannot place calls with the IP phone.

azrobert

Did the IP Phone register to the OBi202?

Temporarily make this change to see if the call is getting to the OBi202.
Voice Services -> SP4 Service -> X_InboundCallRoute: ph

Try another call.
Does the OBi202 Phone port ring?

If yes, look at the OBi202 call history.
Log directly into the OBi using the local interface.
Key the IP address of the OBi into a Web Browser.
Hit Enter
The UserID and default Password are both "admin".
Click Status on the left column.
Then click Call History.

It will show something like this: From SP4(xxxxxxxxx)
What is xxxxxxxx?


Banzai51

#4
Ok, checking the log...I don't see any outgoing. All incoming.

Plug the POTS phone into phone 1 jack, make a call successfully. Log now shows that call.

Call 1
From PH1     To GT1(phonenumber)...

The rest of the calls (incoming) show:
From GT1(phonenumber)   To SP2(Njoror@192.168.1.21:5060)

Config:

SP1 Service (Google Voice), X_InboundCallRoute: {SP2(Njoror@192.168.1.21:5060;ui=$1)},{ph}

SP2 Service (proxy for IP phone), X_InboundCallRoute:    {1001>(Msp1):sp1},{ph}

With 1001 being the AuthUserName configured on the SP2 service and the IP Phone.

azrobert

Again, did the IP Phone register to the OBi202?

In OBi Expert click Status then System Status.
Under SP2 Service Status if the phone registered it should look something like this:
"Registration Not Required;local_client=192.168.1.21:5060"

If you changed SP2 Service X_InboundCallRoute to "ph" and nothing shows in the Call History then the call is not getting to the OBi202. This configuration works for me, so I don't know what's wrong.

The following has nothing to do with your problem:
QuoteSP1 Service (Google Voice), X_InboundCallRoute: {SP2(Njoror@192.168.1.21:5060;ui=$1)},{ph}
I think the SP1 Inbound route should be:
{SP2(Njoror@192.168.1.21:5060;ui=$1),ph}

Processing move left to right and stops when the call is routed.
The way you had it only the IP Phone will ring.
Rule {ph} will never get executed.


Banzai51

#6
Sorry about that, forgot to answer the status question.

SP2 shows: Registration Not Required;local_client=192.168.1.21:5060

I'll change my inbound brackets, thanks!

Changing the brackets doesn't seem to help.

So it's registered to the Obi, but outbound calls don't seem to hit it.



And thanks for taking the time to help me out!

Banzai51


azrobert

Make this change:
Voice Services -> SP2 Service -> X_InboundCallRoute: ph

Place a call using the IP Phone.
Does the phone connected to Phone Port#1 on the OBi202 ring?



NoelB

Quote from: Banzai51 on October 29, 2014, 06:53:59 AM
Anyone else have any ideas to try?

Download the obi syslog to your desktop then Enable the SipDebugOption on sp4 and put the ip addr of your pc in Device Admin syslog server.Then click on the syslog download icon and a log window will appear.
Then make a call and examine the syslog .
Look for RxFrom xxxxxxxx:5060 -- Hex of your iphone IP
INVITE sip etc
This will look a bit complicated but just look at the hdgs and check that an INVITE has been sent and if it has been accepted or cancelled by your obi.
My IBCR is {obi>(Mall):sp2} where obi is the iphone username. Make sure the digits you are dialing are passed by your Msp1 and that both the phone and obi have 711u as first priority.

Banzai51

Ok, I gave up on this project for awhile because my switch shorted out on me and I just got around to replacing it.

Found the issue. From the Obihai directions, they had me set:

ITSP Profile B/SIP/ProxyServer = 127.0.0.1

But over at Voxilla, they said to set that to:

ITSP Profile B/SIP/ProxyServer = (IP of your phone)
ITSP Profile B/SIP/ProxyServerPort = (Port you setup to use on the phone)


Once I made those changes, my IP phone could call out without an issue. Thanks to everyone that lent a hand with suggestions. It has been a learning experience.

Next step, setup my IP phone with a VoIP service in addition to the Obi.