Sorry for the sparse docs but I think this app will work better for you:

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_digit_action

I'll see about getting better documentation up on the wiki. In the meantime here's a sample of what the command looks like:

<action application="bind_digit_action" data="test1,123,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"/> 

-MC

On Wed, Nov 10, 2010 at 8:45 AM, Eduardo Nunes Pereira <eduardonunesp@gmail.com> wrote:
Sorry my noob question, but why bind_meta_data not deals with * and # ?

On Wed, Nov 10, 2010 at 2:24 PM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
> What do you mean in esl it doesn't, there should be no difference?
>
> btw, bind_meta_app only deals with 0-9
>
>
>
>
>
>
> On Wed, Nov 10, 2010 at 1:39 AM, Wasim Baig <wasim@convergence.pk> wrote:
>> need to trap ## to hangup b-leg in a ESL calling card application, please
>> advise
>> previously they were happy with #, so we were using
>>         <action application="set" data="bridge_terminate_key=#" />
>>         <action application="set" data="origination_cancel_key=#" />
>> but these are single digits (if we could get those to take 2 digits, that
>> would the best solution)
>> then i tried
>>         <action application="bind_digit_action"
>> data="default,##,exec:hangup,USER_BUSY"/>
>> which works fine in the dialplan, but in ESL it doesn't
>> then i tried
>> Action set(bind_meta_key=#)
>> Action bind_meta_app(# a o hangup)
>> 2010-11-10 08:17:29.352707 [INFO] switch_ivr_async.c:2991 Bound A-Leg: #0
>> hangup
>> but # gets translated to 0 ...
>> --
>> wasim h. baig | principal consultant | convergence pk | +92 30 0850 8070 |
>> peace be upon you ...
>>
>> _______________________________________________
>> 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
>>
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale@hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888@conference.freeswitch.org
> googletalk:conf+888@conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> 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
>



--
Eduardo Nunes Pereira
cel.: (48) 9989-2997
email: eduardonunesp@gmail.com

_______________________________________________