[Freeswitch-users] Hold is broken in trunk 16055

Brian West brian at freeswitch.org
Tue Dec 29 06:51:36 PST 2009


Also can you join #freeswitch-dev, include full siptrace+debug log and put it on pastebin.

What phone are you using?

/b

On Dec 29, 2009, at 1:14 AM, Lei Tang wrote:

> Hi, I think hold function in trunk 16055  is broken, I have also tried some old trunks,  it's ok in freeswitch 1.0.4.
> The problem is, when send reponse for re-invite request, fs didn't send any sdp content. 
> This problem is easy to reproduce, just call to fs, and press hold button,
> Follow are sip trace messages I catched, trunk 16055 and 1.0.4 are both included.
> 
> ====sip trace for trunk 16055
> ====re-invite request sent to fs when client hold the line
> INVITE sip:65960581 at 10.56.0.189:5060;transport=udp SIP/2.0
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c6494
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tUS6Q8KmtmDZe
> Call-Id: s264bdfe05129544c7e0a2c44408cb213
> Cseq: 12860 INVITE
> Contact: <sip:37186004616 at 10.56.90.223>
> Content-Type: application/sdp
> Content-Length: 462
> Date: Tue, 29 Dec 2009 06:53:53 GMT
> Max-Forwards: 70
> User-Agent: SipPhone
> Accept-Language: en
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PING, INFO, MESSAGE, REGISTER, NOTIFY
> Supported: replaces
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bad9a41468c5;rport
> 
> v=0
> o=sipX 5 6 IN IP4 0.0.0.0
> s=call
> c=IN IP4 0.0.0.0
> t=0 0
> m=audio 9000 RTP/AVP 0 8 96 113 113 113 113 3 97
> a=rtpmap:0 pcmu/8000/1
> a=rtpmap:8 pcma/8000/1
> a=rtpmap:96 telephone-event/8000/1
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=3
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=2
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=5
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=7
> a=rtpmap:3 gsm/8000/1
> a=rtpmap:97 ilbc/8000/1
> a=fmtp:97 mode=30
> a=ptime:30
> 
> 
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bad9a41468c5;rport=5060
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c6494
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tUS6Q8KmtmDZe
> Call-ID: s264bdfe05129544c7e0a2c44408cb213
> CSeq: 12860 INVITE
> User-Agent: PowerIVR
> Content-Length: 0
> 
> =====bad response sent by fs, sdp content is missing.
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bad9a41468c5;rport=5060
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c6494
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tUS6Q8KmtmDZe
> Call-ID: s264bdfe05129544c7e0a2c44408cb213
> CSeq: 12860 INVITE
> Contact: <sip:65960581 at 10.56.0.189:5060;transport=udp>
> User-Agent: PowerIVR
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, precondition, path, replaces
> Session-Expires: 120;refresher=uas
> Min-SE: 120
> Content-Length: 0
> 
> 
> ======sip trace for fs 1.0.4
> =====re-invite request sent to FS when client want to hold the all
> INVITE sip:65960581 at 10.56.0.189:5060;transport=udp SIP/2.0
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c8147
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tH78Sc30vXKXK
> Call-Id: s8fc27f8446522ddd375f0e20d43e5aad
> Cseq: 29657 INVITE
> Contact: <sip:37186004616 at 10.56.90.223>
> Content-Type: application/sdp
> Content-Length: 463
> Date: Tue, 29 Dec 2009 03:20:14 GMT
> Max-Forwards: 70
> User-Agent: SipPhone
> Accept-Language: en
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PING, INFO, MESSAGE, REGISTER, NOTIFY
> Supported: replaces
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bbdf6f9a536f;rport
> 
> v=0
> o=sipX 5 34 IN IP4 0.0.0.0
> s=call
> c=IN IP4 0.0.0.0
> t=0 0
> m=audio 9002 RTP/AVP 0 8 96 113 113 113 113 3 97
> a=rtpmap:0 pcmu/8000/1
> a=rtpmap:8 pcma/8000/1
> a=rtpmap:96 telephone-event/8000/1
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=3
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=2
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=5
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=7
> a=rtpmap:3 gsm/8000/1
> a=rtpmap:97 ilbc/8000/1
> a=fmtp:97 mode=30
> a=ptime:30
> 
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bbdf6f9a536f;rport=5060
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c8147
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tH78Sc30vXKXK
> Call-ID: s8fc27f8446522ddd375f0e20d43e5aad
> CSeq: 29657 INVITE
> User-Agent: PowerIVR
> Content-Length: 0
> 
> ===repsonse sent by fs, there is correct sdp content.
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bbdf6f9a536f;rport=5060
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c8147
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tH78Sc30vXKXK
> Call-ID: s8fc27f8446522ddd375f0e20d43e5aad
> CSeq: 29657 INVITE
> Contact: <sip:65960581 at 10.56.0.189:5060;transport=udp>
> User-Agent: PowerIVR
> Accept: application/sdp
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> Supported: timer, precondition, path, replaces
> Session-Expires: 120;refresher=uas
> Min-SE: 120
> Content-Type: application/sdp
> Content-Disposition: session
> Content-Length: 254
> 
> v=0
> o=FreeSWITCH 1262028193 1262028195 IN IP4 10.56.0.189
> s=FreeSWITCH
> c=IN IP4 10.56.0.189
> t=0 0
> m=audio 28606 RTP/AVP 8 96
> a=rtpmap:8 pcma/8000
> a=rtpmap:96 telephone-event/8000
> a=fmtp:96 0-16
> a=recvonly
> a=silenceSupp:off - - - -
> a=ptime:20
> 
> ACK sip:65960581 at 10.56.0.189:5060;transport=udp SIP/2.0
> Contact: <sip:37186004616 at 10.56.90.223>
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c8147
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tH78Sc30vXKXK
> Call-Id: s8fc27f8446522ddd375f0e20d43e5aad
> Cseq: 29657 ACK
> Date: Tue, 29 Dec 2009 03:20:15 GMT
> Max-Forwards: 70
> User-Agent: SipPhone
> Accept-Language: en
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bbdf6f9a536f;rport
> Content-Length: 0
> 
> INVITE sip:65960581 at 10.56.0.189:5060;transport=udp SIP/2.0
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c8147
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tH78Sc30vXKXK
> Call-Id: s8fc27f8446522ddd375f0e20d43e5aad
> Cseq: 29658 INVITE
> Contact: <sip:37186004616 at 10.56.90.223>
> Content-Type: application/sdp
> Content-Length: 473
> Date: Tue, 29 Dec 2009 03:20:18 GMT
> Max-Forwards: 70
> User-Agent: SipPhone
> Accept-Language: en
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PING, INFO, MESSAGE, REGISTER, NOTIFY
> Supported: replaces
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-01413ea87577;rport
> 
> v=0
> o=sipX 5 35 IN IP4 10.56.90.223
> s=call
> c=IN IP4 10.56.90.223
> t=0 0
> m=audio 9002 RTP/AVP 0 8 96 113 113 113 113 3 97
> a=rtpmap:0 pcmu/8000/1
> a=rtpmap:8 pcma/8000/1
> a=rtpmap:96 telephone-event/8000/1
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=3
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=2
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=5
> a=rtpmap:113 speex/8000/1
> a=fmtp:113 mode=7
> a=rtpmap:3 gsm/8000/1
> a=rtpmap:97 ilbc/8000/1
> a=fmtp:97 mode=30
> a=ptime:30
> 
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-01413ea87577;rport=5060
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c8147
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tH78Sc30vXKXK
> Call-ID: s8fc27f8446522ddd375f0e20d43e5aad
> CSeq: 29658 INVITE
> User-Agent: PowerIVR
> Content-Length: 0
> 
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-01413ea87577;rport=5060
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c8147
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tH78Sc30vXKXK
> Call-ID: s8fc27f8446522ddd375f0e20d43e5aad
> CSeq: 29658 INVITE
> Contact: <sip:65960581 at 10.56.0.189:5060;transport=udp>
> User-Agent: PowerIVR
> Accept: application/sdp
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> Supported: timer, precondition, path, replaces
> Session-Expires: 120;refresher=uas
> Min-SE: 120
> Content-Type: application/sdp
> Content-Disposition: session
> Content-Length: 242
> 
> v=0
> o=FreeSWITCH 1262028193 1262028196 IN IP4 10.56.0.189
> s=FreeSWITCH
> c=IN IP4 10.56.0.189
> t=0 0
> m=audio 28606 RTP/AVP 8 96
> a=rtpmap:8 pcma/8000
> a=rtpmap:96 telephone-event/8000
> a=fmtp:96 0-16
> a=silenceSupp:off - - - -
> a=ptime:20
> ACK sip:65960581 at 10.56.0.189:5060;transport=udp SIP/2.0
> Contact: <sip:37186004616 at 10.56.90.223>
> From: <sip:37186004616 at 10.56.0.189:5060>;tag=1c8147
> To: <sip:65960581 at 10.56.0.189:5060>;tag=tH78Sc30vXKXK
> Call-Id: s8fc27f8446522ddd375f0e20d43e5aad
> Cseq: 29658 ACK
> Date: Tue, 29 Dec 2009 03:20:19 GMT
> Max-Forwards: 70
> User-Agent: SipPhone
> Accept-Language: en
> Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-01413ea87577;rport
> Content-Length: 0
>    
> 
> -- 
> Lei.Tang
> lei.tlfly at gmail.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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091229/5412677f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list