[Freeswitch-users] trap ##

Wasim Baig wasim at convergence.pk
Tue Nov 9 23:39:34 PST 2010


*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 ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101110/6070c5d9/attachment.html 


More information about the FreeSWITCH-users mailing list