Al Grant
Member
- Joined
- Jun 4, 2014
- Messages
- 30
- Reaction score
- 0
Ok,
To get around the rport problem I decided to try TCP.
I looks like to use TCP I should use a newer firmware so, as snarpatroid suggested I went to 9.3.1SR2
The upgrade went fine but then I noted I need to use <proxy>USECALLMANAGER</proxy> in my <line> config section of my SEP<mac>.xml.cnf
Then I still could not get the phone to register - with the old stuck on registering problem that others have had on the newer firmwares.
A tcpdump shows the phone is not even trying to register.
I dug a little deeper and ssh'd into the phone with log/log and it shows this:
I see that the sipSocketSend failed errno=54 comes up and is probably the reason that the phone isnt even trying to register - but what does this mean? and how to fix?
I have attached my SEP<mac>xml.cnf too if anyone can help. It might be something to do with transmissionProtocol line....note I am back to trying to get it to register on my local piaf server until I get past these issues.
Thanks
-Al
To get around the rport problem I decided to try TCP.
I looks like to use TCP I should use a newer firmware so, as snarpatroid suggested I went to 9.3.1SR2
The upgrade went fine but then I noted I need to use <proxy>USECALLMANAGER</proxy> in my <line> config section of my SEP<mac>.xml.cnf
Then I still could not get the phone to register - with the old stuck on registering problem that others have had on the newer firmwares.
A tcpdump shows the phone is not even trying to register.
I dug a little deeper and ssh'd into the phone with log/log and it shows this:
Code:
1951: NOT 14:50:06.513540 JVM: SIPCC-SIP_REG_STATE: 1/51, sip_reg_sm_process_event: SIP_REG_STATE_REGISTERING <- E_SIP_REG_TMR_RETRY
1952: ERR 14:50:06.514942 JVM: SIPCC-SYS_CALL: sip_tcp_channel_send: Error: sipSocketSend failed: errno = 54
1953: NOT 14:50:10.513519 JVM: SIPCC-SIP_REG_STATE: 1/51, sip_reg_sm_process_event: SIP_REG_STATE_REGISTERING <- E_SIP_REG_TMR_RETRY
1954: ERR 14:50:10.514835 JVM: SIPCC-SYS_CALL: sip_tcp_channel_send: Error: sipSocketSend failed: errno = 54
1955: NOT 14:50:14.513526 JVM: SIPCC-SIP_REG_STATE: 1/51, sip_reg_sm_process_event: SIP_REG_STATE_REGISTERING <- E_SIP_REG_TMR_RETRY
1956: ERR 14:50:14.514937 JVM: SIPCC-SYS_CALL: sip_tcp_channel_send: Error: sipSocketSend failed: errno = 54
1957: NOT 14:50:18.617885 JVM: SIPCC-SIP_REG_STATE: 1/51, sip_reg_sm_process_event: SIP_REG_STATE_REGISTERING <- E_SIP_REG_TMR_RETRY
1958: ERR 14:50:18.619222 JVM: SIPCC-SYS_CALL: sip_tcp_channel_send: Error: sipSocketSend failed: errno = 54
1959: NOT 14:50:22.588884 JVM: SIPCC-SIP_REG_STATE: 1/51, sip_reg_sm_process_event: SIP_REG_STATE_REGISTERING <- E_SIP_REG_TMR_RETRY
1960: ERR 14:50:22.590358 JVM: SIPCC-SYS_CALL: sip_tcp_channel_send: Error: sipSocketSend failed: errno = 54
1961: ERR 14:50:25.501057 JVM: SIP : sip_tcp_read_socket : socket error=145
1962: NOT 14:50:25.687603 JVM: SIPCC-SIP_TCP_MSG: sip_tcp_purge_entry: Socket fd: 27 closed for connid 0 with address: 1, remote port: 3232249750
1963: ERR 14:50:25.688688 JVM: SIPCC-SIP_TCP_MSG: sip_tcp_createconnfailed_to_spi: send a SIP_TMR_REG_RETRYmessage so this cucm ip:192.168.55.150 can be put in fallback list
1964: ERR 14:50:25.689855 JVM: SIP : sip_tcp_detach_socket : Invalid socket
1965: NOT 14:50:25.692912 JVM: SIPCC-SIP_TCP_MSG: sip_tcp_purge_entry: Socket fd: -1 closed for connid 0 with address: 0, remote port: 0
1966: NOT 14:50:25.695304 JVM: SIPCC-SIP_REG_STATE: 1/51, sip_reg_sm_process_event: SIP_REG_STATE_REGISTERING <- E_SIP_REG_TMR_RETRY
1967: ERR 14:50:25.696322 JVM: SIP : sip_tcp_detach_socket : Invalid socket
1968: NOT 14:50:25.697405 JVM: SIPCC-SIP_TCP_MSG: sip_tcp_purge_entry: Socket fd: -1 closed for connid 0 with address: 0, remote port: 0
1969: NOT 14:50:25.708453 JVM: set_active_ccm: ccm=PRIMARY port=-1
1970: ERR 14:50:25.709603 JVM: SIPCC-LINE_NUM: sip_platform_localexpires_timer_stop: Error: Line number (86) is invalid
1971: NOT 14:50:25.711357 JVM: SIPCC-UI_API: 1/0, ui_set_sip_registration_state: 0
1972: NOT 14:50:25.713844 JVM: SIPCC-UI_API: 0/0, ui_set_notification: Registering: 0 :20
1973: ERR 14:50:25.759171 JVM: Startup Module Loader|JniJSesssionApi:isThisFailureFromNewCause - old unregReason =10 newUnregReason=10 unregReason ignored
1974: DBG 14:50:25.784917 JVM: --> PropertySetEnergywisePhonePowerLevel: level is 10
1975: ERR 14:50:25.786708 JVM: ..LOCALCONNECT FAILED
1976: ERR 14:50:26.054462 JVM: Startup Module Loader|cip.sipcc.d: - regAllFailed(): mgmtState=4
1977: WRN 14:50:26.056583 JVM: Startup Module Loader|DisplayTask:? - acceptEWPowerSetting(): level 10
1978: ERR 14:50:26.058700 JVM: Startup Module Loader|cip.props.u:? - device.settings.energywise.phonepowerlevel IO error.
1979: WRN 14:50:26.061433 JVM: Startup Module Loader|JPlatUi: - platformResetReq: resetRequest type=2
1980: NOT 14:50:26.295918 JVM: SIPCC-SIP_CTRL: sip_shutdown_phase1: In sip_shutdown_phase1 (1)
I see that the sipSocketSend failed errno=54 comes up and is probably the reason that the phone isnt even trying to register - but what does this mean? and how to fix?
I have attached my SEP<mac>xml.cnf too if anyone can help. It might be something to do with transmissionProtocol line....note I am back to trying to get it to register on my local piaf server until I get past these issues.
Code:
<device>
<deviceProtocol>SIP</deviceProtocol>
<sshUserId>cisco</sshUserId>
<sshPassword>cisco</sshPassword>
<devicePool>
<dateTimeSetting>
<dateTemplate>D/M/YA</dateTemplate>
<timeZone>New Zealand Standard/Daylight Time</timeZone>
<ntps>
<ntp>
<name>time.nist.gov</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<processNodeName>192.168.55.150</processNodeName>
<ports>
<sipPort>5060</sipPort>
</ports>
</callManager>
</member>
</members>
</callManagerGroup>
</devicePool>
<sipProfile>
<natEnabled></natEnabled>
<natAddress></natAddress>
<sipProxies>
<registerWithProxy>true</registerWithProxy>
<outboundProxy></outboundProxy>
<outboundProxyPort></outboundProxyPort>
<backupProxy>192.168.55.150</backupProxy>
<backupProxyPort>5060</backupProxyPort>
</sipProxies>
<preferredCodec>none</preferredCodec>
<phoneLabel>Home (TCP)</phoneLabel>
<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>92111</featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<name>92111</name>
<authName>92111</authName>
<authPassword>letmein</authPassword>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messagesNumber>*55</messagesNumber>
</line>
</sipLines>
<dialTemplate>dialplan.xml</dialTemplate>
</sipProfile>
<directoryURL>http://192.168.55.150/cisco/services/menu.xml</directoryURL>
<servicesURL>http://192.168.55.150/cisco/services/PhoneServices.php</servicesURL>
<idleURL>http://192.168.55.150/cisco/services/idle.php</idleURL>
<idleTimeout>180</idleTimeout>
<networkLocale>New_Zealand</networkLocale><networkLocaleInfo><name>New_Zealand</name><uid>64</uid><version>1.0.0.0-1</version></networkLocaleInfo>
<vendorConfig>
<pcPort>0</pcPort>
<spanToPCPort>0</spanToPCPort>
<loggingDisplay>1</loggingDisplay>
<sshAccess>0</sshAccess>
<sshPort>22</sshPort>
</vendorConfig>
<transmissionLayerProtocol>2</transmissionLayerProtocol>
</device>
Thanks
-Al