Check if you're running the latest firmware - older Cisco sip implementations did contain bugs<div><br></div><div>I've seen similar behaviour in counterpart eyebeam<span></span> btw</div><div><br></div><div><br></div>
<div><br></div><div><br>On Wednesday, June 12, 2013, andpe wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi</div>
<div> </div>
<div><span lang="en"><span>I've seen</span> <span>once</span> <span>your</span> <span>article</span> <span>:-)</span> <span>It is very</span> <span>interesting</span><span>.</span><br><br><span>However</span><span>,</span> <span>C</span> <span>7931</span> <span>phone</span> <span>behaves</span> <span>as</span> <span>described.</span> <span>I</span> <span>hope this is</span> <span>a</span> <span>configuration error</span><span>.</span> <span>Without</span> <span>the correct value</span> "<span>realm</span>" <span>I can not use</span> <span>multitenant</span> <span>in</span> <span>FreeSWITCH</span><span>.</span> <span>I send</span> <span>you</span> <span>the configuration.</span><br>
<span> </span></span></div>
<div> </div>
<div><span lang="en"><span>In</span> <span>wireshark</span> <span>I see that</span> <span>TO and</span> <span>FROM</span> <span>fields</span> <span>contain the</span> <span>IP</span> <span>and not the</span> <span>realm</span> <span>(</span><span>domain name</span><span>)</span><span>.</span><br>
<span>No matter how</span> <span>I</span> <span>set to</span> <span>challenge-</span><span>realm</span> <span>in</span> <span>FreeSWITCH</span> <span>(</span><span>auto_from</span> <span>or</span> <span>auto_to</span><span>)</span><span>.</span> <span>Anyway,</span> <span>this is understandable</span> <span>when the phone</span> <span>sends</span> <span>the</span> <span>wrong</span> <span>as I</span> <span>had expected</span><span>.</span> <span>In FreeSWITCH</span> <span>console,</span> <span>I get the message</span><span>:</span><br>
<br><span>[WARNING</span><span>]</span> <span>sofia_reg.c</span><span>:</span> <span>2515</span> <span>Can not find</span> <span>user [</span><span>1000</span> <span>@</span> <span>abcd</span><span>]</span> <span>from</span> <span>abcf</span><br>
<span>You must</span> <span>define</span> <span>a</span> <span>domain</span> <span>called</span> <span>'</span><span>ABCD</span><span>'</span> <span>in your</span> <span>directory</span> <span>and</span> <span>add a</span> <span>user</span> <span>with the</span> <span>id</span> <span>= "</span><span>1000</span><span>" attribute</span> <span>and you</span> <span>must</span> <span>configure</span> <span>your</span> <span>device</span> <span>to use</span> <span>the</span> <span>proper</span> <span>domain</span> <span>in it</span><span>'s</span> <span>authentication</span> <span>credentials</span><span>.</span></span></div>
<div> </div>
<div>config:</div>
<div> </div>
<div><device><br> <fullConfig>true</fullConfig><br> <deviceProtocol>SIP</deviceProtocol><br> <sshUserId>xxx</sshUserId><br> <sshPassword>xxx</sshPassword><br>
<devicePool><br> <dateTimeSetting><br> <dateTemplate>M/D/Y</dateTemplate><br> <timeZone>your timezone</timeZone><br> <olsonTimeZone>your timezone</olsonTimeZone><br>
<ntps><br> <ntp><br> <name>x.x.x.x</name><br> <ntpMode>Unicast</ntpMode><br> </ntp><br> </ntps><br>
</dateTimeSetting><br> <callManagerGroup><br> <tftpDefault>true</tftpDefault><br> <members><br> <member priority="0"><br> <callManager><br>
<ports><br> <ethernetPhonePort>2000</ethernetPhonePort><br> <sipPort>5060</sipPort><br> <securedSipPort>5061</securedSipPort><br>
</ports><br> <processNodeName>mysip.server.domain</processNodeName><br> </callManager><br> </member><br> </members><br>
</callManagerGroup><br> </devicePool><br> <commonProfile><br> <phonePassword/><br> <backgroundImageAccess>true</backgroundImageAccess><br> <callLogBlfEnabled>0</callLogBlfEnabled><br>
</commonProfile><br> <loadInformation>SIP31.9-3-1-1S</loadInformation><br> <vendorConfig><br> <disableSpeaker>false</disableSpeaker><br> <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset><br>
<pcPort>1</pcPort><br> <settingsAccess>2</settingsAccess><br> <garp>0</garp><br> <voiceVlanAccess>0</voiceVlanAccess><br> <videoCapability>0</videoCapability><br>
<autoSelectLineEnable>0</autoSelectLineEnable><br> <daysDisplayNotActive>1,2,3,4,5,6,7</daysDisplayNotActive><br> <displayOnTime>10:00</displayOnTime><br> <displayOnDuration>00:01</displayOnDuration><br>
<displayIdleTimeout>00:05</displayIdleTimeout><br> <webAccess>0</webAccess><br> <spanToPCPort>1</spanToPCPort><br> <loggingDisplay>1</loggingDisplay><br>
<loadServer/><br> </vendorConfig><br> <deviceSecurityMode>1</deviceSecurityMode><br> <authenticationURL/><br> <directoryURL/> <br> <idleTimeout>10</idleTimeout><br>
<idleURL/><br> <informationURL/><br> <messagesURL/><br> <proxyServerURL>mysip.server.domain</proxyServerURL><br> <servicesURL></servicesURL><br> <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig><br>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices><br> <dscpForCm2Dvce>96</dscpForCm2Dvce><br> <transportLayerProtocol>4</transportLayerProtocol><br> <capfAuthMode>0</capfAuthMode><br>
<capfList><br> <capf><br> <phonePort>3804</phonePort><br> </capf><br> </capfList><br> <certHash/><br> <encrConfig>false</encrConfig><br>
<sipProfile><br> <sipProxies><br> <backupProxy></backupProxy><br> <backupProxyPort>5060</backupProxyPort><br> <emergencyProxy/><emergencyProxyPort/><br>
<outboundProxy/>5060<outboundProxyPort/><br> <registerWithProxy>true</registerWithProxy><br> </sipProxies><br> <sipCallFeatures><br> <cnfJoinEnabled>true</cnfJoinEnabled><br>
<callForwardURI>x--serviceuri-cfwdall</callForwardURI><br> <callPickupURI>x-cisco-serviceuri-pickup</callPickupURI><br> <callPickupListURI>x-cisco-serviceuri-opickup</callPickupListURI><br>
<callPickupGroupURI>x-cisco-serviceuri-gpickup</callPickupGroupURI><br> <meetMeServiceURI>x-cisco-serviceuri-meetme</meetMeServiceURI><br> <abbreviatedDialURI>x-cisco-serviceuri-abbrdial</abbreviatedDialURI><br>
<rfc2543Hold>true</rfc2543Hold><br> <callHoldRingback>2</callHoldRingback><br> <localCfwdEnable>true</localCfwdEnable><br> <semiAttendedTransfer>true</semiAttendedTransfer><br>
<anonymousCallBlock>2</anonymousCallBlock><br> <callerIdBlocking>0</callerIdBlocking><br> <dndControl>0</dndControl><br> <remoteCcEnable>true</remoteCcEnable><br>
</sipCallFeatures><br> <sipStack><br> <sipInviteRetx>6</sipInviteRetx><br> <sipRetx>10</sipRetx><br> <timerInviteExpires>180</timerInviteExpires><br>
<timerRegisterExpires>600</timerRegisterExpires><br> <timerRegisterDelta>5</timerRegisterDelta><br> <timerKeepAliveExpires>120</timerKeepAliveExpires><br>
<timerSubscribeExpires>120</timerSubscribeExpires><br> <timerSubscribeDelta>5</timerSubscribeDelta><br> <timerT1>500</timerT1><br> <timerT2>4000</timerT2><br>
<maxRedirects>70</maxRedirects><br> <remotePartyID>false</remotePartyID><br> <userInfo>None</userInfo><br> </sipStack><br> <autoAnswerTimer>1</autoAnswerTimer><br>
<autoAnswerAltBehavior>false</autoAnswerAltBehavior><br> <autoAnswerOverride>true</autoAnswerOverride><br> <transferOnhookEnabled>true</transferOnhookEnabled><br> <enableVad>false</enableVad><br>
<preferredCodec>g729</preferredCodec><br> <dtmfAvtPayload>101</dtmfAvtPayload><br> <dtmfDbLevel>3</dtmfDbLevel><br> <dtmfOutofBand>avt</dtmfOutofBand><br>
<alwaysUsePrimeLine>false</alwaysUsePrimeLine><br> <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail><br> <kpml>3</kpml><br> <stutterMsgWaiting>1</stutterMsgWaiting><br>
<callStats>false</callStats><br> <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts><br> <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig><br>
<startMediaPort>16384</startMediaPort><br> <stopMediaPort>16399</stopMediaPort><br> <voipControlPort>5060</voipControlPort><br> <dscpForAudio>184</dscpForAudio><br>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy><br> <dialTemplate>dialplan.xml</dialTemplate><br> <phoneLabel>LABEL</phoneLabel><br> <sipLines><br>
<line button="1"><br> <featureID>9</featureID><br> <featureLabel>1000</featureLabel><br> <proxy>USECALLMANAGER</proxy><br>
<port>5060</port><br> <name>1000</name><br> <displayName>1000</displayName><br> <autoAnswer><br> <autoAnswerEnabled>2</autoAnswerEnabled><br>
</autoAnswer><br> <callWaiting>3</callWaiting><br> <authName>1000</authName><br> <authPassword>xxxx</authPassword><br>
<contact>1000</contact><br> <sharedLine>false</sharedLine><br> <messageWaitingLampPolicy>1</messageWaitingLampPolicy><br> <messagesNumber>121</messagesNumber><br>
<ringSettingIdle>4</ringSettingIdle><br> <ringSettingActive>5</ringSettingActive><br> <forwardCallInfoDisplay><br> <callerName>true</callerName><br>
<callerNumber>false</callerNumber><br> <redirectedNumber>false</redirectedNumber><br> <dialedNumber>true</dialedNumber><br> </forwardCallInfoDisplay><br>
</line><br> </sipLines><br> <softKeyFile>SoftKey.xml</softKeyFile><br> </sipProfile><br></device></div>
<div> </div>
<div>Andy</div>
<div> </div>
<div>W dniu 2013-06-11 15:28:14 użytkownik Cal Leeming [Simplicity Media Ltd] <<a href="javascript:_e({}, 'cvml', 'cal.leeming@simplicitymedialtd.co.uk');" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>> napisał:</div>
<blockquote style="margin-left:7px;border-left:2px solid orange;padding-left:8px">Hello,
<div> </div>
<div>The phone shouldn't be sending the IP address, it should be using the hostname you specified.</div>
<div> </div>
<div>I actually did an article, albeit about a NAT issue, on the Cisco 7940 which goes into detail about the SIP packets going to and from the server [1]. As you can see from this article, the phone is sending the hostname in the To field.</div>
<div> </div>
<div>Therefore, this could either be a dodgy firmware or some config option you have set wrong.</div>
<div> </div>
<div>Can you please give us the following;</div>
<div> </div>
<div>* FS SIP trace logs showing the Cisco phone during registration and/or call state</div>
<div>* Cisco phone config (this can be extracted using the telnet server if you are not using TFTP)</div>
<div> </div>
<div>Hope this helps</div>
<div> </div>
<div>Cal</div>
<div> </div>
<div>[1] <a href="http://blog.simplicitymedialtd.co.uk/476/analysis-of-cisco-7940-sip-alg-and-nat-traversal-problems" target="_blank">http://blog.simplicitymedialtd.co.uk/476/analysis-of-cisco-7940-sip-alg-and-nat-traversal-problems</a></div>
<div> </div>
<div><br><br>
<div class="gmail_quote">On Tue, Jun 11, 2013 at 9:30 AM, andpe <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'andpe@poczta.onet.pl');" target="_blank">andpe@poczta.onet.pl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi</div>
<div> </div>
<div><span lang="en"><span>I have a problem</span> <span>with the registration of</span> <span>the Cisco</span> <span>79xx</span> <span>phones</span><span>.</span> <span>The</span> <span>SIP</span> <span>Message</span> <span>Header</span> <span>(MH)</span> <span>which</span> <span>sends the</span> <span>phone</span><span>,</span> <span>in the fields "</span><span>TO</span><span>" and "</span><span>FROM"</span>, <span>places the</span> <span>IP address instead of</span> <span>the domain name.</span> <span>The</span> <span>configuration of the phone</span> <span>is set to</span> <span>the domain name</span> <span>(</span><span><a href="http://xx.yy.com" target="_blank">xx.yy.com</a></span><span>.)</span> <span>Is there any</span> <span>way to</span> <span>set the phone</span> <span>to send</span> <span>the domain name in</span> <span>the field</span> <span>instead of</span> <span>an IP address</span><span>?</span> <span>Is there a</span> <span>firmware version</span> <span>that sends</span> <span>MH</span> <span>correctly?</span></span></div>
<div> </div>
<div><span lang="en"><span>Andy<br></span></span></div>
<br>_________________________________________________________________________<br> Professional FreeSWITCH Consulting Services:<br> <a href="javascript:_e({}, 'cvml', 'consulting@freeswitch.org');" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br> <br> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br> Official FreeSWITCH Sites<br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br> FreeSWITCH-users mailing list<br> <a href="javascript:_e({}, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org');" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote>
</div>
</div>
</blockquote>
<div> </div>
</blockquote></div>