play_and_get_digits questions
Hi, While in a group call, I'm using "play_and_get_digits" to dial out a number as shown in example [1], triggered via a DTMF key: "<control action="execute_application" digits="*1" data="execute_extension ASK_FOR_NUMBER_447279569204 XML default"/>" The issues I'm facing is that when the user forms the number, DTMF caller controls get triggered(like mute, vol up, etc..) as defined in conference.conf.xml. 1. Is there a way to not trigger those DTMF caller controls while forming the number when using play_and_get_digits? 2. Is there a way to get some details in the ASK_FOR_NUMBER_(\d+) extension, about the one that triggered the DTMF? (i.e. something like user_name or user_number) Thanks, Stefan [1] https://wiki.freeswitch.org/wiki/Conference_Add_Call_Example
Hi, Please ignore question 1. The solution was to increase the timeout of the play_and_get_digits [2]. Still wondering about question 2. Thanks, Stefan [2] https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+play+and... On Tue, Aug 2, 2016 at 5:19 PM, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
While in a group call, I'm using "play_and_get_digits" to dial out a number as shown in example [1], triggered via a DTMF key:
"<control action="execute_application" digits="*1" data="execute_extension ASK_FOR_NUMBER_447279569204 XML default"/>"
The issues I'm facing is that when the user forms the number, DTMF caller controls get triggered(like mute, vol up, etc..) as defined in conference.conf.xml.
1. Is there a way to not trigger those DTMF caller controls while forming the number when using play_and_get_digits?
2. Is there a way to get some details in the ASK_FOR_NUMBER_(\d+) extension, about the one that triggered the DTMF? (i.e. something like user_name or user_number)
Thanks, Stefan
[1] https://wiki.freeswitch.org/wiki/Conference_Add_Call_Example
Apparently ${caller_id_number} reduces to what I need ^^. Stefan On Tue, Aug 2, 2016 at 5:38 PM, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
Please ignore question 1. The solution was to increase the timeout of the play_and_get_digits [2].
Still wondering about question 2.
Thanks, Stefan
[2] https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+play+and...
On Tue, Aug 2, 2016 at 5:19 PM, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
While in a group call, I'm using "play_and_get_digits" to dial out a number as shown in example [1], triggered via a DTMF key:
"<control action="execute_application" digits="*1" data="execute_extension ASK_FOR_NUMBER_447279569204 XML default"/>"
The issues I'm facing is that when the user forms the number, DTMF caller controls get triggered(like mute, vol up, etc..) as defined in conference.conf.xml.
1. Is there a way to not trigger those DTMF caller controls while forming the number when using play_and_get_digits?
2. Is there a way to get some details in the ASK_FOR_NUMBER_(\d+) extension, about the one that triggered the DTMF? (i.e. something like user_name or user_number)
Thanks, Stefan
[1] https://wiki.freeswitch.org/wiki/Conference_Add_Call_Example
you can also use any channel variable that you set on the call prior to entering the conference On Tue, Aug 2, 2016 at 10:58 AM, Anonim Stefan <fanx07@gmail.com> wrote:
Apparently ${caller_id_number} reduces to what I need ^^.
Stefan
On Tue, Aug 2, 2016 at 5:38 PM, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
Please ignore question 1. The solution was to increase the timeout of the play_and_get_digits [2].
Still wondering about question 2.
Thanks, Stefan
[2] https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+play+and...
On Tue, Aug 2, 2016 at 5:19 PM, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
While in a group call, I'm using "play_and_get_digits" to dial out a number as shown in example [1], triggered via a DTMF key:
"<control action="execute_application" digits="*1" data="execute_extension ASK_FOR_NUMBER_447279569204 XML default"/>"
The issues I'm facing is that when the user forms the number, DTMF caller controls get triggered(like mute, vol up, etc..) as defined in conference.conf.xml.
1. Is there a way to not trigger those DTMF caller controls while forming the number when using play_and_get_digits?
2. Is there a way to get some details in the ASK_FOR_NUMBER_(\d+) extension, about the one that triggered the DTMF? (i.e. something like user_name or user_number)
Thanks, Stefan
[1] https://wiki.freeswitch.org/wiki/Conference_Add_Call_Example
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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 (2)
-
Abaci B
-
Anonim Stefan