On Mon, Mar 03, 2008 at 11:13:28AM -0600, Tilghman Lesher wrote:
> On Monday 03 March 2008 07:18, Prashant Sharma wrote:
> > I'm trying to make asterisk detect some DTMF digits during a call and post
> > them (can't use WaitExten or Features.conf).
>
> I would suggest that you implement that in logger.c and configure a line to
> send logs to an HTTP POST (via logger.conf), with the
> pbx_substitute_variables_helper function, using the ${CURL()} function
> directly. You may need to "preload => func_curl.so" in modules.conf, but
> that will work well.
Or a simple log watcher.
tail -n0 -f /var/log/asterisk/debug | \
grep 'DTMF digit: [0-9#*]' | \
your_custum_filter
--
Tzafrir Cohen
icq#16849755 jabber:[EMAIL PROTECTED]
+972-50-7952406 mailto:[EMAIL PROTECTED]
http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users