you can not use uuid_hold to hold a call then the phone does the unhold.<div>you need a phone that supports the notify with talk/hold event and use</div><div><br></div><div>uuid_phone_event &nbsp;&lt;uuid&gt; hold</div><div><meta charset="utf-8"><div>
uuid_phone_event &nbsp;&lt;uuid&gt; talk</div><div><br></div><br><div class="gmail_quote">2011/4/5 张明 <span dir="ltr">&lt;<a href="mailto:sc_zhangming@sina.com">sc_zhangming@sina.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div bgcolor="#eaeaea"><font size="2"><font face="宋体">Michael Collins,您好!</font> 
</font>
<div>&nbsp;</div>
<div><font size="2" face="宋体">  use step, freeswitch version 1.07</font></div>
<div>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<font color="#ff0000"> 1.&nbsp;&nbsp; 
fs_cli </font></div>
<div><font color="#ff0000">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 2.&nbsp; /event 
plain CHANNEL_HOLD CHANNEL_UNHOLD</font></div>
<div><font color="#ff0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3. 
show&nbsp; calls </font></div>
<div>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <a href="mailto:freeswitch@10.108.226.220@internal" target="_blank">freeswitch@10.108.226.220@internal</a>&gt; 
show 
calls<br>call_uuid,call_created,call_created_epoch,function,caller_cid_name,caller_cid_num,caller_dest_num,caller_chan_name,caller_uuid,callee_cid_name,callee_cid_num,callee_dest_num,callee_chan_name,callee_uuid,hostname<br>
b0a7bdfd-430d-4746-91a4-8c318f9e1695,2011-04-08 
04:22:37,1302207757,switch_ivr_multi_threaded_bridge,700000,700000,700001,sofia/internal/<a href="mailto:700000@10.108.226.220" target="_blank">700000@10.108.226.220</a>,b0a7bdfd-430d-4746-91a4-8c318f9e1695,Outbound 
Call,700001,700001,sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a>,e2faae72-ef43-4019-b7e6-1120d7e42e1e,localhost.localdomain</div>
<div>&nbsp;</div>
<div>1 total.</div>
<div>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<font color="#ff0000"> 4.&nbsp;&nbsp; 
uuid_hold&nbsp; 
b0a7bdfd-430d-4746-91a4-8c318f9e1695<br></font>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 2011-04-08 04:27:55.539115 [DEBUG] 
switch_channel.c:1373 (<a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a>) 
Callstate Change ACTIVE -&gt; HELD<br>2011-04-08 04:27:55.539115 [DEBUG] 
switch_core_session.c:709 Send signal <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a> 
[BREAK]<br>2011-04-08 04:27:55.539115 [DEBUG] switch_ivr.c:1272 
接收消息完毕<br>2011-04-08 04:27:55.539115 [DEBUG] switch_core_session.c:954 Send 
signal sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a> [BREAK]<br>2011-04-08 
04:27:55.539115 [DEBUG] sofia.c:4646 Channel <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a> 
entering state [calling][0]<br>2011-04-08 04:27:55.544824 [DEBUG] 
switch_core_session.c:709 Send signal 
sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a> [BREAK]<br>2011-04-08 
04:27:55.544824 [INFO] sofia.c:729 <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a> 
Update Callee ID to &quot;Outbound Call&quot; &lt;700000&gt;<br>2011-04-08 04:27:55.547789 
[DEBUG] sofia.c:4646 Channel <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a> 
entering state [ready][200]<br>2011-04-08 04:27:55.547789 [DEBUG] sofia.c:4654 
Duplicate SDP<br>v=0<br>o=Idefisk_user 47685 6056184806875839522 IN IP4 
10.108.226.44<br>s=Idefisk_user<br>c=IN IP4 10.108.226.44<br>t=0 0<br>m=audio 
8000 RTP/AVP 8 97 0 110 3 101<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:97 
iLBC/8000<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:110 speex/8000<br>a=rtpmap:3 
GSM/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15</div>
<div>&nbsp;</div>
<div>2011-04-08 04:27:55.547789 [DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[G7221:115:32000:20:48000]<br>2011-04-08 04:27:55.547789 
[DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[G7221:107:16000:20:32000]<br>2011-04-08 04:27:55.547789 
[DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[G722:9:8000:20:64000]<br>2011-04-08 04:27:55.547789 
[DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[PCMU:0:8000:20:64000]<br>2011-04-08 04:27:55.547789 
[DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[PCMA:8:8000:20:64000]<br>2011-04-08 04:27:55.547789 
[DEBUG] sofia_glue.c:2690 Already using PCMA<br>2011-04-08 04:27:55.547789 
[DEBUG] sofia_glue.c:4571 Set 2833 dtmf send/recv payload to 101<br>2011-04-08 
04:27:55.725181 [DEBUG] switch_ivr.c:563 
sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a> Command Execute 
playback(local_stream://moh)<br>EXECUTE 
sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a> 
playback(local_stream://moh)<br>2011-04-08 04:27:55.725181 [DEBUG] 
mod_local_stream.c:421 Opening Stream [moh/8000] 8000hz<br>2011-04-08 
04:27:55.725181 [DEBUG] switch_ivr_play_say.c:1236 Codec Activated <a href="mailto:L16@8000hz" target="_blank">L16@8000hz</a> 1 channels 20ms</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#ff0000"> 5.&nbsp; 
it&nbsp;&#39;s not return&nbsp; hold message, if&nbsp; user&nbsp; Zoiper&nbsp; hold 
button&nbsp; freeswitch&nbsp; return hold message </font></div>
<div><font color="#ff0000"></font>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Zoiper hold&nbsp; 
freeswich return message:</div>
<div>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 2011-04-08 
04:34:51.330157 [DEBUG] sofia.c:4646 Channel <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a> 
entering state [received][100]<br>RECV EVENT<br>Event-Name: 
CHANNEL_HOLD<br>Core-UUID: 
5e94c1c9-305d-4c4d-b00c-ea24f6346559<br>FreeSWITCH-Hostname: 
localhost.localdomain<br>FreeSWITCH-IPv4: 10.108.226.220<br>FreeSWITCH-IPv6: 
::1<br>Event-Date-Local: 2011-04-08 04:34:51<br>Event-Date-GMT: Thu, 07 Apr 2011 
20:34:51 GMT<br>Event-Date-Timestamp: 1302208491330157<br>Event-Calling-File: 
switch_channel.c<br>Event-Calling-Function: 
switch_channel_mark_hold<br>Event-Calling-Line-Number: 642<br>Channel-State: 
CS_EXECUTE<br>Channel-Call-State: HELD<br>Channel-State-Number: 
4<br>Channel-Name: <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a><br>Unique-ID: 
eb1222c9-4175-469a-8549-667c0dd921a6<br>Call-Direction: 
inbound<br>Presence-Call-Direction: inbound<br>Channel-Presence-ID: <a href="mailto:700000@10.108.226.220" target="_blank">700000@10.108.226.220</a><br>Channel-Call-UUID: 
eb1222c9-4175-469a-8549-667c0dd921a6<br>Answer-State: 
answered<br>Channel-Read-Codec-Name: PCMA<br>Channel-Read-Codec-Rate: 
8000<br>Channel-Read-Codec-Bit-Rate: 64000<br>Channel-Write-Codec-Name: 
PCMA<br>Channel-Write-Codec-Rate: 8000<br>Channel-Write-Codec-Bit-Rate: 
64000<br>Caller-Direction: inbound<br>Caller-Username: 
700000<br>Caller-Dialplan: XML<br>Caller-Caller-ID-Name: 
700000<br>Caller-Caller-ID-Number: 700000<br>Caller-Callee-ID-Name: Outbound 
Call<br>Caller-Callee-ID-Number: 700001<br>Caller-Network-Addr: 
10.108.226.44<br>Caller-ANI: 700000<br>Caller-Destination-Number: 
700001<br>Caller-Unique-ID: 
eb1222c9-4175-469a-8549-667c0dd921a6<br>Caller-Source: 
mod_sofia<br>Caller-Context: default<br>Caller-Channel-Name: <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a><br>Caller-Profile-Index: 
1<br>Caller-Profile-Created-Time: 
1302208456152936<br>Caller-Channel-Created-Time: 
1302208456152936<br>Caller-Channel-Answered-Time: 
1302208463040930<br>Caller-Channel-Progress-Time: 
1302208456340619<br>Caller-Channel-Progress-Media-Time: 
0<br>Caller-Channel-Hangup-Time: 0<br>Caller-Channel-Transfer-Time: 
0<br>Caller-Screen-Bit: true<br>Caller-Privacy-Hide-Name: 
false<br>Caller-Privacy-Hide-Number: false<br>Other-Type: 
originatee<br>Other-Leg-Direction: outbound<br>Other-Leg-Username: 
700000<br>Other-Leg-Dialplan: XML<br>Other-Leg-Caller-ID-Name: 
700000<br>Other-Leg-Caller-ID-Number: 700000<br>Other-Leg-Callee-ID-Name: 
Outbound Call<br>Other-Leg-Callee-ID-Number: 700001<br>Other-Leg-Network-Addr: 
10.108.226.44<br>Other-Leg-ANI: 700000<br>Other-Leg-Destination-Number: 
700001<br>Other-Leg-Unique-ID: 
1595a55f-d97c-47c1-aa6c-42c8efcb5b27<br>Other-Leg-Source: 
mod_sofia<br>Other-Leg-Context: default<br>Other-Leg-Channel-Name: 
sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a><br>Other-Leg-Screen-Bit: 
true<br>Other-Leg-Privacy-Hide-Name: false<br>Other-Leg-Privacy-Hide-Number: 
false</div>
<div>&nbsp;</div>
<div><br>2011-04-08 04:34:51.330157 [DEBUG] sofia.c:4657 Remote 
SDP:<br>v=0<br>o=Idefisk_user 6056184806875821816 6056184806875816806 IN IP4 
10.108.226.44<br>s=Idefisk_user<br>c=IN IP4 0.0.0.0<br>t=0 0<br>m=audio 8000 
RTP/AVP 8 97 0 110 3 101<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:97 
iLBC/8000<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:110 speex/8000<br>a=rtpmap:3 
GSM/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 
0-15<br>a=sendonly</div>
<div>&nbsp;</div>
<div>2011-04-08 04:34:51.330157 [DEBUG] switch_channel.c:1373 (<a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a>) 
Callstate Change ACTIVE -&gt; HELD<br>2011-04-08 04:34:51.330157 [DEBUG] 
switch_core_session.c:954 Send signal 
sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a> [BREAK]<br>2011-04-08 
04:34:51.346542 [DEBUG] switch_core_session.c:709 Send signal 
sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a> [BREAK]<br>2011-04-08 
04:34:51.524112 [DEBUG] switch_ivr.c:563 
sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a> Command Execute 
playback(local_stream://moh)<br>EXECUTE 
sofia/internal/<a href="http://sip:700001@10.108.226.44:18692" target="_blank">sip:700001@10.108.226.44:18692</a> 
playback(local_stream://moh)<br>2011-04-08 04:34:51.524112 [DEBUG] 
mod_local_stream.c:421 Opening Stream [moh/8000] 8000hz<br>2011-04-08 
04:34:51.524112 [DEBUG] switch_ivr_play_say.c:1236 Codec Activated <a href="mailto:L16@8000hz" target="_blank">L16@8000hz</a> 1 channels 20ms<br>2011-04-08 
04:34:51.580870 [DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[G7221:115:32000:20:48000]<br>2011-04-08 04:34:51.580870 
[DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[G7221:107:16000:20:32000]<br>2011-04-08 04:34:51.580870 
[DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[G722:9:8000:20:64000]<br>2011-04-08 04:34:51.580870 
[DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[PCMU:0:8000:20:64000]<br>2011-04-08 04:34:51.580870 
[DEBUG] sofia_glue.c:4467 Audio Codec Compare 
[PCMA:8:8000:20:64000]/[PCMA:8:8000:20:64000]<br>2011-04-08 04:34:51.580870 
[DEBUG] sofia_glue.c:2690 Already using PCMA<br>2011-04-08 04:34:51.580870 
[DEBUG] sofia_glue.c:4571 Set 2833 dtmf send/recv payload to 101<br>2011-04-08 
04:34:51.580870 [DEBUG] sofia_glue.c:2976 Audio params changed for <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a> 
from <a href="http://10.108.226.44:8000" target="_blank">10.108.226.44:8000</a> to <a href="http://0.0.0.0:8000" target="_blank">0.0.0.0:8000</a><br>2011-04-08 04:34:51.580870 [DEBUG] 
sofia_glue.c:2987 AUDIO RTP [sofia/internal/<a href="mailto:700000@10.108.226.220" target="_blank">700000@10.108.226.220</a>] 
10.108.226.220 port 19022 -&gt; 0.0.0.0 port 8000 codec: 8 ms: 20<br>2011-04-08 
04:34:51.580870 [DEBUG] sofia_glue.c:3017 AUDIO RTP CHANGING DEST TO: 
[<a href="http://0.0.0.0:8000" target="_blank">0.0.0.0:8000</a>]<br>2011-04-08 04:34:51.580870 [DEBUG] sofia.c:5057 Processing 
updated SDP<br>2011-04-08 04:34:51.583974 [DEBUG] sofia.c:4646 Channel <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a> 
entering state [completed][200]<br>2011-04-08 04:34:51.583974 [DEBUG] 
sofia.c:4646 Channel <a href="mailto:sofia/internal/700000@10.108.226.220" target="_blank">sofia/internal/700000@10.108.226.220</a> 
entering state [ready][200]</div>
<div>&nbsp;</div>
<div><br><font color="#ff0000">uuid_hold&nbsp; command user problem:</font></div>
<div><font color="#ff0000">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 1.&nbsp; 
uuid_hold&nbsp;&nbsp; uuid&nbsp; is error still return OK</font></div>
<div><font color="#ff0000">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 2.&nbsp; 
uuid_hold&nbsp;&nbsp; &lt;uuid&gt; OR&nbsp; uuid_hold off&nbsp; 
&lt;uuid&gt;&nbsp;&nbsp; freeswitch is not return&nbsp; hold or unhold message 
<br></font></div>
<div>&nbsp;</div>
<div><font size="2" face="宋体">======== 2011-04-05&nbsp;03:23:09&nbsp;您在来信中写道: 
========</font></div><div><div></div><div class="h5">
<div>&nbsp;</div>
<div><font size="2">
<table width="100%">
  <tbody>
  <tr>
    <td width="100%">
      <blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px">I 
        just tried this on latest git and it worked fine for me. Can you 
        pastebin the console debug output when you use it?
        <div>-MC<br><br>
        <div class="gmail_quote">2011/4/2 张明 <span dir="ltr">&lt;<a href="mailto:sc_zhangming@sina.com" target="_blank">sc_zhangming@sina.com</a>&gt;</span><br>
        <blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">freeswitch-users,您好!<br><br>&nbsp; &nbsp; &nbsp; 
          &nbsp;uuid_hold command , freeswitch is not send HOLD &nbsp;message. 
          who know 
          it.<br><br>        致<br>礼!<br><br><br>        张明<br>        <a href="mailto:sc_zhangming@sina.com" target="_blank">sc_zhangming@sina.com</a><br>          2011-04-02<br>_______________________________________________<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></blockquote></td></tr></tbody></table></font></div>
</div></div><div>
<p><font size="2" face="宋体">= = = = = = = = = = = = = = = = = = = = = = </font></p><div class="im">
<p><font size="2" face="宋体">        致<br>礼!</font></p>
<div>&nbsp;</div>
<div><font size="2" face="宋体">              张明</font></div>
<div><font size="2" face="宋体"><font size="2" face="宋体">              </font><a href="mailto:sc_zhangming@sina.com" target="_blank">sc_zhangming@sina.com</a></font></div>
</div><div><font size="2" face="宋体">               2011-04-06</font></div>
<div>&nbsp;</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>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>