Sorry for the sparse docs but I think this app will work better for you:<br><br><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_digit_action">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_digit_action</a><br>
<br>I'll see about getting better documentation up on the wiki. In the meantime here's a sample of what the command looks like:<br><br><action application="bind_digit_action" data="test1,123,exec:playback,ivr/ivr-welcome_to_freeswitch.wav"/> <br>
<action application="bind_digit_action" data="test1,456,exec:playback,ivr/ivr/welcome_to_freeswitch.wav"/> <br><action application="bind_digit_action" data="test1,##,exec:execute_extension,mix_welcome_to_freeswitch"/> <br>
<action application="digit_action_set_realm" data="test1"/> <br><br>-MC<br><br><div class="gmail_quote">On Wed, Nov 10, 2010 at 8:45 AM, Eduardo Nunes Pereira <span dir="ltr"><<a href="mailto:eduardonunesp@gmail.com">eduardonunesp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Sorry my noob question, but why bind_meta_data not deals with * and # ?<br>
<div class="im"><br>
On Wed, Nov 10, 2010 at 2:24 PM, Anthony Minessale<br>
<<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> What do you mean in esl it doesn't, there should be no difference?<br>
><br>
> btw, bind_meta_app only deals with 0-9<br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Wed, Nov 10, 2010 at 1:39 AM, Wasim Baig <<a href="mailto:wasim@convergence.pk">wasim@convergence.pk</a>> wrote:<br>
>> need to trap ## to hangup b-leg in a ESL calling card application, please<br>
>> advise<br>
>> previously they were happy with #, so we were using<br>
>> <action application="set" data="bridge_terminate_key=#" /><br>
>> <action application="set" data="origination_cancel_key=#" /><br>
>> but these are single digits (if we could get those to take 2 digits, that<br>
>> would the best solution)<br>
>> then i tried<br>
>> <action application="bind_digit_action"<br>
>> data="default,##,exec:hangup,USER_BUSY"/><br>
>> which works fine in the dialplan, but in ESL it doesn't<br>
>> then i tried<br>
>> Action set(bind_meta_key=#)<br>
>> Action bind_meta_app(# a o hangup)<br>
>> 2010-11-10 08:17:29.352707 [INFO] switch_ivr_async.c:2991 Bound A-Leg: #0<br>
>> hangup<br>
>> but # gets translated to 0 ...<br>
>> --<br>
>> wasim h. baig | principal consultant | convergence pk | +92 30 0850 8070 |<br>
>> peace be upon you ...<br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
><br>
> AIM: anthm<br>
> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
> pstn:+19193869900<br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
<br>
</div></div><div class="im">--<br>
Eduardo Nunes Pereira<br>
cel.: (48) 9989-2997<br>
email: <a href="mailto:eduardonunesp@gmail.com">eduardonunesp@gmail.com</a><br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>