Hi Brian, thanks for your help, I am using FS in proxy media mode. the sip agent I'm using is x-lite and wxCommunicator.<br>I will test if trunk 16055 work when I set proxy media mode to false tomorrow.<br><br><div class="gmail_quote">
2009/12/29 Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;">Hold is working fine I just tested it... I would need to see the whole dialog to see what is wrong... I tested with Polycom, Snom and Aastra.<div><br></div><div>Are you doing proxy media or anything like that?<br>
<div><br></div><div>/b</div><div><br><div><div><div></div><div class="h5"><div>On Dec 29, 2009, at 1:14 AM, Lei Tang wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="h5">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.<br>
The problem is, when send reponse for re-invite request, fs didn't send any sdp content. <br>
This problem is easy to reproduce, just call to fs, and press hold button,<br>Follow are sip trace messages I catched, trunk 16055 and 1.0.4 are both included.<br><br>====sip trace for trunk 16055<br>====re-invite request sent to fs when client hold the line<br>
INVITE <a>sip:65960581@10.56.0.189:5060;transport=udp</a> SIP/2.0<br>From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c6494<br>To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tUS6Q8KmtmDZe<br>
Call-Id: s264bdfe05129544c7e0a2c44408cb213<br>Cseq: 12860 INVITE<br>Contact: <<a href="mailto:sip%3A37186004616@10.56.90.223" target="_blank">sip:37186004616@10.56.90.223</a>><br>Content-Type: application/sdp<br>Content-Length: 462<br>
Date: Tue, 29 Dec 2009 06:53:53 GMT<br>Max-Forwards: 70<br>User-Agent: SipPhone<br>Accept-Language: en<br>Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PING, INFO, MESSAGE, REGISTER, NOTIFY<br>Supported: replaces<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bad9a41468c5;rport<br>
<br>v=0<br>o=sipX 5 6 IN IP4 0.0.0.0<br>s=call<br>c=IN IP4 0.0.0.0<br>t=0 0<br>m=audio 9000 RTP/AVP 0 8 96 113 113 113 113 3 97<br>a=rtpmap:0 pcmu/8000/1<br>a=rtpmap:8 pcma/8000/1<br>a=rtpmap:96 telephone-event/8000/1<br>
a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=3<br>a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=2<br>a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=5<br>a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=7<br>a=rtpmap:3 gsm/8000/1<br>
a=rtpmap:97 ilbc/8000/1<br>a=fmtp:97 mode=30<br>a=ptime:30<br><br><br>SIP/2.0 100 Trying<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bad9a41468c5;rport=5060<br>From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c6494<br>
To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tUS6Q8KmtmDZe<br>Call-ID: s264bdfe05129544c7e0a2c44408cb213<br>CSeq: 12860 INVITE<br>User-Agent: PowerIVR<br>
Content-Length: 0<br>
<br>=====bad response sent by fs, sdp content is missing.<br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bad9a41468c5;rport=5060<br>From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c6494<br>
To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tUS6Q8KmtmDZe<br>Call-ID: s264bdfe05129544c7e0a2c44408cb213<br>CSeq: 12860 INVITE<br>Contact: <<a>sip:65960581@10.56.0.189:5060;transport=udp</a>><br>
User-Agent: PowerIVR<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<br>Supported: timer, precondition, path, replaces<br>Session-Expires: 120;refresher=uas<br>
Min-SE: 120<br>Content-Length: 0<br><br><br>======sip trace for fs 1.0.4<br>=====re-invite request sent to FS when client want to hold the all<br>INVITE <a>sip:65960581@10.56.0.189:5060;transport=udp</a> SIP/2.0<br>From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c8147<br>
To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tH78Sc30vXKXK<br>Call-Id: s8fc27f8446522ddd375f0e20d43e5aad<br>Cseq: 29657 INVITE<br>Contact: <<a href="mailto:sip%3A37186004616@10.56.90.223" target="_blank">sip:37186004616@10.56.90.223</a>><br>
Content-Type: application/sdp<br>Content-Length: 463<br>Date: Tue, 29 Dec 2009 03:20:14 GMT<br>Max-Forwards: 70<br>User-Agent: SipPhone<br>Accept-Language: en<br>Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PING, INFO, MESSAGE, REGISTER, NOTIFY<br>
Supported: replaces<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bbdf6f9a536f;rport<br><br>v=0<br>o=sipX 5 34 IN IP4 0.0.0.0<br>s=call<br>c=IN IP4 0.0.0.0<br>t=0 0<br>m=audio 9002 RTP/AVP 0 8 96 113 113 113 113 3 97<br>
a=rtpmap:0 pcmu/8000/1<br>a=rtpmap:8 pcma/8000/1<br>a=rtpmap:96 telephone-event/8000/1<br>a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=3<br>a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=2<br>a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=5<br>
a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=7<br>a=rtpmap:3 gsm/8000/1<br>a=rtpmap:97 ilbc/8000/1<br>a=fmtp:97 mode=30<br>a=ptime:30<br><br>SIP/2.0 100 Trying<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bbdf6f9a536f;rport=5060<br>
From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c8147<br>To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tH78Sc30vXKXK<br>
Call-ID: s8fc27f8446522ddd375f0e20d43e5aad<br>CSeq: 29657 INVITE<br>User-Agent: PowerIVR<br>Content-Length: 0<br><br>===repsonse sent by fs, there is correct sdp content.<br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bbdf6f9a536f;rport=5060<br>
From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c8147<br>To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tH78Sc30vXKXK<br>
Call-ID: s8fc27f8446522ddd375f0e20d43e5aad<br>CSeq: 29657 INVITE<br>Contact: <<a>sip:65960581@10.56.0.189:5060;transport=udp</a>><br>User-Agent: PowerIVR<br>Accept: application/sdp<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH<br>
Supported: timer, precondition, path, replaces<br>Session-Expires: 120;refresher=uas<br>Min-SE: 120<br>Content-Type: application/sdp<br>Content-Disposition: session<br>Content-Length: 254<br><br>v=0<br>o=FreeSWITCH 1262028193 1262028195 IN IP4 10.56.0.189<br>
s=FreeSWITCH<br>c=IN IP4 10.56.0.189<br>t=0 0<br>m=audio 28606 RTP/AVP 8 96<br>a=rtpmap:8 pcma/8000<br>a=rtpmap:96 telephone-event/8000<br>a=fmtp:96 0-16<br>a=recvonly<br>a=silenceSupp:off - - - -<br>a=ptime:20<br><br>ACK <a>sip:65960581@10.56.0.189:5060;transport=udp</a> SIP/2.0<br>
Contact: <<a href="mailto:sip%3A37186004616@10.56.90.223" target="_blank">sip:37186004616@10.56.90.223</a>><br>From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c8147<br>
To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tH78Sc30vXKXK<br>
Call-Id: s8fc27f8446522ddd375f0e20d43e5aad<br>Cseq: 29657 ACK<br>Date: Tue, 29 Dec 2009 03:20:15 GMT<br>Max-Forwards: 70<br>User-Agent: SipPhone<br>Accept-Language: en<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-bbdf6f9a536f;rport<br>
Content-Length: 0<br><br>INVITE <a>sip:65960581@10.56.0.189:5060;transport=udp</a> SIP/2.0<br>From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c8147<br>
To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tH78Sc30vXKXK<br>
Call-Id: s8fc27f8446522ddd375f0e20d43e5aad<br>Cseq: 29658 INVITE<br>Contact: <<a href="mailto:sip%3A37186004616@10.56.90.223" target="_blank">sip:37186004616@10.56.90.223</a>><br>Content-Type: application/sdp<br>Content-Length: 473<br>
Date: Tue, 29 Dec 2009 03:20:18 GMT<br>Max-Forwards: 70<br>User-Agent: SipPhone<br>Accept-Language: en<br>Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PING, INFO, MESSAGE, REGISTER, NOTIFY<br>Supported: replaces<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-01413ea87577;rport<br>
<br>v=0<br>o=sipX 5 35 IN IP4 10.56.90.223<br>s=call<br>c=IN IP4 10.56.90.223<br>t=0 0<br>m=audio 9002 RTP/AVP 0 8 96 113 113 113 113 3 97<br>a=rtpmap:0 pcmu/8000/1<br>a=rtpmap:8 pcma/8000/1<br>a=rtpmap:96 telephone-event/8000/1<br>
a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=3<br>a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=2<br>a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=5<br>a=rtpmap:113 speex/8000/1<br>a=fmtp:113 mode=7<br>a=rtpmap:3 gsm/8000/1<br>
a=rtpmap:97 ilbc/8000/1<br>a=fmtp:97 mode=30<br>a=ptime:30<br><br>SIP/2.0 100 Trying<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-01413ea87577;rport=5060<br>From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c8147<br>
To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tH78Sc30vXKXK<br>Call-ID: s8fc27f8446522ddd375f0e20d43e5aad<br>CSeq: 29658 INVITE<br>User-Agent: PowerIVR<br>
Content-Length: 0<br>
<br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-01413ea87577;rport=5060<br>From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c8147<br>
To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tH78Sc30vXKXK<br>
Call-ID: s8fc27f8446522ddd375f0e20d43e5aad<br>CSeq: 29658 INVITE<br>Contact: <<a>sip:65960581@10.56.0.189:5060;transport=udp</a>><br>User-Agent: PowerIVR<br>Accept: application/sdp<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH<br>
Supported: timer, precondition, path, replaces<br>Session-Expires: 120;refresher=uas<br>Min-SE: 120<br>Content-Type: application/sdp<br>Content-Disposition: session<br>Content-Length: 242<br><br>v=0<br>o=FreeSWITCH 1262028193 1262028196 IN IP4 10.56.0.189<br>
s=FreeSWITCH<br>c=IN IP4 10.56.0.189<br>t=0 0<br>m=audio 28606 RTP/AVP 8 96<br>a=rtpmap:8 pcma/8000<br>a=rtpmap:96 telephone-event/8000<br>a=fmtp:96 0-16<br>a=silenceSupp:off - - - -<br>a=ptime:20<br>ACK <a>sip:65960581@10.56.0.189:5060;transport=udp</a> SIP/2.0<br>
Contact: <<a href="mailto:sip%3A37186004616@10.56.90.223" target="_blank">sip:37186004616@10.56.90.223</a>><br>From: <<a href="http://sip:37186004616@10.56.0.189:5060/" target="_blank">sip:37186004616@10.56.0.189:5060</a>>;tag=1c8147<br>
To: <<a href="http://sip:65960581@10.56.0.189:5060/" target="_blank">sip:65960581@10.56.0.189:5060</a>>;tag=tH78Sc30vXKXK<br>
Call-Id: s8fc27f8446522ddd375f0e20d43e5aad<br>Cseq: 29658 ACK<br>Date: Tue, 29 Dec 2009 03:20:19 GMT<br>Max-Forwards: 70<br>User-Agent: SipPhone<br>Accept-Language: en<br>Via: SIP/2.0/UDP 10.56.90.223;branch=z9hG4bK-01413ea87577;rport<br>
Content-Length: 0<br> <br clear="all"><br>-- <br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com" target="_blank">lei.tlfly@gmail.com</a><br></div></div>
_______________________________________________<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>
</blockquote></div><br></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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><br><br clear="all"><br>-- <br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com">lei.tlfly@gmail.com</a><br>