Question about bind_digit_action
Dear all: I want to use “bind_digit_action”, but it did not work. I can only use “bind_meta_app”, but the function is limited a lot. This is my diaplan: <extension name="test"> <condition field="destination_number" expression="^#123$"> <action application="bind_digit_action" data="myrealm,500,exec:playback,ivr/ivr-welcome_to_freeswitch.wav"/> <action application="bind_digit_action" data="test1,456,exec:playback,ivr/ivr-welcome_to_freeswitch.wav"/> <action application="bind_digit_action" data="test1,##,exec:execute_extension,mix_welcome_to_freeswitch"/> <action application="digit_action_set_realm" data="test1"/> </condition> </extension> But it shows: 2011-01-20 21:03:16.359375 [ERR] switch_core_session.c:1791 Invalid Application bind_digit_action Can anyone please help me? My FS version is “FreeSWITCH Version 1.0.head (git-)”. Sincerely yours, Thisjoy.
It's in mod_dptools, you can check that's loaded but I would be surprised if it wasn't since so many useful things are in there that it's pretty much standard. How old is your git version? Your version command isn't showing it and this was only added recently. Try updating. Steve On 20 January 2011 13:22, joy this <thisjoy0528@gmail.com> wrote:
Dear all:
I want to use “bind_digit_action”, but it did not work. I can only use “bind_meta_app”, but the function is limited a lot. This is my diaplan:
<extension name="test">
<condition field="destination_number" expression="^#123$">
<action application="bind_digit_action" data="myrealm,500,exec:playback,ivr/ivr-welcome_to_freeswitch.wav"/>
<action application="bind_digit_action" data="test1,456,exec:playback,ivr/ivr-welcome_to_freeswitch.wav"/>
<action application="bind_digit_action" data="test1,##,exec:execute_extension,mix_welcome_to_freeswitch"/>
<action application="digit_action_set_realm" data="test1"/>
</condition>
</extension>
But it shows:
2011-01-20 21:03:16.359375 [ERR] switch_core_session.c:1791 Invalid Application bind_digit_action
Can anyone please help me? My FS version is “FreeSWITCH Version 1.0.head (git-)”.
Sincerely yours,
Thisjoy.
_______________________________________________ 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 only know that my FS is built on October. I will try to update. Thank you for helping.
I am almost positive that bind_digit_action was NOT in the code back in October.. That's like dinosaur version nowadays. Regards, João Mesquita On Fri, Jan 21, 2011 at 12:20 AM, joy this <thisjoy0528@gmail.com> wrote:
I only know that my FS is built on October. I will try to update. Thank you for helping.
_______________________________________________ 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)
-
joy this
-
João Mesquita
-
Steven Ayre