cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4307
Views
5
Helpful
10
Replies

7945 SIP not registering

kmerentitis
Level 1
Level 1

Phone is flashed with latest SIP firmware.

XMLDefault.cnf.xml and SEP2C31246EFD99.cnf.xml are successfully read by the phone, 

The phone seems to get all the settings from the .xml, SIP configuration, Line settings, proxy address, etc.

The problem is that the phone is not even trying to register to the SIP proxy, I verified that using tcpdump, I did not see a single packet coming to port 5060.

Same xml works fine with other phones (7942 for example).

<device>
   <deviceProtocol>SIP</deviceProtocol>
   <sshUserId>cisco</sshUserId>
   <sshPassword>cisco</sshPassword>
   <devicePool>
      <dateTimeSetting>
         <dateTemplate>D/M/Y</dateTemplate>
         <timeZone>E. Europe Standard/Daylight Time</timeZone>
         <ntps>
              <ntp>
                  <name>192.168.29.1/name>
                  <ntpMode>Unicast</ntpMode>
              </ntp>
         </ntps>
      </dateTimeSetting>
      <callManagerGroup>
         <members>
            <member priority="0">
               <callManager>
                  <ports>
                     <ethernetPhonePort>2000</ethernetPhonePort>
                     <sipPort>5060</sipPort>
                     <securedSipPort>5061</securedSipPort>
                  </ports>
                  <processNodeName>192.168.29.134</processNodeName>
               </callManager>
            </member>
         </members>
      </callManagerGroup>
   </devicePool>
   <sipProfile>
      <sipProxies>
         <backupProxy></backupProxy>
         <backupProxyPort></backupProxyPort>
         <emergencyProxy></emergencyProxy>
         <emergencyProxyPort></emergencyProxyPort>
         <outboundProxy></outboundProxy>
         <outboundProxyPort></outboundProxyPort>
         <registerWithProxy>true</registerWithProxy>
      </sipProxies>
      <sipCallFeatures>
         <cnfJoinEnabled>true</cnfJoinEnabled>
         <callForwardURI>x--serviceuri-cfwdall</callForwardURI>
         <callPickupURI>x-cisco-serviceuri-pickup</callPickupURI>
         <callPickupListURI>x-cisco-serviceuri-opickup</callPickupListURI>
         <callPickupGroupURI>x-cisco-serviceuri-gpickup</callPickupGroupURI>
         <meetMeServiceURI>x-cisco-serviceuri-meetme</meetMeServiceURI>
         <abbreviatedDialURI>x-cisco-serviceuri-abbrdial</abbreviatedDialURI>
         <rfc2543Hold>false</rfc2543Hold>
         <callHoldRingback>2</callHoldRingback>
         <localCfwdEnable>true</localCfwdEnable>
         <semiAttendedTransfer>true</semiAttendedTransfer>
         <anonymousCallBlock>2</anonymousCallBlock>
         <callerIdBlocking>2</callerIdBlocking>
         <dndControl>1</dndControl>
         <remoteCcEnable>true</remoteCcEnable>
      </sipCallFeatures>
      <sipStack>
         <sipInviteRetx>6</sipInviteRetx>
         <sipRetx>10</sipRetx>
         <timerInviteExpires>180</timerInviteExpires>
         <timerRegisterExpires>3600</timerRegisterExpires>
         <timerRegisterDelta>5</timerRegisterDelta>
         <timerKeepAliveExpires>120</timerKeepAliveExpires>
         <timerSubscribeExpires>120</timerSubscribeExpires>
         <timerSubscribeDelta>5</timerSubscribeDelta>
         <timerT1>500</timerT1>
         <timerT2>4000</timerT2>
         <maxRedirects>70</maxRedirects>
         <remotePartyID>true</remotePartyID>
         <userInfo>None</userInfo>
      </sipStack>
      <autoAnswerTimer>1</autoAnswerTimer>
      <autoAnswerAltBehavior>false</autoAnswerAltBehavior>
      <autoAnswerOverride>true</autoAnswerOverride>
      <transferOnhookEnabled>false</transferOnhookEnabled>
      <enableVad>false</enableVad>
      <preferredCodec>g711ulaw</preferredCodec>
      <dtmfAvtPayload>101</dtmfAvtPayload>
      <dtmfDbLevel>3</dtmfDbLevel>
      <dtmfOutofBand>avt</dtmfOutofBand>
      <alwaysUsePrimeLine>false</alwaysUsePrimeLine>
      <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
      <kpml>3</kpml>
      <natEnabled>true</natEnabled>
	  <natReceivedProcessing>true</natReceivedProcessing>
      <natAddress></natAddress>
      <phoneLabel>MR</phoneLabel>
      <stutterMsgWaiting>1</stutterMsgWaiting>
      <callStats>true</callStats>
      <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
      <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
      <startMediaPort>16384</startMediaPort>
      <stopMediaPort>32766</stopMediaPort>
      <sipLines>
         <line button="1">
            <featureID>9</featureID>
            <featureLabel>426</featureLabel>
            <proxy>192.168.29.134</proxy>
            <port>5060</port>
            <name>426</name>
            <displayName>426</displayName>
            <autoAnswer>
               <autoAnswerEnabled>2</autoAnswerEnabled>
            </autoAnswer>
            <callWaiting>3</callWaiting>
            <authName>426</authName>
            <authPassword>xxxx</authPassword>
            <sharedLine>false</sharedLine>
            <messageWaitingLampPolicy>1</messageWaitingLampPolicy>
            <messagesNumber>554</messagesNumber>
            <ringSettingIdle>4</ringSettingIdle>
            <ringSettingActive>5</ringSettingActive>
            <contact></contact>
            <forwardCallInfoDisplay>
               <callerName>true</callerName>
               <callerNumber>true</callerNumber>
               <redirectedNumber>false</redirectedNumber>
               <dialedNumber>true</dialedNumber>
            </forwardCallInfoDisplay>
         </line>
      </sipLines>
      <voipControlPort>5060</voipControlPort>
      <dscpForAudio>184</dscpForAudio>
      <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
      <dialTemplate>dialplan.xml</dialTemplate>
   </sipProfile>
   <commonProfile>
      <phonePassword></phonePassword>
      <backgroundImageAccess>true</backgroundImageAccess>
      <callLogBlfEnabled>1</callLogBlfEnabled>
   </commonProfile>
   <loadInformation></loadInformation>
   <vendorConfig>
      <g722CodecSupport>2</g722CodecSupport>
      <headsetWidebandUIControl>0</headsetWidebandUIControl>
      <handsetWidebandUIControl>0</handsetWidebandUIControl> 
      <headsetWidebandEnable>0</headsetWidebandEnable> 
      <handsetWidebandEnable>0</handsetWidebandEnable>
      <disableSpeaker>false</disableSpeaker>
      <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
      <pcPort>0</pcPort>
      <settingsAccess>1</settingsAccess>
      <garp>0</garp>
      <voiceVlanAccess>0</voiceVlanAccess>
      <videoCapability>0</videoCapability>
      <autoSelectLineEnable>0</autoSelectLineEnable>
      <webAccess>0</webAccess>
      <spanToPCPort>1</spanToPCPort>
      <loggingDisplay>1</loggingDisplay>
      <loadServer></loadServer>
   </vendorConfig>
   <versionStamp>1143565489-a3cbf294-7526-4c29-8791-c4fce4ce4c37</versionStamp>
   <networkLocale>US</networkLocale>
   <networkLocaleInfo>
      <name>US</name>
      <version>5.0(2)</version>
   </networkLocaleInfo>
   <deviceSecurityMode>1</deviceSecurityMode>
   <authenticationURL></authenticationURL>
   <directoryURL></directoryURL>
   <idleURL></idleURL>
   <informationURL></informationURL>
   <messagesURL></messagesURL>
   <proxyServerURL></proxyServerURL>
   <servicesURL></servicesURL>
   <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
   <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
   <dscpForCm2Dvce>96</dscpForCm2Dvce>
   <transportLayerProtocol>4</transportLayerProtocol>
   <capfAuthMode>0</capfAuthMode>
   <capfList>
      <capf>
         <phonePort>3804</phonePort>
      </capf>
   </capfList>
   <certHash></certHash>
   <encrConfig>false</encrConfig>
</device>

 

 

1 Accepted Solution

Accepted Solutions

Finally found it...
<proxy>192.168.29.134</proxy> does not work in firmware >9.
I had to use the following string:
<proxy>USECALLMANAGER</proxy>

View solution in original post

10 Replies 10

Leo Laohoo
Hall of Fame
Hall of Fame

@kmerentitis wrote:
      <natEnabled>true</natEnabled>
	  <natReceivedProcessing>true</natReceivedProcessing>

Turn NAT OFF.

<transportLayerProtocol>4</transportLayerProtocol>

Options are 1 (TCP), 2 (UDP) or 3 (TLS).  There is no option "4".   

Thank you for your reply, but no change. Tcpdump shows that after getting "dialplan.xml", packet exchange stops. No SIP requests to the server. (TFTP server is also the SIP proxy server)

So when you changed the <transportLayerProtocol> did you factory reset the phone?

Look at the phone.  Go to Settings > Status > Status Messages. 

What are being displayed there?

I factory reset the phone.

Status messages displays :

-Error updating locale

-SEPxxxxxxxx.cnf.xml (TFTP)

-No Trust List Installed

Should I fill a bug about this? I have not found a solution yet


@kmerentitis wrote:
Should I fill a bug about this?

7945 is already End of Support.  


@kmerentitis wrote:
I have not found a solution yet

You haven't provided any update of the progress.  

What kind of update should I provide?

I tried using older firmware and other "clean" config files found on the internet by changing only the critical parts (id, pass, SIP proxy).

I also tried registering to another SIP proxy without success

According to this, End-of-Support Date is 30-JUN-2023


@kmerentitis wrote:

-SEPxxxxxxxx.cnf.xml (TFTP)


This was one of your response on 24 October 2019.

Is that it?  No other messages other than "SEPxxxxxxxx.cnf.xml (TFTP)"?


@Leo Laohoo wrote:

@kmerentitis wrote:

-SEPxxxxxxxx.cnf.xml (TFTP)


This was one of your response on 24 October 2019.

Is that it?  No other messages other than "SEPxxxxxxxx.cnf.xml (TFTP)"?


Exactly, no other messages except from the locale and Trust List as I mentioned before.

I believe it has something to do with the firmware version.

I experience the same behaviour with a 7965 phone and 9.4(2)SR3  firmware, the phone is also not sending register requests. The 7965 registers fine with exactly the same config and 8.5(4) firmware, but 7945 cannot be downgraded to 8.5(4).

 

EDIT:

I also found this in the following link, regarding firmware version 9:

cmterm-7945_7965-sip.9-0-3.zip: Does not even attempt SIP registration. Avoid.

https://www.voip-info.org/standalone-cisco-79457965/

 

Finally found it...
<proxy>192.168.29.134</proxy> does not work in firmware >9.
I had to use the following string:
<proxy>USECALLMANAGER</proxy>