[Freeswitch-users] Cisco 7906 + Freeswitch

Brian West brian at freeswitch.org
Mon Jul 28 17:21:14 MSD 2014


1. The phone sends the register, 2. we send challenge, 3. phone never gets
said challenged due to nat, 4.  phone sends register yet again.  5. Rinse
and repeat.

Sounds like that right?


On Mon, Jul 28, 2014 at 1:58 AM, Nick Zaitsev <nick.zaitsev at mail.ru> wrote:

> Good day to you.
> I have cisco7906,i ve upgrade it to use SIP,but,when it sends only
> REGISTER,and after it recieves OK,it does not send anything
>
> Here is the config for cisco 7906
> <device>
> <fullConfig>true</fullConfig>
> <deviceProtocol>SIP</deviceProtocol>
> <devicePool>
> <dateTimeSetting>
> <dateTemplate>D.M.Y</dateTemplate>
> <timeZone>Ekaterinburg Standard Time</timeZone>
> <ntps>
> <ntp>
> <name>$NTP</name>
> <ntpMode>Unicast</ntpMode>
> </ntp>
> </ntps>
> </dateTimeSetting>
> <callManagerGroup>
> <tftpDefault>true</tftpDefault>
> <members>
> <member priority="0">
> <callManager>
> <name>$Freeswitch</name>
> <description>CallManager 5.0</description>
> <ports>
> <ethernetPhonePort>2000</ethernetPhonePort>
> <sipPort>5060</sipPort>
> <securedSipPort>5061</securedSipPort>
> </ports>
> <processNodeName>$Freeswitch</processNodeName>
> </callManager>
> </member>
> </members>
> </callManagerGroup>
> </devicePool>
> <commonProfile>
> <phonePassword></phonePassword>
> <backgroundImageAccess>true</backgroundImageAccess>
> <callLogBlfEnabled>0</callLogBlfEnabled>
> </commonProfile>
> <loadInformation>SIP42.8-5-4S</loadInformation>
> <loadInformation434 model="Cisco 7942">SIP42.8-5-4S</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>1</webAccess>
> <spanToPCPort>1</spanToPCPort>
> <loggingDisplay>1</loggingDisplay>
> <loadServer></loadServer>
> </vendorConfig>
>
> <deviceSecurityMode>1</deviceSecurityMode>
> <idleTimeout>0</idleTimeout>
> <directoryURL></directoryURL>
> <servicesURL>$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>$Freeswitch</backupProxy>
> <backupProxyPort>5060</backupProxyPort>
> <emergencyProxy>$Freeswitch</emergencyProxy>
> <emergencyProxyPort>5060</emergencyProxyPort>
> <outboundProxy>$Freeswitch</outboundProxy>
> <outboundProxyPort>5060</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>0</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>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>10100</startMediaPort>
> <stopMediaPort>10300</stopMediaPort>
> <voipControlPort>5060</voipControlPort>
> <dscpForAudio>184</dscpForAudio>
> <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
> <dialTemplate>dialplan.xml</dialTemplate>
> <phoneLabel>Cisco</phoneLabel>
> <natReceivedProcessing>false</natReceivedProcessing>
> <natEnabled>false</natEnabled>
> <natAddress></natAddress>
> <sipLines>
> <line button="1">
> <featureID>9</featureID>
> <featureLabel>$ACCOUNT</featureLabel>
> <proxy>$Freeswitch</proxy>
> <port>5060</port>
> <name>$ACCOUNT</name>
> <displayName>$ACCOUNT</displayName>
> <autoAnswer>
> <autoAnswerEnabled>2</autoAnswerEnabled>
> </autoAnswer>
> <callWaiting>3</callWaiting>
> <authName>$ACCOUNT</authName>
> <authPassword>$ACCOUNT_PASS</authPassword>
> <sharedLine>false</sharedLine>
> <messageWaitingLampPolicy>3</messageWaitingLampPolicy>
> <messagesNumber></messagesNumber>
> <ringSettingIdle>4</ringSettingIdle>
> <ringSettingActive>5</ringSettingActive>
> <contact>$ACCOUNT</contact>
> <forwardCallInfoDisplay>
> <callerName>true</callerName>
> <callerNumber>false</callerNumber>
> <redirectedNumber>false</redirectedNumber>
> <dialedNumber>true</dialedNumber>
> </forwardCallInfoDisplay>
> </line>
> <line button="2">
> <featureID></featureID>
> <featureLabel></featureLabel>
> <speedDialNumber></speedDialNumber>
> </line>
> </sipLines>
> </sipProfile>
> </device>
>
> Here is tcpdump
> 10:44:13.076447 IP (tos 0x0, ttl 63, id 22, offset 0, flags [none], proto
> UDP (17), length 601)
> 10.4.33.18.49156 > fsw [no cksum] SIP, length: 573
> REGISTER sip:10.160.1.17 SIP/2.0
>
> 10:44:13.078747 IP (tos 0x0, ttl 64, id 22120, offset 0, flags [none],
> proto UDP (17), length 666)
> fsw.sip > 10.4.33.18.sip: [udp sum ok] SIP, length: 638
> SIP/2.0 401 Unauthorized
>
> 10:44:13.086086 IP (tos 0x0, ttl 63, id 23, offset 0, flags [none], proto
> UDP (17), length 824)
> 10.4.33.18.49156 > fsw.sip: [no cksum] SIP, length: 796
> REGISTER sip:10.160.1.17 SIP/2.0
>
> 10:44:13.093733 IP (tos 0x0, ttl 64, id 22121, offset 0, flags [none],
> proto UDP (17), length 638)
> fsw.sip > 10.4.33.18.sip: [udp sum ok] SIP, length: 610
> SIP/2.0 200 OK
>
> and the lots of NOTIFY from freeswitch, Could anybody help with this issue
> please?
> Best regards
> --
> Nick Zaitsev
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140728/de824835/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list