[Freeswitch-users] Problem with SIP INVITE

Shishko shishko69 at gmail.com
Sat Sep 15 14:08:14 MSD 2012


Thanks, Kristian.

On Fri, Sep 14, 2012 at 3:32 PM, Kristian Kielhofner <kris at kriskinc.com> wrote:
> With late-negotiation the offer/answer model still applies.  They
> should be sending you an SDP in the ACK to your 200 OK.  They aren't.
> Their stuff is broken.
>
> On Fri, Sep 14, 2012 at 4:33 AM, Shishko <shishko69 at gmail.com> wrote:
>> Hi,
>>
>> one of my ITSP is using Cisco 2811 (IOS 12.4) as H.323 to SIP gateway
>> for SIP trunk to my Freeswitch.
>> I noticed that it sends INVITE message without SDP, and then Freeswitch
>> terminates the call.
>> I tried using 3pcc parameter as "proxy" and as "true", but no avail.
>>
>> Is this expected behavior, and could I fix it somehow?
>>
>> Here's SIP trace:
>>
>> ------------------------------------------------------------------------
>> recv 784 bytes from udp/[192.168.117.8]:51358 at 08:06:51.013018:
>> ------------------------------------------------------------------------
>>     INVITE sip:100965461 at 192.168.117.9:5060 SIP/2.0
>>     Via: SIP/2.0/UDP  192.168.117.8:5060;branch=z9hG4bK721016
>>     From: <sip:xxxxxxxxxxxx at 192.168.117.8>;tag=21811124-711
>>     To: <sip:100965461 at 192.168.117.9>
>>     Date: Fri, 14 Sep 2012 08:07:14 GMT
>>     Call-ID: 6DE7A86-FD7A11E1-859AE929-E0E81CE1 at 192.168.117.8
>>     Supported: 100rel,timer,replaces
>>     Min-SE:  1800
>>     Cisco-Guid: 2649593691-218042625-2288844833-673556762
>>     User-Agent: Cisco-SIPGateway/IOS-12.x
>>     Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER,
>> SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER
>>     CSeq: 101 INVITE
>>     Max-Forwards: 70
>>     Remote-Party-ID:
>> <sip:xxxxxxxxxxxx at 192.168.117.8>;party=calling;screen=yes;privacy=off
>>     Timestamp: 1347610034
>>     Contact: <sip:xxxxxxxxxxxx at 192.168.117.8:5060>
>>     Expires: 180
>>     Allow-Events: telephone-event
>>
>> ------------------------------------------------------------------------
>> send 372 bytes to udp/[192.168.117.8]:5060 at 08:06:51.013018:
>> ------------------------------------------------------------------------
>>     SIP/2.0 100 Trying
>>     Via: SIP/2.0/UDP  192.168.117.8:5060;branch=z9hG4bK721016
>>     From: <sip:xxxxxxxxxxxx at 192.168.117.8>;tag=21811124-711
>>     To: <sip:100965461 at 192.168.117.9>
>>     Call-ID: 6DE7A86-FD7A11E1-859AE929-E0E81CE1 at 192.168.117.8
>>     CSeq: 101 INVITE
>>     Timestamp: 1347610034 0.000000
>>     User-Agent: FreeSWITCH-mod_sofia/1.3.0+git~20120907T231757Z~c2893801cb
>>     Content-Length: 0
>>
>> ------------------------------------------------------------------------
>> send 889 bytes to udp/[192.168.117.8]:5060 at 08:06:51.036020:
>> ------------------------------------------------------------------------
>>     SIP/2.0 200 OK
>>     Via: SIP/2.0/UDP  192.168.117.8:5060;branch=z9hG4bK721016
>>     From: <sip:xxxxxxxxxxxx at 192.168.117.8>;tag=21811124-711
>>     To: <sip:100965461 at 192.168.117.9>;tag=vUg243Ng67UHD
>>     Call-ID: 6DE7A86-FD7A11E1-859AE929-E0E81CE1 at 192.168.117.8
>>     CSeq: 101 INVITE
>>     Contact: <sip:mod_sofia at 192.168.117.9:5060>
>>     User-Agent: FreeSWITCH-mod_sofia/1.3.0+git~20120907T231757Z~c2893801cb
>>     Accept: application/sdp
>>     Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>> REGISTER, REFER, NOTIFY
>>     Supported: timer, precondition, path, replaces
>>     Allow-Events: talk, hold, conference, refer
>>     Min-SE: 1800
>>     Content-Type: application/sdp
>>     Content-Disposition: session
>>     Content-Length: 205
>>
>>     v=0
>>     o=FreeSWITCH 1347586709 1347586710 IN IP4 192.168.117.9
>>     s=FreeSWITCH
>>     c=IN IP4 192.168.117.9
>>     t=0 0
>>     m=audio 23302 RTP/AVP 8 0 101 13
>>     a=rtpmap:101 telephone-event/8000
>>     a=fmtp:101 0-16
>>     a=ptime:20
>> ------------------------------------------------------------------------
>> recv 364 bytes from udp/[192.168.117.8]:51358 at 08:06:51.041020:
>> ------------------------------------------------------------------------
>>     ACK sip:mod_sofia at 192.168.117.9:5060 SIP/2.0
>>     Via: SIP/2.0/UDP  192.168.117.8:5060;branch=z9hG4bK731155
>>     From: <sip:xxxxxxxxxxxx at 192.168.117.8>;tag=21811124-711
>>     To: <sip:100965461 at 192.168.117.9>;tag=vUg243Ng67UHD
>>     Date: Fri, 14 Sep 2012 08:07:14 GMT
>>     Call-ID: 6DE7A86-FD7A11E1-859AE929-E0E81CE1 at 192.168.117.8
>>     Max-Forwards: 70
>>     CSeq: 101 ACK
>>     Content-Length: 0
>>
>> ------------------------------------------------------------------------
>> send 645 bytes to udp/[192.168.117.8]:5060 at 08:06:51.041020:
>> ------------------------------------------------------------------------
>>     BYE sip:xxxxxxxxxxxx at 192.168.117.8:5060 SIP/2.0
>>     Via: SIP/2.0/UDP 192.168.117.9;rport;branch=z9hG4bKvBN2ZB9DZKZ6c
>>     Max-Forwards: 70
>>     From: <sip:100965461 at 192.168.117.9>;tag=vUg243Ng67UHD
>>     To: <sip:xxxxxxxxxxxx at 192.168.117.8>;tag=21811124-711
>>     Call-ID: 6DE7A86-FD7A11E1-859AE929-E0E81CE1 at 192.168.117.8
>>     CSeq: 33468941 BYE
>>     Contact: <sip:mod_sofia at 192.168.117.9:5060>
>>     User-Agent: FreeSWITCH-mod_sofia/1.3.0+git~20120907T231757Z~c2893801cb
>>     Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>> REGISTER, REFER, NOTIFY
>>     Supported: timer, precondition, path, replaces
>>     Reason: SIP;cause=488;text="No answer to offer"
>>     Content-Length: 0
>>
>> ------------------------------------------------------------------------
>> recv 426 bytes from udp/[192.168.117.8]:51358 at 08:06:51.042020:
>> ------------------------------------------------------------------------
>>     BYE sip:mod_sofia at 192.168.117.9:5060 SIP/2.0
>>     Via: SIP/2.0/UDP  192.168.117.8:5060;branch=z9hG4bK741AD7
>>     From: <sip:xxxxxxxxxxxx at 192.168.117.8>;tag=21811124-711
>>     To: <sip:100965461 at 192.168.117.9>;tag=vUg243Ng67UHD
>>     Date: Fri, 14 Sep 2012 08:07:14 GMT
>>     Call-ID: 6DE7A86-FD7A11E1-859AE929-E0E81CE1 at 192.168.117.8
>>     User-Agent: Cisco-SIPGateway/IOS-12.x
>>     Max-Forwards: 70
>>     Timestamp: 1347610034
>>     CSeq: 102 BYE
>>     Content-Length: 0
>>
>> ------------------------------------------------------------------------
>> send 387 bytes to udp/[192.168.117.8]:5060 at 08:06:51.042020:
>> ------------------------------------------------------------------------
>>     SIP/2.0 100 Trying
>>     Via: SIP/2.0/UDP  192.168.117.8:5060;branch=z9hG4bK741AD7
>>     From: <sip:xxxxxxxxxxxx at 192.168.117.8>;tag=21811124-711
>>     To: <sip:100965461 at 192.168.117.9>;tag=vUg243Ng67UHD
>>     Call-ID: 6DE7A86-FD7A11E1-859AE929-E0E81CE1 at 192.168.117.8
>>     CSeq: 102 BYE
>>     Timestamp: 1347610034 0.000000
>>     User-Agent: FreeSWITCH-mod_sofia/1.3.0+git~20120907T231757Z~c2893801cb
>>     Content-Length: 0
>>
>> ------------------------------------------------------------------------
>> send 510 bytes to udp/[192.168.117.8]:5060 at 08:06:51.043021:
>> ------------------------------------------------------------------------
>>     SIP/2.0 480 Temporarily Unavailable
>>     Via: SIP/2.0/UDP  192.168.117.8:5060;branch=z9hG4bK741AD7
>>     From: <sip:xxxxxxxxxxxx at 192.168.117.8>;tag=21811124-711
>>     To: <sip:100965461 at 192.168.117.9>;tag=vUg243Ng67UHD
>>     Call-ID: 6DE7A86-FD7A11E1-859AE929-E0E81CE1 at 192.168.117.8
>>     CSeq: 102 BYE
>>     User-Agent: FreeSWITCH-mod_sofia/1.3.0+git~20120907T231757Z~c2893801cb
>>     Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>> REGISTER, REFER, NOTIFY
>>     Supported: timer, precondition, path, replaces
>>     Content-Length: 0
>>
>> ------------------------------------------------------------------------
>> recv 363 bytes from udp/[192.168.117.8]:5060 at 08:06:51.046021:
>> ------------------------------------------------------------------------
>>     SIP/2.0 200 OK
>>     Via: SIP/2.0/UDP 192.168.117.9;rport;branch=z9hG4bKvBN2ZB9DZKZ6c
>>     From: <sip:100965461 at 192.168.117.9>;tag=vUg243Ng67UHD
>>     To: <sip:xxxxxxxxxxxx at 192.168.117.8>;tag=21811124-711
>>     Date: Fri, 14 Sep 2012 08:07:14 GMT
>>     Call-ID: 6DE7A86-FD7A11E1-859AE929-E0E81CE1 at 192.168.117.8
>>     Server: Cisco-SIPGateway/IOS-12.x
>>     Content-Length: 0
>>     CSeq: 33468941 BYE
>>
>> ------------------------------------------------------------------------
>>
>> Thanks,
>>
>> Denis
>>
>> _________________________________________________________________________
>> 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
>
> _________________________________________________________________________
> 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



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