News:

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

Main Menu

Obi202 Google Voice Gateway Cisco 7941

Started by McKayCR, July 21, 2018, 11:06:36 AM

Previous topic - Next topic

McKayCR

Hey all,

I'm trying to configure my Obi202 as a SIP gateway using my google voice.  I had this working about a year ago, but then made a change to the DHCP on my network, and broke everything.  I can't figure out how to walk back the changes so I'm starting from scratch.

I used this guide:
https://www.ukvoipforums.com/download/file.php?id=760

But once the Obi202 is configured, I can't get anything to register to it.  I tried Xlite as a quick verification that I could register and make a call, but not even that worked.

I also connected my Cisco 7941, but it just keeps saying registering. This is the config I used for my phone.
<device>
   <deviceProtocol>SIP</deviceProtocol>
   <devicePool>
      <dateTimeSetting>
         <dateTemplate>D/M/Y</dateTemplate>
         <timeZone>Pacific Standard/Daylight Time</timeZone>
         <ntps>
            <ntp priority="0">
               <name>192.168.0.40</name>
               <ntpMode>directedbroadcast</ntpMode>
            </ntp>
         </ntps>
      </dateTimeSetting>
      <callManagerGroup>
         <members>
            <member priority="0">
               <callManager>
                  <ports>
                     <sipPort>5063</sipPort>
                  </ports>
                  <processNodeName>192.168.0.150</processNodeName>
               </callManager>
            </member>
         </members>
      </callManagerGroup>
   </devicePool>
   <sipProfile>
      <sipProxies>
         <outboundProxy>192.168.0.150</outboundProxy>
         <outboundProxyPort>5063</outboundProxyPort>
         <registerWithProxy>true</registerWithProxy>
      </sipProxies>
      <sipLines>
         <line button="1" lineIndex="1">
            <featureID>9</featureID>
            <featureLabel></featureLabel>
            <proxy>USECALLMANAGER</proxy>
            <port>5063</port>
            <name>1001</name>
            <displayName></displayName>
            <autoAnswer>
               <autoAnswerEnabled>2</autoAnswerEnabled>
            </autoAnswer>
            <callWaiting>1</callWaiting>
            <authName>1001</authName>
            <authPassword>1001</authPassword>
            <sharedLine>false</sharedLine>
            <messagesNumber>*97</messagesNumber>
            <ringSettingActive>5</ringSettingActive>
            <forwardCallInfoDisplay>
               <callerName>true</callerName>
               <callerNumber>true</callerNumber>
               <redirectedNumber>true</redirectedNumber>
               <dialedNumber>true</dialedNumber>
            </forwardCallInfoDisplay>
         </line>
      </sipLines>
      <enableVad>true</enableVad>
      <preferredCodec>g711ulaw</preferredCodec>
      <dialTemplate>dialplan.xml</dialTemplate>
      <kpml>1</kpml>
      <phoneLabel></phoneLabel>
      <stutterMsgWaiting>3</stutterMsgWaiting>
      <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
      <dscpForAudio>184</dscpForAudio>
      <dscpVideo>136</dscpVideo>
      <sipStack>
         <sipInviteRetx>6</sipInviteRetx>
         <sipRetx>10</sipRetx>
         <timerInviteExpires>180</timerInviteExpires>
         <timerRegisterExpires>60</timerRegisterExpires>
         <timerRegisterDelta>5</timerRegisterDelta>
         <timerKeepAliveExpires>120</timerKeepAliveExpires>
         <timerSubscribeExpires>120</timerSubscribeExpires>
         <timerSubscribeDelta>5</timerSubscribeDelta>
         <timerT1>500</timerT1>
         <timerT2>4000</timerT2>
         <maxRedirects>70</maxRedirects>
         <remotePartyID>false</remotePartyID>
         <userInfo>None</userInfo>
      </sipStack>
   </sipProfile>
   <commonProfile>
      <phonePassword></phonePassword>
      <callLogBlfEnabled>2</callLogBlfEnabled>
   </commonProfile>
   <featurePolicyFile>featurePolicyDefault.xml</featurePolicyFile>
   <loadInformation>SIP41.8-3-5S</loadInformation>
   <vendorConfig>
      <disableSpeaker>false</disableSpeaker>
      <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
      <pcPort>0</pcPort>
      <settingsAccess>1</settingsAccess>
      <garp>0</garp>
      <voiceVlanAccess>1</voiceVlanAccess>
      <videoCapability>1</videoCapability>
      <autoSelectLineEnable>1</autoSelectLineEnable>
      <sshAccess>0</sshAccess>
      <sshPort>22</sshPort>
      <webAccess>0</webAccess>
      <spanToPCPort>1</spanToPCPort>
      <loggingDisplay>1</loggingDisplay>
      <loadServer></loadServer>
      <daysDisplayNotActive></daysDisplayNotActive>
      <displayOnTime>00:00</displayOnTime>
      <displayOnDuration>00:01</displayOnDuration>
      <displayIdleTimeout>00:01</displayIdleTimeout>
   </vendorConfig>
   <commonConfig>
      <videoCapability>1</videoCapability>
      <ciscoCamera>1</ciscoCamera>
   </commonConfig>
   <sshUserId>user</sshUserId>
   <sshPassword>password</sshPassword>
   <servicesURL></servicesURL>
</device>


I have been all over this forum and seen many attempts to do the same, and I have tried them all, none work.

Any thoughts?

drgeoff

Recent firmwares have broken the ability of the 202 to have some phones register to it.

Look for posts on this forum on the subject by azrobert.

McKayCR

Quote from: drgeoff on July 21, 2018, 11:27:02 AM
Recent firmwares have broken the ability of the 202 to have some phones register to it.

Look for posts on this forum on the subject by azrobert.

So we should be able to roll that back to a previous version right?  Disable the auto updating and restore services

azrobert

Quote from: McKayCR on July 21, 2018, 11:46:47 AM
So we should be able to roll that back to a previous version right? 

Wrong! Polycom added a digital signature to the firmware, preventing loading older fw.

The fix is to change your phone to call without registration and remove the Proxy function from the OBi202.

Voice Services -> SPx Service -> X_Proxy: unchecked

McKayCR

Amazing, I new it was something small, ok, so I have it connected... I think.  I can't send or receive phone calls yet, my EXT1 has a big X on it.  I'll run through all the configs again and see what I have messed up.

azrobert

You can't use the following to route inbound to the phone. This can only be used when the phone is registered to the OBi202.
spx(auth_name@local_client)

You have to send the call to the IP address and port of the phone like this:
spx(auth_name@192.168.1.100:5060)

McKayCR

Quote from: azrobert on July 21, 2018, 09:41:17 PM
You can't use the following to route inbound to the phone. This can only be used when the phone is registered to the OBi202.
spx(auth_name@local_client)

You have to send the call to the IP address and port of the phone like this:
spx(auth_name@192.168.1.100:5060)


I'm using the flat network configuration.  according to the directions, I 'm supposed to use these routes

SP1 Service>X_InboundCallRoute: {ph,ph2,sp4(1001)}
SP4 Service>X_InboundCallRoute: {1001>(Msp1):SP1}

Can you tell me how I'd adjust these based on your input above?

azrobert

Both should work, but I don't think you are getting the correct CallerID on the IP Phone. This will correct it.

SP1 Service>X_InboundCallRoute: 
ph,ph2,sp4(1001@xx.xx.xx.xx:pppp)

ITSP D SIP >X_SpoofCallerID: Checked

Replace xx.xx.xx.xx:pppp with the IP address and port of the IP phone.
This should be the same as the ITSP D SIP -> ProxyServer and ProxyServerPort

McKayCR

Quote from: azrobert on July 22, 2018, 09:59:02 AM
Both should work, but I don't think you are getting the correct CallerID on the IP Phone. This will correct it.

SP1 Service>X_InboundCallRoute: 
ph,ph2,sp4(1001@xx.xx.xx.xx:pppp)

ITSP D SIP >X_SpoofCallerID: Checked

Replace xx.xx.xx.xx:pppp with the IP address and port of the IP phone.
This should be the same as the ITSP D SIP -> ProxyServer and ProxyServerPort


Thanks a lot for your help.  I'm still stuck though.  I have the ext 1001 on the phone with an X through it.  I have a dial tone but as soon as I dial any number I get a busy signal. 

azrobert

Maybe your phone doesn't like being unregistered. Do you change this?
<registerWithProxy>true</registerWithProxy>

McKayCR

I did change it to false, thats the best result I get.  If its set to true then the phone just keeps trying to register.  I'm also trying to test with XLite with no success as well.  If I got Xlite to work, I'd know it was an issue with the phone config.

azrobert

Try Phonerlite on a PC

Download and install Phonerlite:
http://www.phoner.de/PhonerLiteSetup.exe
When you start Phonerlite I think a wizard will popup because no accounts are defined.
Proxy: 192.168.1.100:5083      (IP addr & Port of SP4 on the OBi202)
Click right arrow.
User Name: 1001
Click right arrow.
Change Profile Name: OBi202
Click check mark
Uncheck box next to Register
Save

Dial a number and click the green phone symbol.
You can use the keyboard to dial a number.
Click red phone symbol to hang up.

McKayCR

#12
Just for fun, I scanned the obi202 for open ports, specifically 5060 and 5063.  I go nothing.  This is all inside my LAN, so I'm not going through any firewalls that would block me.  Could there be a setting on the Obi202 stopping traffic to 5063, the port I'm trying to use as my ProxyServerPort?

PhonerLite says Request Timeout, which is what prompted me to check the ports

azrobert

#13
Are you doing anything to block SIP Scanners?
Like:
SP4 Service -> X_AcceptSipFromRegistrarOnly: checked

Edit:
This shouldn't prevent inbound GV from working.

McKayCR

Quote from: azrobert on July 22, 2018, 11:24:12 AM
Are you doing anything to block SIP Scanners?
Like:
SP4 Service -> X_AcceptSipFromRegistrarOnly: checked

No sir.

azrobert

All I can suggest is check the IP address and port of the OBi202. The new GV setup changes the X_UserAgentPort to 5080-3

I won't be around for a few hours starting now.

McKayCR

Quote from: azrobert on July 22, 2018, 11:33:51 AM
All I can suggest is check the IP address and port of the OBi202. The new GV setup changes the X_UserAgentPort to 5080-3

I won't be around for a few hours starting now.

Thanks, I'll probably call it quits until tomorrow.  So the X_UserAgentPort for SP1 is 5080.  But I thought that didn't matter.  According to the documentation everything I'm doing hinges on the ports I use in ITSP Profile D>ProxyServerPort which I have set to 5063.

Even 5080 and 5083 when scanned shows closed on the Obi202.  I know its the right IP because I can connect to it via port 80 and see the Polycom UI.

Tomorrow, I'll reset and start from scratch.  It's something simple I'm sure.

RFC3261

Quote from: McKayCR on July 22, 2018, 11:13:34 AM
Just for fun, I scanned the obi202 for open ports, specifically 5060 and 5063.  I go nothing.  This is all inside my LAN, so I'm not going through any firewalls that would block me.  Could there be a setting on the Obi202 stopping traffic to 5063, the port I'm trying to use as my ProxyServerPort?
The Obi202 can act either as a bridge, or a router.  If you are running the OBi202 in router mode I would expect the ports that you configure as a proxy to be shown as filtered on the LAN side.

In any case, for a Cisco SIP phone, you may need something like the following:

<Make_Call_Without_Reg_1_>Yes</Make_Call_Without_Reg_1_>
<Ans_Call_Without_Reg_1_>Yes</Ans_Call_Without_Reg_1_>

(taken from a different device configuration, so it is likely some adjustment will be needed)

McKayCR

#18
So I started over today, even deleted the device from my account and added it again.  I noticed something I haven't noticed before.  I don't know if this is related.  But after the initial setup, I can make calls from the analog line.  But as soon as I implement the expert configs for enabling my cisco ip phone, I notice that my analog phone loses the ability to dial out.  I get a message that the number isn't being sent to the service provider.  I haven't narrowed down which setting breaks things, but I'm gonna keep at it.

UPDATE:  After several retries, I have it working. Thanks for the help, I couldn't have done it otherwise