DTMF and dynamic conference
I'm trying the default conference in autoload_configs/conference.conf.xml, commented out the pin number line, but now when the ivr asks the pin number, for testing I tried to do this : <extension name="nb_conferences"> <condition field="${sip_to_uri}" expression="^(999)@$${domain}$"> <action application="answer"/> <action application="info"/> <!-- <action application="conference" data="confname@profilename+flags{mute|deaf|waste|moderator}+[conference pin number]"> --> <action application="conference" data="$1-$${domain}@default"/> <action application="send_dtmf" data="12345@120"/> </condition> </extension> and this on CLI: expand uuid_send_dtmf ${uuid} 12345 without success. How the default conference example accept DTMF ? Thanks F
Do you actually try calling this with a real telephone to make sure that the extension is doing what you think it is doing? -MC On Mon, Dec 13, 2010 at 11:14 AM, Madovsky <infos@madovsky.org> wrote:
I'm trying the default conference in autoload_configs/conference.conf.xml, commented out the pin number line,
but now when the ivr asks the pin number, for testing I tried to do this :
<extension name="nb_conferences"> <condition field="${sip_to_uri}" expression="^(999)@$${domain}$"> <action application="answer"/> <action application="info"/> <!-- <action application="conference" data=" confname@profilename+flags{mute|deaf|waste|moderator}+[conference<confname@profilename+flags%7Bmute%7Cdeaf%7Cwaste%7Cmoderator%7D+%5Bconference>pin number]"> --> <action application="conference" data=" $1-$${domain}@default"/ <$1-$$%7Bdomain%7D@default%22/>> <action application="send_dtmf" data="12345@120"/<12345@120%22/>
</condition> </extension> and this on CLI:
expand uuid_send_dtmf ${uuid} 12345
without success. How the default conference example accept DTMF ?
Thanks
F
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I tried the default conference dialplan with a real phone and works well. ----- Original Message ----- From: Michael Collins To: FreeSWITCH Users Help Sent: Tuesday, December 14, 2010 2:09 AM Subject: Re: [Freeswitch-users] DTMF and dynamic conference Do you actually try calling this with a real telephone to make sure that the extension is doing what you think it is doing? -MC On Mon, Dec 13, 2010 at 11:14 AM, Madovsky <infos@madovsky.org> wrote: I'm trying the default conference in autoload_configs/conference.conf.xml, commented out the pin number line, but now when the ivr asks the pin number, for testing I tried to do this : <extension name="nb_conferences"> <condition field="${sip_to_uri}" expression="^(999)@$${domain}$"> <action application="answer"/> <action application="info"/> <!-- <action application="conference" data="confname@profilename+flags{mute|deaf|waste|moderator}+[conference pin number]"> --> <action application="conference" data="$1-$${domain}@default"/> <action application="send_dtmf" data="12345@120"/> </condition> </extension> and this on CLI: expand uuid_send_dtmf ${uuid} 12345 without success. How the default conference example accept DTMF ? Thanks F _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Madovsky, I thing maybe don't understand what you are trying to do. Do you simply want to have a conference that requires the caller to enter a PIN? Or are you trying to send a caller to a conference that has a PIN but you want to send the PIN externally? In case it's the latter you can do the following... Create a conference locked by a PIN. In the logs below I used conf 3300@default and 1234 as the PIN. Then I called 3300 from user 1002: 2010-12-14 00:00:21.518045 [NOTICE] switch_channel.c:784 New Channel sofia/internal/1002@10.15.0.94 [09cad98f-6e12-45fa-9f01-e7d90b9ea771] 2010-12-14 00:00:21.520627 [INFO] mod_dialplan_xml.c:331 Processing Michael <1002>->3000 in context default 2010-12-14 00:00:21.530579 [NOTICE] mod_dptools.c:920 Channel [sofia/internal/1002@10.15.0.94] has been answered Then I did "show channels" to get the uuid: show channels uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid 09cad98f-6e12-45fa-9f01-e7d90b9ea771,inbound,2010-12-14 00:00:21,1292313621,sofia/internal/1002@10.15.0.94 ,CS_EXECUTE,Michael,1002,10.15.30.10,3000,conference,3000-10.15.0.94@default +1234,XML,default,PCMU,8000,64000,PCMU,8000,64000,,ElToro2.FreePBXV3,,,ACTIVE,,,, 1 total. Then I did "uuid_recv_dtmf <uuid> 1234" like this: freeswitch@internal> uuid_recv_dtmf 09cad98f-6e12-45fa-9f01-e7d90b9ea771 1234 -ERR no reply freeswitch@internal> 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '0' to 'mute' 2010-12-14 00:00:41.505775 [INFO] switch_ivr_async.c:162 Digit parser mod_conference: Setting realm to conf 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '*' to 'deaf mute' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '9' to 'energy up' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '8' to 'energy equ' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '7' to 'energy dn' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '3' to 'vol talk up' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '2' to 'vol talk zero' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '1' to 'vol talk dn' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '6' to 'vol listen up' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '5' to 'vol listen zero' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '4' to 'vol listen dn' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/ 1002@10.15.0.94 binding '#' to 'hangup' As you can see you do get "-ERR No Reply" but the operation itself works just fine. -MC On Mon, Dec 13, 2010 at 11:42 PM, Madovsky <infos@madovsky.org> wrote:
I tried the default conference dialplan with a real phone and works well.
----- Original Message ----- *From:* Michael Collins <msc@freeswitch.org> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Sent:* Tuesday, December 14, 2010 2:09 AM *Subject:* Re: [Freeswitch-users] DTMF and dynamic conference
Do you actually try calling this with a real telephone to make sure that the extension is doing what you think it is doing? -MC
On Mon, Dec 13, 2010 at 11:14 AM, Madovsky <infos@madovsky.org> wrote:
I'm trying the default conference in autoload_configs/conference.conf.xml, commented out the pin number line,
but now when the ivr asks the pin number, for testing I tried to do this :
<extension name="nb_conferences"> <condition field="${sip_to_uri}" expression="^(999)@$${domain}$"> <action application="answer"/> <action application="info"/> <!-- <action application="conference" data=" confname@profilename+flags{mute|deaf|waste|moderator}+[conference<confname@profilename+flags%7Bmute%7Cdeaf%7Cwaste%7Cmoderator%7D+%5Bconference>pin number]"> --> <action application="conference" data=" $1-$${domain}@default"/ <$1-$$%7Bdomain%7D@default%22/>> <action application="send_dtmf" data="12345@120"/<12345@120%22/>
</condition> </extension> and this on CLI:
expand uuid_send_dtmf ${uuid} 12345
without success. How the default conference example accept DTMF ?
Thanks
F
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Well Mike, I think for now I will use your suggestion ;) and will update step by step my rfc2833 implementation... Thanks F ----- Original Message ----- From: Michael Collins To: FreeSWITCH Users Help Sent: Tuesday, December 14, 2010 3:12 AM Subject: Re: [Freeswitch-users] DTMF and dynamic conference Madovsky, I thing maybe don't understand what you are trying to do. Do you simply want to have a conference that requires the caller to enter a PIN? Or are you trying to send a caller to a conference that has a PIN but you want to send the PIN externally? In case it's the latter you can do the following... Create a conference locked by a PIN. In the logs below I used conf 3300@default and 1234 as the PIN. Then I called 3300 from user 1002: 2010-12-14 00:00:21.518045 [NOTICE] switch_channel.c:784 New Channel sofia/internal/1002@10.15.0.94 [09cad98f-6e12-45fa-9f01-e7d90b9ea771] 2010-12-14 00:00:21.520627 [INFO] mod_dialplan_xml.c:331 Processing Michael <1002>->3000 in context default 2010-12-14 00:00:21.530579 [NOTICE] mod_dptools.c:920 Channel [sofia/internal/1002@10.15.0.94] has been answered Then I did "show channels" to get the uuid: show channels uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid 09cad98f-6e12-45fa-9f01-e7d90b9ea771,inbound,2010-12-14 00:00:21,1292313621,sofia/internal/1002@10.15.0.94,CS_EXECUTE,Michael,1002,10.15.30.10,3000,conference,3000-10.15.0.94@default+1234,XML,default,PCMU,8000,64000,PCMU,8000,64000,,ElToro2.FreePBXV3,,,ACTIVE,,,, 1 total. Then I did "uuid_recv_dtmf <uuid> 1234" like this: freeswitch@internal> uuid_recv_dtmf 09cad98f-6e12-45fa-9f01-e7d90b9ea771 1234 -ERR no reply freeswitch@internal> 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '0' to 'mute' 2010-12-14 00:00:41.505775 [INFO] switch_ivr_async.c:162 Digit parser mod_conference: Setting realm to conf 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '*' to 'deaf mute' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '9' to 'energy up' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '8' to 'energy equ' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '7' to 'energy dn' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '3' to 'vol talk up' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '2' to 'vol talk zero' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '1' to 'vol talk dn' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '6' to 'vol listen up' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '5' to 'vol listen zero' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '4' to 'vol listen dn' 2010-12-14 00:00:41.505775 [INFO] mod_conference.c:6485 sofia/internal/1002@10.15.0.94 binding '#' to 'hangup' As you can see you do get "-ERR No Reply" but the operation itself works just fine. -MC On Mon, Dec 13, 2010 at 11:42 PM, Madovsky <infos@madovsky.org> wrote: I tried the default conference dialplan with a real phone and works well. ----- Original Message ----- From: Michael Collins To: FreeSWITCH Users Help Sent: Tuesday, December 14, 2010 2:09 AM Subject: Re: [Freeswitch-users] DTMF and dynamic conference Do you actually try calling this with a real telephone to make sure that the extension is doing what you think it is doing? -MC On Mon, Dec 13, 2010 at 11:14 AM, Madovsky <infos@madovsky.org> wrote: I'm trying the default conference in autoload_configs/conference.conf.xml, commented out the pin number line, but now when the ivr asks the pin number, for testing I tried to do this : <extension name="nb_conferences"> <condition field="${sip_to_uri}" expression="^(999)@$${domain}$"> <action application="answer"/> <action application="info"/> <!-- <action application="conference" data="confname@profilename+flags{mute|deaf|waste|moderator}+[conference pin number]"> --> <action application="conference" data="$1-$${domain}@default"/> <action application="send_dtmf" data="12345@120"/> </condition> </extension> and this on CLI: expand uuid_send_dtmf ${uuid} 12345 without success. How the default conference example accept DTMF ? Thanks F _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
and this on CLI: expand uuid_send_dtmf ${uuid} 12345 Where is this ${uuid} variable set? -Steve On 13 December 2010 19:14, Madovsky <infos@madovsky.org> wrote:
I'm trying the default conference in autoload_configs/conference.conf.xml, commented out the pin number line,
but now when the ivr asks the pin number, for testing I tried to do this :
<extension name="nb_conferences"> <condition field="${sip_to_uri}" expression="^(999)@$${domain}$"> <action application="answer"/> <action application="info"/> <!-- <action application="conference" data="confname@profilename+flags{mute|deaf|waste|moderator}+[conference pin number]"> --> <action application="conference" data="$1-$${domain}@default"/> <action application="send_dtmf" data="12345@120"/> </condition> </extension> and this on CLI:
expand uuid_send_dtmf ${uuid} 12345
without success. How the default conference example accept DTMF ?
Thanks F _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
AFAIK <action application="send_dtmf" data="12345@120"/> won't occur until <action application="conference"> data="$1-$${domain}@default"/> finishes, i.e. when the user leaves the conference. Is that what you are expecting to occur? -Steve On 13 December 2010 19:14, Madovsky <infos@madovsky.org> wrote:
I'm trying the default conference in autoload_configs/conference.conf.xml, commented out the pin number line,
but now when the ivr asks the pin number, for testing I tried to do this :
<extension name="nb_conferences"> <condition field="${sip_to_uri}" expression="^(999)@$${domain}$"> <action application="answer"/> <action application="info"/> <!-- <action application="conference" data="confname@profilename+flags{mute|deaf|waste|moderator}+[conference pin number]"> --> <action application="conference" data="$1-$${domain}@default"/> <action application="send_dtmf" data="12345@120"/> </condition> </extension> and this on CLI:
expand uuid_send_dtmf ${uuid} 12345
without success. How the default conference example accept DTMF ?
Thanks F _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
no, I was wrong. my problem is I try to send dtmf to conference IVR so it's one leg only. ----- Original Message ----- From: "Steven Ayre" <steveayre@gmail.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Tuesday, December 14, 2010 2:15 AM Subject: Re: [Freeswitch-users] DTMF and dynamic conference AFAIK <action application="send_dtmf" data="12345@120"/> won't occur until <action application="conference"> data="$1-$${domain}@default"/> finishes, i.e. when the user leaves the conference. Is that what you are expecting to occur? -Steve On 13 December 2010 19:14, Madovsky <infos@madovsky.org> wrote:
I'm trying the default conference in autoload_configs/conference.conf.xml, commented out the pin number line,
but now when the ivr asks the pin number, for testing I tried to do this :
<extension name="nb_conferences"> <condition field="${sip_to_uri}" expression="^(999)@$${domain}$"> <action application="answer"/> <action application="info"/> <!-- <action application="conference" data="confname@profilename+flags{mute|deaf|waste|moderator}+[conference pin number]"> --> <action application="conference" data="$1-$${domain}@default"/> <action application="send_dtmf" data="12345@120"/> </condition> </extension> and this on CLI:
expand uuid_send_dtmf ${uuid} 12345
without success. How the default conference example accept DTMF ?
Thanks F _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Madovsky
-
Michael Collins
-
Steven Ayre