[Freeswitch-users] Specifying Port on Record-Route header

Kristian Kielhofner kris at kriskinc.com
Fri Mar 30 23:00:38 MSD 2012


Do you have a full trace of the interaction between the various
components?  It's not completely clear what's going on from these two
packets.

On Fri, Mar 30, 2012 at 11:44 AM, Thomas McCarthy-Howe
<ghostofbasho at gmail.com> wrote:
> Hi all -
>
> I'm trying to configure my FS box to run on the same server as an OpenSIPs
> instance, and I think I'm having a problem because, when FS adds a
> Record-Route header to the 200 OK, it does not specify the port. So, my
> endpoint is sending the ACK back to OpenSIPs, not to FS, and it keeps
> looping on me.
>
> The 200 OK from FS running on port 5070:
> 15:21:29.330683 IP 192.168.153.13.vtsas > 192.168.153.13.sip: SIP, length:
> 1044
> E..0.N.. at .
> ........SIP/2.0 200 OK
> Via: SIP/2.0/UDP 192.168.153.13;branch=z9hG4bK36e1.59a34dc3.0
> Via: SIP/2.0/UDP 192.168.153.28;branch=z9hG4bKebe2bd1a967399c3d
> Record-Route: <sip:192.168.153.13;lr=on>
> From: <sip:D05 at 192.168.153.13>;tag=8739e6ff4f
> To: <sip:MEETME01 at 192.168.153.13>;tag=F5yXe7FeFH6jg
> Call-ID: c0bd06789074500d
> CSeq: 498777857 INVITE
> Contact: <sip:MEETME01 at 192.168.153.13:5070;transport=udp>
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-62c6855 2012-02-27 13-28-27
> -0600
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER,
> REFER, NOTIFY
> Supported: timer, precondition, path, replaces
> Allow-Events: talk, hold, refer
> Content-Type: application/sdp
> Content-Disposition: session
> Content-Length: 217
> Remote-Party-ID: "MEETME01"
> <sip:MEETME01 at 192.168.153.13>;party=calling;privacy=off;screen=no
>
> v=0
> o=FreeSWITCH 1333103289 1333103290 IN IP4 192.168.153.13
> s=FreeSWITCH
> c=IN IP4 192.168.153.13
> t=0 0
> m=audio 17600 RTP/AVP 0
> a=rtpmap:0 PCMU/8000
> a=silenceSupp:off - - - -
> a=ptime:10
> m=audio 0 RTP/AVP 19
>
>
> The ACK comes back to 5060, and loops:
>
>
> 15:21:29.338255 IP 192.168.153.13.sip > 192.168.153.13.sip: SIP, length: 599
> ....._..ACK sip:192.168.153.13;lr=on SIP/2.0
> Via: SIP/2.0/UDP 192.168.153.13;branch=z9hG4bK36e1.59a34dc3.2
> Via: SIP/2.0/UDP 192.168.153.28;branch=z9hG4bK01e5c3b7e9a67e0dd
> Proxy-Authorization: Digest
> username="D05",realm="192.168.153.13",nonce="4f75cf9700005326420497c8c462fb80c60a857e0d0049ee",uri="sip:MEETME01 at 192.168.153.13",response="961b9d5a496f610d10fd136fecf0291c"
> Max-Forwards: 69
> From: <sip:D05 at 192.168.153.13>;tag=8739e6ff4f
> To: <sip:MEETME01 at 192.168.153.13>;tag=F5yXe7FeFH6jg
> Call-ID: c0bd06789074500d
> CSeq: 498777857 ACK
> User-Agent: ATC ION M5T SIP Stack/4.1.8.13
> Content-Length: 0
>
>
> Any thoughts?
>
> Thanks in advance.
> Thomas
>
>
> --
> Thomas McCarthy-Howe
> Sent with Sparrow
>
>
> _________________________________________________________________________
> 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
>



-- 
Kristian Kielhofner



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list