Hi All,<div><br></div><div>I've been doing some testing against FreeSwitch 1.2.0 and noticed what looks like a bug.</div><div><br></div><div><div>root@Freeswitch> version</div><div><br></div><div>FreeSWITCH Version 1.2.0-rc2+git~20120616T193227Z~068586f28f+unclean~20120618T093505Z</div>
</div><div><br></div><div><br></div><div>192.168.8.238 = Freeswitch</div><div>192.168.8.168 = <a href="http://proxyhost.test.net" target="_blank">proxyhost.test.net</a></div><div><br></div><div><br></div><div>A Client sends the following SUBSCRIBE to freeswitch</div>
<div><br></div><div><br></div><div><div>SUBSCRIBE <a href="mailto:sip%3A2001@proxyhost.test.net" target="_blank">sip:2001@proxyhost.test.net</a> SIP/2.0</div><div>Call-ID: <a href="mailto:2039516157894306129@192.168.8.168" target="_blank">2039516157894306129@192.168.8.168</a></div>
<div>Via: SIP/2.0/UDP 192.168.8.168:5070;branch=z9hG4bKC0A808A82E8652DB03</div><div>Via: SIP/2.0/UDP 192.168.8.168:5070;branch=z9hG4bKC0A808A82E8652DB11</div><div>To: <a href="mailto:sip%3A2001@proxyhost.test.net" target="_blank">sip:2001@proxyhost.test.net</a></div>
<div>CSeq: 1 SUBSCRIBE</div><div>Contact: <sip:<a href="http://proxyhost.test.net:5060" target="_blank">proxyhost.test.net:5060</a>></div><div>From: <a href="mailto:sip%3A2001@proxyhost.test.net" target="_blank">sip:2001@proxyhost.test.net</a>;tag=1297284766*476741369860*990463165~476741369860~fmc.sar~</div>
<div>Content-Length: 0</div><div>Expires: 3600</div><div>Event: message-summary</div><div>Accept: application/simple-message-summary</div><div>Route: <sip:192.168.8.238;lr></div><div>Max-Forwards: 69</div><div><br>
</div>
</div><div><br></div><div>FreeSwitch responds with:</div><div><br></div><div><br></div><div><div>SIP/2.0 202 Accepted</div><div>Via: SIP/2.0/UDP 192.168.8.168:5070;branch=z9hG4bKC0A808A82E8652DB03</div><div>Via: SIP/2.0/UDP 192.168.8.168:5070;branch=z9hG4bKC0A808A82E8652DB11</div>
<div>From: <<a href="mailto:sip%3A2001@proxyhost.test.net" target="_blank">sip:2001@proxyhost.test.net</a>>;tag=1297284766*476741369860*990463165~476741369860~fmc.sar~</div><div>To: <<a href="mailto:sip%3A2001@proxyhost.test.net" target="_blank">sip:2001@proxyhost.test.net</a>>;tag=9t8fu6DedmnQ</div>
<div>Call-ID: <a href="mailto:2039516157894306129@192.168.8.168" target="_blank">2039516157894306129@192.168.8.168</a></div><div>CSeq: 1 SUBSCRIBE</div><div>Contact: <<a href="http://sip:2001@192.168.8.238:5060" target="_blank">sip:2001@192.168.8.238:5060</a>></div>
<div>Expires: 3600</div><div>User-Agent: FreeSWITCH-mod_sofia/1.2.0-rc2+git~20120616T193227Z~068586f28f+unclean~20120618T093505Z</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</div>
<div>Supported: timer, precondition, path, replaces</div><div>Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer</div><div>Subscription-State: active;expires=3600</div>
<div>Content-Length: 0</div><div><br></div><div>So I would expect subsequent NOTIFY messages to be send to the address & port in the contact: sip:
<a href="http://proxyhost.test.net:5060" target="_blank">proxyhost.test.net:5060</a> (contact header from SUBSCRIBE)</div><div><br></div><div>However I do not see the NOTIFY requests arrive at sip:<a href="http://proxyhost.test.net" target="_blank">proxyhost.test.net</a> on port 5060, a wireshark trace on FreeSwitch says is sending them to a different port, port 33406 which is the port Freeswitch received the request on.</div>
<div><br></div><div><br></div><div>This is how the packet looks in WireShark:</div><div><br></div><div>Ethernet II, Src: 42:61:a8:ef:c3:de (42:61:a8:ef:c3:de), Dst: 96:cd:bb:a4:a4:2e (96:cd:bb:a4:a4:2e)</div><div>Internet Protocol Version 4, Src: 192.168.8.238 (192.168.8.238), Dst: 192.168.8.168 (192.168.8.168)</div>
<div>User Datagram Protocol, Src Port: sip (5060), Dst Port: 34406 (34406) **Would expect this to be 5060**</div><div>Request-Line: NOTIFY sip:<a href="http://proxyhost.test.net:5060" target="_blank">proxyhost.test.net:5060</a> SIP/2.0</div>
<div><br></div><div>I thought this defect might be in the ball park:</div><div><br></div><div><a href="http://jira.freeswitch.org/browse/FS-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel" target="_blank">http://jira.freeswitch.org/browse/FS-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel</a>
</div><div><br></div><div><br></div><div>Anyone seen this?</div><div><br></div><div>To resolve I used TCP instead of UDP but wanted to flag it up to see if anyone else had seen it</div><div><br></div><div><br></div><div>
Regards</div><div><br></div><div>Steve P</div><div><br></div><div><br></div><div><br></div></div>
<div><br></div>
<pre>
--------------------
Note: The information contained in this message may be privileged and confidential
and protected from disclosure. If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Thrupoint, Inc.