[Freeswitch-users] uuid_hold is not send hold message

Anthony Minessale anthony.minessale at gmail.com
Wed Apr 6 20:33:04 MSD 2011


you can not use uuid_hold to hold a call then the phone does the unhold.
you need a phone that supports the notify with talk/hold event and use

uuid_phone_event  <uuid> hold
uuid_phone_event  <uuid> talk


2011/4/5 张明 <sc_zhangming at sina.com>

> Michael Collins,您好!
>
>  use step, freeswitch version 1.07
>         1.   fs_cli
>         2.  /event plain CHANNEL_HOLD CHANNEL_UNHOLD
>         3. show  calls
>         freeswitch at 10.108.226.220@internal> show calls
>
> 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
> b0a7bdfd-430d-4746-91a4-8c318f9e1695,2011-04-08
> 04:22:37,1302207757,switch_ivr_multi_threaded_bridge,700000,700000,700001,sofia/internal/
> 700000 at 10.108.226.220,b0a7bdfd-430d-4746-91a4-8c318f9e1695,Outbound
> Call,700001,700001,sofia/internal/sip:700001 at 10.108.226.44:18692
> ,e2faae72-ef43-4019-b7e6-1120d7e42e1e,localhost.localdomain
>
> 1 total.
>         4.   uuid_hold  b0a7bdfd-430d-4746-91a4-8c318f9e1695
>             2011-04-08 04:27:55.539115 [DEBUG] switch_channel.c:1373 (
> sofia/internal/700000 at 10.108.226.220) Callstate Change ACTIVE -> HELD
> 2011-04-08 04:27:55.539115 [DEBUG] switch_core_session.c:709 Send signal
> sofia/internal/700000 at 10.108.226.220 [BREAK]
> 2011-04-08 04:27:55.539115 [DEBUG] switch_ivr.c:1272 接收消息完毕
> 2011-04-08 04:27:55.539115 [DEBUG] switch_core_session.c:954 Send signal
> sofia/internal/sip:700001 at 10.108.226.44:18692 [BREAK]
> 2011-04-08 04:27:55.539115 [DEBUG] sofia.c:4646 Channel
> sofia/internal/700000 at 10.108.226.220 entering state [calling][0]
> 2011-04-08 04:27:55.544824 [DEBUG] switch_core_session.c:709 Send signal
> sofia/internal/sip:700001 at 10.108.226.44:18692 [BREAK]
> 2011-04-08 04:27:55.544824 [INFO] sofia.c:729
> sofia/internal/700000 at 10.108.226.220 Update Callee ID to "Outbound Call"
> <700000>
> 2011-04-08 04:27:55.547789 [DEBUG] sofia.c:4646 Channel
> sofia/internal/700000 at 10.108.226.220 entering state [ready][200]
> 2011-04-08 04:27:55.547789 [DEBUG] sofia.c:4654 Duplicate SDP
> v=0
> o=Idefisk_user 47685 6056184806875839522 IN IP4 10.108.226.44
> s=Idefisk_user
> c=IN IP4 10.108.226.44
> t=0 0
> m=audio 8000 RTP/AVP 8 97 0 110 3 101
> a=rtpmap:8 PCMA/8000
> a=rtpmap:97 iLBC/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:110 speex/8000
> a=rtpmap:3 GSM/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
>
> 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]
> 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]
> 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]
> 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]
> 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]
> 2011-04-08 04:27:55.547789 [DEBUG] sofia_glue.c:2690 Already using PCMA
> 2011-04-08 04:27:55.547789 [DEBUG] sofia_glue.c:4571 Set 2833 dtmf
> send/recv payload to 101
> 2011-04-08 04:27:55.725181 [DEBUG] switch_ivr.c:563 sofia/internal/
> sip:700001 at 10.108.226.44:18692 Command Execute
> playback(local_stream://moh)
> EXECUTE sofia/internal/sip:700001 at 10.108.226.44:18692playback(local_stream://moh)
> 2011-04-08 04:27:55.725181 [DEBUG] mod_local_stream.c:421 Opening Stream
> [moh/8000] 8000hz
> 2011-04-08 04:27:55.725181 [DEBUG] switch_ivr_play_say.c:1236 Codec
> Activated L16 at 8000hz 1 channels 20ms
>
>         5.  it 's not return  hold message, if  user  Zoiper  hold button
> freeswitch  return hold message
>
>             Zoiper hold  freeswich return message:
>             2011-04-08 04:34:51.330157 [DEBUG] sofia.c:4646 Channel
> sofia/internal/700000 at 10.108.226.220 entering state [received][100]
> RECV EVENT
> Event-Name: CHANNEL_HOLD
> Core-UUID: 5e94c1c9-305d-4c4d-b00c-ea24f6346559
> FreeSWITCH-Hostname: localhost.localdomain
> FreeSWITCH-IPv4: 10.108.226.220
> FreeSWITCH-IPv6: ::1
> Event-Date-Local: 2011-04-08 04:34:51
> Event-Date-GMT: Thu, 07 Apr 2011 20:34:51 GMT
> Event-Date-Timestamp: 1302208491330157
> Event-Calling-File: switch_channel.c
> Event-Calling-Function: switch_channel_mark_hold
> Event-Calling-Line-Number: 642
> Channel-State: CS_EXECUTE
> Channel-Call-State: HELD
> Channel-State-Number: 4
> Channel-Name: sofia/internal/700000 at 10.108.226.220
> Unique-ID: eb1222c9-4175-469a-8549-667c0dd921a6
> Call-Direction: inbound
> Presence-Call-Direction: inbound
> Channel-Presence-ID: 700000 at 10.108.226.220
> Channel-Call-UUID: eb1222c9-4175-469a-8549-667c0dd921a6
> Answer-State: answered
> Channel-Read-Codec-Name: PCMA
> Channel-Read-Codec-Rate: 8000
> Channel-Read-Codec-Bit-Rate: 64000
> Channel-Write-Codec-Name: PCMA
> Channel-Write-Codec-Rate: 8000
> Channel-Write-Codec-Bit-Rate: 64000
> Caller-Direction: inbound
> Caller-Username: 700000
> Caller-Dialplan: XML
> Caller-Caller-ID-Name: 700000
> Caller-Caller-ID-Number: 700000
> Caller-Callee-ID-Name: Outbound Call
> Caller-Callee-ID-Number: 700001
> Caller-Network-Addr: 10.108.226.44
> Caller-ANI: 700000
> Caller-Destination-Number: 700001
> Caller-Unique-ID: eb1222c9-4175-469a-8549-667c0dd921a6
> Caller-Source: mod_sofia
> Caller-Context: default
> Caller-Channel-Name: sofia/internal/700000 at 10.108.226.220
> Caller-Profile-Index: 1
> Caller-Profile-Created-Time: 1302208456152936
> Caller-Channel-Created-Time: 1302208456152936
> Caller-Channel-Answered-Time: 1302208463040930
> Caller-Channel-Progress-Time: 1302208456340619
> Caller-Channel-Progress-Media-Time: 0
> Caller-Channel-Hangup-Time: 0
> Caller-Channel-Transfer-Time: 0
> Caller-Screen-Bit: true
> Caller-Privacy-Hide-Name: false
> Caller-Privacy-Hide-Number: false
> Other-Type: originatee
> Other-Leg-Direction: outbound
> Other-Leg-Username: 700000
> Other-Leg-Dialplan: XML
> Other-Leg-Caller-ID-Name: 700000
> Other-Leg-Caller-ID-Number: 700000
> Other-Leg-Callee-ID-Name: Outbound Call
> Other-Leg-Callee-ID-Number: 700001
> Other-Leg-Network-Addr: 10.108.226.44
> Other-Leg-ANI: 700000
> Other-Leg-Destination-Number: 700001
> Other-Leg-Unique-ID: 1595a55f-d97c-47c1-aa6c-42c8efcb5b27
> Other-Leg-Source: mod_sofia
> Other-Leg-Context: default
> Other-Leg-Channel-Name: sofia/internal/sip:700001 at 10.108.226.44:18692
> Other-Leg-Screen-Bit: true
> Other-Leg-Privacy-Hide-Name: false
> Other-Leg-Privacy-Hide-Number: false
>
>
> 2011-04-08 04:34:51.330157 [DEBUG] sofia.c:4657 Remote SDP:
> v=0
> o=Idefisk_user 6056184806875821816 6056184806875816806 IN IP4 10.108.226.44
> s=Idefisk_user
> c=IN IP4 0.0.0.0
> t=0 0
> m=audio 8000 RTP/AVP 8 97 0 110 3 101
> a=rtpmap:8 PCMA/8000
> a=rtpmap:97 iLBC/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:110 speex/8000
> a=rtpmap:3 GSM/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=sendonly
>
> 2011-04-08 04:34:51.330157 [DEBUG] switch_channel.c:1373 (
> sofia/internal/700000 at 10.108.226.220) Callstate Change ACTIVE -> HELD
> 2011-04-08 04:34:51.330157 [DEBUG] switch_core_session.c:954 Send signal
> sofia/internal/sip:700001 at 10.108.226.44:18692 [BREAK]
> 2011-04-08 04:34:51.346542 [DEBUG] switch_core_session.c:709 Send signal
> sofia/internal/sip:700001 at 10.108.226.44:18692 [BREAK]
> 2011-04-08 04:34:51.524112 [DEBUG] switch_ivr.c:563 sofia/internal/
> sip:700001 at 10.108.226.44:18692 Command Execute
> playback(local_stream://moh)
> EXECUTE sofia/internal/sip:700001 at 10.108.226.44:18692playback(local_stream://moh)
> 2011-04-08 04:34:51.524112 [DEBUG] mod_local_stream.c:421 Opening Stream
> [moh/8000] 8000hz
> 2011-04-08 04:34:51.524112 [DEBUG] switch_ivr_play_say.c:1236 Codec
> Activated L16 at 8000hz 1 channels 20ms
> 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]
> 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]
> 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]
> 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]
> 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]
> 2011-04-08 04:34:51.580870 [DEBUG] sofia_glue.c:2690 Already using PCMA
> 2011-04-08 04:34:51.580870 [DEBUG] sofia_glue.c:4571 Set 2833 dtmf
> send/recv payload to 101
> 2011-04-08 04:34:51.580870 [DEBUG] sofia_glue.c:2976 Audio params changed
> for sofia/internal/700000 at 10.108.226.220 from 10.108.226.44:8000 to
> 0.0.0.0:8000
> 2011-04-08 04:34:51.580870 [DEBUG] sofia_glue.c:2987 AUDIO RTP
> [sofia/internal/700000 at 10.108.226.220] 10.108.226.220 port 19022 ->
> 0.0.0.0 port 8000 codec: 8 ms: 20
> 2011-04-08 04:34:51.580870 [DEBUG] sofia_glue.c:3017 AUDIO RTP CHANGING
> DEST TO: [0.0.0.0:8000]
> 2011-04-08 04:34:51.580870 [DEBUG] sofia.c:5057 Processing updated SDP
> 2011-04-08 04:34:51.583974 [DEBUG] sofia.c:4646 Channel
> sofia/internal/700000 at 10.108.226.220 entering state [completed][200]
> 2011-04-08 04:34:51.583974 [DEBUG] sofia.c:4646 Channel
> sofia/internal/700000 at 10.108.226.220 entering state [ready][200]
>
>
> uuid_hold  command user problem:
>         1.  uuid_hold   uuid  is error still return OK
>         2.  uuid_hold   <uuid> OR  uuid_hold off  <uuid>   freeswitch is
> not return  hold or unhold message
>
> ======== 2011-04-05 03:23:09 您在来信中写道: ========
>
>
> I just tried this on latest git and it worked fine for me. Can you pastebin
> the console debug output when you use it?
> -MC
>
> 2011/4/2 张明 <sc_zhangming at sina.com>
>
>> freeswitch-users,您好!
>>
>>        uuid_hold command , freeswitch is not send HOLD  message. who know
>> it.
>>
>>>> 礼!
>>
>>
>> 张明
>> sc_zhangming at sina.com
>> 2011-04-02
>> _______________________________________________
>> 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
>>
>
>  = = = = = = = = = = = = = = = = = = = = = =
>
>> 礼!
>
>  张明
>  sc_zhangming at sina.com
>  2011-04-06
>
>
> _______________________________________________
> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110406/b465661c/attachment-0001.html 


More information about the FreeSWITCH-users mailing list