<div>Hi</div>
<div> </div>
<div><span id="result_box" lang="en"><span class="hps">I've seen</span> <span class="hps">once</span> <span class="hps">your</span> <span class="hps alt-edited">article</span> <span class="hps">:-)</span> <span class="hps">It is very</span> <span class="hps">interesting</span><span>.</span><br /><br /><span class="hps">However</span><span>,</span> <span class="hps">C</span> <span class="hps">7931</span> <span class="hps">phone</span> <span class="hps">behaves</span> <span class="hps">as</span> <span class="hps">described.</span> <span class="hps">I</span> <span class="hps">hope this is</span> <span class="hps">a</span> <span class="hps">configuration error</span><span>.</span> <span class="hps">Without</span> <span class="hps">the correct value</span> "<span class="hps">realm</span>" <span class="hps">I can not use</span> <span class="hps">multitenant</span> <span class="hps">in</span> <span class="hps">FreeSWITCH</span><span>.</span> <span class="hps">I send</span> <span class="hps">you</span> <span class="hps">the configuration.</span><br /><span class="hps"> </span></span></div>
<div> </div>
<div><span id="result_box" lang="en"><span class="hps">In</span> <span class="hps">wireshark</span> <span class="hps">I see that</span> <span class="hps">TO and</span> <span class="hps">FROM</span> <span class="hps">fields</span> <span class="hps">contain the</span> <span class="hps">IP</span> <span class="hps">and not the</span> <span class="hps">realm</span> <span class="hps atn">(</span><span>domain name</span><span>)</span><span>.</span><br /><span class="hps">No matter how</span> <span class="hps">I</span> <span class="hps">set to</span> <span class="hps atn">challenge-</span><span>realm</span> <span class="hps">in</span> <span class="hps">FreeSWITCH</span> <span class="hps atn">(</span><span>auto_from</span> <span class="hps">or</span> <span class="hps">auto_to</span><span>)</span><span>.</span> <span class="hps">Anyway,</span> <span class="hps">this is understandable</span> <span class="hps">when the phone</span> <span class="hps">sends</span> <span class="hps">the</span> <span class="hps">wrong</span> <span class="hps">as I</span> <span class="hps">had expected</span><span>.</span> <span class="hps">In FreeSWITCH</span> <span class="hps">console,</span> <span class="hps">I get the message</span><span>:</span><br /><br /><span class="hps">[WARNING</span><span>]</span> <span class="hps">sofia_reg.c</span><span>:</span> <span class="hps">2515</span> <span class="hps">Can not find</span> <span class="hps atn">user [</span><span>1000</span> <span class="hps">@</span> <span class="hps">abcd</span><span>]</span> <span class="hps">from</span> <span class="hps">abcf</span><br /><span class="hps">You must</span> <span class="hps">define</span> <span class="hps">a</span> <span class="hps">domain</span> <span class="hps">called</span> <span class="hps atn">'</span><span>ABCD</span><span>'</span> <span class="hps">in your</span> <span class="hps">directory</span> <span class="hps">and</span> <span class="hps">add a</span> <span class="hps">user</span> <span class="hps">with the</span> <span class="hps">id</span> <span class="hps atn">= "</span><span>1000</span><span>" attribute</span> <span class="hps">and you</span> <span class="hps">must</span> <span class="hps">configure</span> <span class="hps">your</span> <span class="hps">device</span> <span class="hps">to use</span> <span class="hps">the</span> <span class="hps">proper</span> <span class="hps">domain</span> <span class="hps">in it</span><span>'s</span> <span class="hps">authentication</span> <span class="hps">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] <cal.leeming@simplicitymedialtd.co.uk> napisał:</div>
<blockquote class="onetQuote" 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="mailto: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="mailto: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="mailto: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>