Check if you&#39;re running the latest firmware - older Cisco sip implementations did contain bugs<div><br></div><div>I&#39;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&#39;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> &quot;<span>realm</span>&quot; <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>&#39;</span><span>ABCD</span><span>&#39;</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>= &quot;</span><span>1000</span><span>&quot; 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>&#39;s</span> <span>authentication</span> <span>credentials</span><span>.</span></span></div>

<div> </div>
<div>config:</div>
<div> </div>
<div>&lt;device&gt;<br>    &lt;fullConfig&gt;true&lt;/fullConfig&gt;<br>    &lt;deviceProtocol&gt;SIP&lt;/deviceProtocol&gt;<br>    &lt;sshUserId&gt;xxx&lt;/sshUserId&gt;<br>    &lt;sshPassword&gt;xxx&lt;/sshPassword&gt;<br>
    &lt;devicePool&gt;<br>        &lt;dateTimeSetting&gt;<br>        &lt;dateTemplate&gt;M/D/Y&lt;/dateTemplate&gt;<br>            &lt;timeZone&gt;your timezone&lt;/timeZone&gt;<br>            &lt;olsonTimeZone&gt;your timezone&lt;/olsonTimeZone&gt;<br>
            &lt;ntps&gt;<br>                &lt;ntp&gt;<br>                    &lt;name&gt;x.x.x.x&lt;/name&gt;<br>                    &lt;ntpMode&gt;Unicast&lt;/ntpMode&gt;<br>                &lt;/ntp&gt;<br>            &lt;/ntps&gt;<br>
        &lt;/dateTimeSetting&gt;<br>        &lt;callManagerGroup&gt;<br>            &lt;tftpDefault&gt;true&lt;/tftpDefault&gt;<br>            &lt;members&gt;<br>                &lt;member priority=&quot;0&quot;&gt;<br>                    &lt;callManager&gt;<br>
                        &lt;ports&gt;<br>                            &lt;ethernetPhonePort&gt;2000&lt;/ethernetPhonePort&gt;<br>                            &lt;sipPort&gt;5060&lt;/sipPort&gt;<br>                            &lt;securedSipPort&gt;5061&lt;/securedSipPort&gt;<br>
                        &lt;/ports&gt;<br>                        &lt;processNodeName&gt;mysip.server.domain&lt;/processNodeName&gt;<br>                    &lt;/callManager&gt;<br>                &lt;/member&gt;<br>            &lt;/members&gt;<br>
        &lt;/callManagerGroup&gt;<br>    &lt;/devicePool&gt;<br>    &lt;commonProfile&gt;<br>        &lt;phonePassword/&gt;<br>        &lt;backgroundImageAccess&gt;true&lt;/backgroundImageAccess&gt;<br>        &lt;callLogBlfEnabled&gt;0&lt;/callLogBlfEnabled&gt;<br>
    &lt;/commonProfile&gt;<br>    &lt;loadInformation&gt;SIP31.9-3-1-1S&lt;/loadInformation&gt;<br>    &lt;vendorConfig&gt;<br>        &lt;disableSpeaker&gt;false&lt;/disableSpeaker&gt;<br>        &lt;disableSpeakerAndHeadset&gt;false&lt;/disableSpeakerAndHeadset&gt;<br>
        &lt;pcPort&gt;1&lt;/pcPort&gt;<br>        &lt;settingsAccess&gt;2&lt;/settingsAccess&gt;<br>        &lt;garp&gt;0&lt;/garp&gt;<br>        &lt;voiceVlanAccess&gt;0&lt;/voiceVlanAccess&gt;<br>        &lt;videoCapability&gt;0&lt;/videoCapability&gt;<br>
        &lt;autoSelectLineEnable&gt;0&lt;/autoSelectLineEnable&gt;<br>        &lt;daysDisplayNotActive&gt;1,2,3,4,5,6,7&lt;/daysDisplayNotActive&gt;<br>        &lt;displayOnTime&gt;10:00&lt;/displayOnTime&gt;<br>        &lt;displayOnDuration&gt;00:01&lt;/displayOnDuration&gt;<br>
        &lt;displayIdleTimeout&gt;00:05&lt;/displayIdleTimeout&gt;<br>        &lt;webAccess&gt;0&lt;/webAccess&gt;<br>        &lt;spanToPCPort&gt;1&lt;/spanToPCPort&gt;<br>        &lt;loggingDisplay&gt;1&lt;/loggingDisplay&gt;<br>
        &lt;loadServer/&gt;<br>    &lt;/vendorConfig&gt;<br>    &lt;deviceSecurityMode&gt;1&lt;/deviceSecurityMode&gt;<br>    &lt;authenticationURL/&gt;<br>    &lt;directoryURL/&gt; <br>    &lt;idleTimeout&gt;10&lt;/idleTimeout&gt;<br>
    &lt;idleURL/&gt;<br>    &lt;informationURL/&gt;<br>    &lt;messagesURL/&gt;<br>    &lt;proxyServerURL&gt;mysip.server.domain&lt;/proxyServerURL&gt;<br>    &lt;servicesURL&gt;&lt;/servicesURL&gt;<br>    &lt;dscpForSCCPPhoneConfig&gt;96&lt;/dscpForSCCPPhoneConfig&gt;<br>
    &lt;dscpForSCCPPhoneServices&gt;0&lt;/dscpForSCCPPhoneServices&gt;<br>    &lt;dscpForCm2Dvce&gt;96&lt;/dscpForCm2Dvce&gt;<br>    &lt;transportLayerProtocol&gt;4&lt;/transportLayerProtocol&gt;<br>    &lt;capfAuthMode&gt;0&lt;/capfAuthMode&gt;<br>
    &lt;capfList&gt;<br>        &lt;capf&gt;<br>            &lt;phonePort&gt;3804&lt;/phonePort&gt;<br>        &lt;/capf&gt;<br>    &lt;/capfList&gt;<br>    &lt;certHash/&gt;<br>    &lt;encrConfig&gt;false&lt;/encrConfig&gt;<br>
    &lt;sipProfile&gt;<br>        &lt;sipProxies&gt;<br>            &lt;backupProxy&gt;&lt;/backupProxy&gt;<br>            &lt;backupProxyPort&gt;5060&lt;/backupProxyPort&gt;<br>            &lt;emergencyProxy/&gt;&lt;emergencyProxyPort/&gt;<br>
            &lt;outboundProxy/&gt;5060&lt;outboundProxyPort/&gt;<br>            &lt;registerWithProxy&gt;true&lt;/registerWithProxy&gt;<br>        &lt;/sipProxies&gt;<br>        &lt;sipCallFeatures&gt;<br>            &lt;cnfJoinEnabled&gt;true&lt;/cnfJoinEnabled&gt;<br>
            &lt;callForwardURI&gt;x--serviceuri-cfwdall&lt;/callForwardURI&gt;<br>            &lt;callPickupURI&gt;x-cisco-serviceuri-pickup&lt;/callPickupURI&gt;<br>            &lt;callPickupListURI&gt;x-cisco-serviceuri-opickup&lt;/callPickupListURI&gt;<br>
            &lt;callPickupGroupURI&gt;x-cisco-serviceuri-gpickup&lt;/callPickupGroupURI&gt;<br>            &lt;meetMeServiceURI&gt;x-cisco-serviceuri-meetme&lt;/meetMeServiceURI&gt;<br>            &lt;abbreviatedDialURI&gt;x-cisco-serviceuri-abbrdial&lt;/abbreviatedDialURI&gt;<br>
            &lt;rfc2543Hold&gt;true&lt;/rfc2543Hold&gt;<br>            &lt;callHoldRingback&gt;2&lt;/callHoldRingback&gt;<br>            &lt;localCfwdEnable&gt;true&lt;/localCfwdEnable&gt;<br>            &lt;semiAttendedTransfer&gt;true&lt;/semiAttendedTransfer&gt;<br>
            &lt;anonymousCallBlock&gt;2&lt;/anonymousCallBlock&gt;<br>            &lt;callerIdBlocking&gt;0&lt;/callerIdBlocking&gt;<br>            &lt;dndControl&gt;0&lt;/dndControl&gt;<br>            &lt;remoteCcEnable&gt;true&lt;/remoteCcEnable&gt;<br>
        &lt;/sipCallFeatures&gt;<br>        &lt;sipStack&gt;<br>            &lt;sipInviteRetx&gt;6&lt;/sipInviteRetx&gt;<br>            &lt;sipRetx&gt;10&lt;/sipRetx&gt;<br>            &lt;timerInviteExpires&gt;180&lt;/timerInviteExpires&gt;<br>
            &lt;timerRegisterExpires&gt;600&lt;/timerRegisterExpires&gt;<br>            &lt;timerRegisterDelta&gt;5&lt;/timerRegisterDelta&gt;<br>            &lt;timerKeepAliveExpires&gt;120&lt;/timerKeepAliveExpires&gt;<br>
            &lt;timerSubscribeExpires&gt;120&lt;/timerSubscribeExpires&gt;<br>            &lt;timerSubscribeDelta&gt;5&lt;/timerSubscribeDelta&gt;<br>            &lt;timerT1&gt;500&lt;/timerT1&gt;<br>            &lt;timerT2&gt;4000&lt;/timerT2&gt;<br>
            &lt;maxRedirects&gt;70&lt;/maxRedirects&gt;<br>            &lt;remotePartyID&gt;false&lt;/remotePartyID&gt;<br>            &lt;userInfo&gt;None&lt;/userInfo&gt;<br>        &lt;/sipStack&gt;<br>        &lt;autoAnswerTimer&gt;1&lt;/autoAnswerTimer&gt;<br>
        &lt;autoAnswerAltBehavior&gt;false&lt;/autoAnswerAltBehavior&gt;<br>        &lt;autoAnswerOverride&gt;true&lt;/autoAnswerOverride&gt;<br>        &lt;transferOnhookEnabled&gt;true&lt;/transferOnhookEnabled&gt;<br>        &lt;enableVad&gt;false&lt;/enableVad&gt;<br>
        &lt;preferredCodec&gt;g729&lt;/preferredCodec&gt;<br>        &lt;dtmfAvtPayload&gt;101&lt;/dtmfAvtPayload&gt;<br>        &lt;dtmfDbLevel&gt;3&lt;/dtmfDbLevel&gt;<br>        &lt;dtmfOutofBand&gt;avt&lt;/dtmfOutofBand&gt;<br>
        &lt;alwaysUsePrimeLine&gt;false&lt;/alwaysUsePrimeLine&gt;<br>        &lt;alwaysUsePrimeLineVoiceMail&gt;false&lt;/alwaysUsePrimeLineVoiceMail&gt;<br>        &lt;kpml&gt;3&lt;/kpml&gt;<br>        &lt;stutterMsgWaiting&gt;1&lt;/stutterMsgWaiting&gt;<br>
        &lt;callStats&gt;false&lt;/callStats&gt;<br>        &lt;silentPeriodBetweenCallWaitingBursts&gt;10&lt;/silentPeriodBetweenCallWaitingBursts&gt;<br>        &lt;disableLocalSpeedDialConfig&gt;false&lt;/disableLocalSpeedDialConfig&gt;<br>
        &lt;startMediaPort&gt;16384&lt;/startMediaPort&gt;<br>        &lt;stopMediaPort&gt;16399&lt;/stopMediaPort&gt;<br>        &lt;voipControlPort&gt;5060&lt;/voipControlPort&gt;<br>        &lt;dscpForAudio&gt;184&lt;/dscpForAudio&gt;<br>
        &lt;ringSettingBusyStationPolicy&gt;0&lt;/ringSettingBusyStationPolicy&gt;<br>        &lt;dialTemplate&gt;dialplan.xml&lt;/dialTemplate&gt;<br>        &lt;phoneLabel&gt;LABEL&lt;/phoneLabel&gt;<br>        &lt;sipLines&gt;<br>
            &lt;line button=&quot;1&quot;&gt;<br>                &lt;featureID&gt;9&lt;/featureID&gt;<br>                &lt;featureLabel&gt;1000&lt;/featureLabel&gt;<br>                &lt;proxy&gt;USECALLMANAGER&lt;/proxy&gt;<br>
                &lt;port&gt;5060&lt;/port&gt;<br>                &lt;name&gt;1000&lt;/name&gt;<br>                &lt;displayName&gt;1000&lt;/displayName&gt;<br>                &lt;autoAnswer&gt;<br>                    &lt;autoAnswerEnabled&gt;2&lt;/autoAnswerEnabled&gt;<br>
                &lt;/autoAnswer&gt;<br>                &lt;callWaiting&gt;3&lt;/callWaiting&gt;<br>                &lt;authName&gt;1000&lt;/authName&gt;<br>                &lt;authPassword&gt;xxxx&lt;/authPassword&gt;<br>
                &lt;contact&gt;1000&lt;/contact&gt;<br>                &lt;sharedLine&gt;false&lt;/sharedLine&gt;<br>                &lt;messageWaitingLampPolicy&gt;1&lt;/messageWaitingLampPolicy&gt;<br>                &lt;messagesNumber&gt;121&lt;/messagesNumber&gt;<br>
                &lt;ringSettingIdle&gt;4&lt;/ringSettingIdle&gt;<br>                &lt;ringSettingActive&gt;5&lt;/ringSettingActive&gt;<br>                &lt;forwardCallInfoDisplay&gt;<br>                    &lt;callerName&gt;true&lt;/callerName&gt;<br>
                    &lt;callerNumber&gt;false&lt;/callerNumber&gt;<br>                    &lt;redirectedNumber&gt;false&lt;/redirectedNumber&gt;<br>                    &lt;dialedNumber&gt;true&lt;/dialedNumber&gt;<br>                &lt;/forwardCallInfoDisplay&gt;<br>
            &lt;/line&gt;<br>        &lt;/sipLines&gt;<br>        &lt;softKeyFile&gt;SoftKey.xml&lt;/softKeyFile&gt;<br>    &lt;/sipProfile&gt;<br>&lt;/device&gt;</div>
<div> </div>
<div>Andy</div>
<div> </div>
<div>W dniu 2013-06-11 15:28:14 użytkownik Cal Leeming [Simplicity Media Ltd] &lt;<a href="javascript:_e({}, &#39;cvml&#39;, &#39;cal.leeming@simplicitymedialtd.co.uk&#39;);" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt; napisał:</div>

<blockquote style="margin-left:7px;border-left:2px solid orange;padding-left:8px">Hello,
<div> </div>
<div>The phone shouldn&#39;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">&lt;<a href="javascript:_e({}, &#39;cvml&#39;, &#39;andpe@poczta.onet.pl&#39;);" target="_blank">andpe@poczta.onet.pl</a>&gt;</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  &quot;</span><span>TO</span><span>&quot; and &quot;</span><span>FROM&quot;</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({}, &#39;cvml&#39;, &#39;consulting@freeswitch.org&#39;);" 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({}, &#39;cvml&#39;, &#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" 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>