10-26-2016 06:45 AM - edited 03-17-2019 08:29 AM
I tried configuring Cisco 7931 phone for use with FreePBX . I upgrade the Cisco 7931 to firmware SIP31.8-5-3SR1S. I tried Cisco 7931 to register with FreePBX but with no success. Cisco 7931 phone time not synced.
I tried the NTP line settings in the XML configuration file like this:
<dateTimeSetting>
<dateTemplate>D.M.Y</dateTemplate>
<timeZone>Russian Standard/Daylight Time</timeZone>
<ntps>
<ntp>
<name>NTPSERVER</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
tcpdump on NTPSERVER shows that from cisco phone does not come not a single package (except ARP packages)
NTP Directed Broadcast mode also did not help (I set up ntp server with broadcasting)
Full XML configuration (One of config I've tried):
<device>
<fullConfig>true</fullConfig>
<deviceProtocol>SIP</deviceProtocol>
<sshAccess>0</sshAccess>
<sshPort>22</sshPort>
<sshUserId>cisco</sshUserId>
<sshPassword>cisco</sshPassword>
<devicePool>
<dateTimeSetting>
<dateTemplate>D.M.Y</dateTemplate>
<timeZone>Russian Standard/Daylight Time</timeZone>
<olsonTimeZone>Europe/Moscow</olsonTimeZone>
<ntps>
<ntp>
<name>NTPSERVER1</name>
<ntpMode>Unicast</ntpMode>
</ntp>
<ntp>
<name>NTPSERVER2</name>
<ntpMode>Directed Broadcast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
<callManagerGroup>
<tftpDefault>true</tftpDefault>
<members>
<member priority="0">
<callManager>
<name></name>
<description></description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
</ports>
<processNodeName>192.168.1.12</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
</devicePool>
<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>0</callLogBlfEnabled>
</commonProfile>
<loadInformation>SIP31.8-5-3SR1S</loadInformation>
<loadInformation434 model="Cisco 7931">SIP31.8-5-3SR1S</loadInformation434>
<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<pcPort>0</pcPort>
<settingsAccess>1</settingsAccess>
<garp>0</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<videoCapability>0</videoCapability>
<autoSelectLineEnable>0</autoSelectLineEnable>
<daysDisplayNotActive>1,7</daysDisplayNotActive>
<displayOnTime>10:30</displayOnTime>
<displayOnDuration>06:05</displayOnDuration>
<displayIdleTimeout>00:05</displayIdleTimeout>
<webAccess>0</webAccess>
<spanToPCPort>1</spanToPCPort>
<loggingDisplay>1</loggingDisplay>
<loadServer></loadServer>
</vendorConfig>
<deviceSecurityMode>1</deviceSecurityMode>
<idleTimeout>0</idleTimeout>
<directoryURL></directoryURL>
<servicesURL></servicesURL>
<idleURL></idleURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>2</transportLayerProtocol>
<capfAuthMode>0</capfAuthMode>
<capfList>
<capf>
<phonePort>3804</phonePort>
</capf>
</capfList>
<certHash></certHash>
<encrConfig>false</encrConfig>
<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>false</localCfwdEnable>
<semiAttendedTransfer>false</semiAttendedTransfer>
<anonymousCallBlock>2</anonymousCallBlock>
<callerIdBlocking>2</callerIdBlocking>
<dndControl>0</dndControl>
<remoteCcEnable>true</remoteCcEnable>
</sipCallFeatures>
<sipStack>
<sipInviteRetx>6</sipInviteRetx>
<sipRetx>10</sipRetx>
<timerInviteExpires>180</timerInviteExpires>
<timerRegisterExpires>300</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>
<autoAnswerTimer>1</autoAnswerTimer>
<autoAnswerAltBehavior>false</autoAnswerAltBehavior>
<autoAnswerOverride>true</autoAnswerOverride>
<transferOnhookEnabled>false</transferOnhookEnabled>
<enableVad>false</enableVad>
<preferredCodec>g711alaw</preferredCodec>
<dtmfAvtPayload>101</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<alwaysUsePrimeLine>false</alwaysUsePrimeLine>
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
<kpml>3</kpml>
<stutterMsgWaiting>1</stutterMsgWaiting>
<callStats>true</callStats>
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
<disableLocalSpeedDialConfig>true</disableLocalSpeedDialConfig>
<startMediaPort>16100</startMediaPort>
<stopMediaPort>19300</stopMediaPort>
<voipControlPort>5061</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<dialTemplate></dialTemplate>
<phoneLabel>Cisco7931</phoneLabel>
<natReceivedProcessing>false</natReceivedProcessing>
<natEnabled>false</natEnabled>
<natAddress></natAddress>
<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>Number</featureLabel>
<proxy>192.168.1.12</proxy>
<port>5060</port>
<name>150</name>
<displayName>150</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>150</authName>
<authPassword>SIPPASSWORD</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messagesNumber></messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>150</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line>
</sipLines>
</sipProfile>
</device>
Asterisk debug log show:
<------------>
[Oct 26 11:45:41] VERBOSE[31019] chan_sip.c: Scheduling destruction of SIP dialog 'e0899d95-a0c20002-c1eb3c28-cc3f3338@192.168.3.150' in 32000 ms (Method: REGISTER)
[Oct 26 11:45:45] VERBOSE[31019] chan_sip.c:
<--- SIP read from UDP:192.168.3.150:49170 --->
REGISTER sip:192.168.1.12 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.150:5061;branch=z9hG4bK720aadb8
From: <sip:150@192.168.1.12>;tag=e0899d95a0c20002b9589a68-2053ce78
To: <sip:150@192.168.1.12>
Call-ID: e0899d95-a0c20002-c1eb3c28-cc3f3338@192.168.3.150
Max-Forwards: 70
Date: Tue, 01 Jun 2010 06:06:36 GMT
CSeq: 101 REGISTER
User-Agent: Cisco-CP7931G/8.5.3
Contact: <sip:150@192.168.3.150:5061;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-e0899d95a0c2>";+u.sip!model.ccm.cisco.com="348"
Supported: (null),X-cisco-xsi-7.0.1
Content-Length: 0
Reason: SIP;cause=200;text="cisco-alarm:0 Name=SEPE0899D95A0C2 Load=SIP31.8-5-3SR1S Last="
Expires: 300
<------------->
[Oct 26 11:45:45] VERBOSE[31019] chan_sip.c: --- (14 headers 0 lines) ---
[Oct 26 11:45:45] VERBOSE[31019] chan_sip.c: Sending to 192.168.3.150:49170 (NAT)
[Oct 26 11:45:45] VERBOSE[31019] chan_sip.c:
<--- Transmitting (NAT) to 192.168.3.150:49170 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.3.150:5061;branch=z9hG4bK720aadb8;received=192.168.3.150;rport=49170
From: <sip:150@192.168.1.12>;tag=e0899d95a0c20002b9589a68-2053ce78
To: <sip:150@192.168.1.12>;tag=as0ca5058b
Call-ID: e0899d95-a0c20002-c1eb3c28-cc3f3338@192.168.3.150
CSeq: 101 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="6c2627ea"
Content-Length: 0
Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide