[Freeswitch-users] esl, send_dtmf, too early ESL_EVENT_CHANNEL_EXECUTE_COMPLETE

Peter Olsson peter at olssononline.se
Thu Feb 13 11:58:29 MSK 2014


Why do you need to know exactly when the DTMF was sent? Can you describe
your use case?


2014-02-13 9:12 GMT+01:00 Marcin S <ms4esl at gmail.com>:

> Hello,
>
> In my simple C application I want to send dtmfs. This is quite easy - you
> just call esl_execute("send_dtmf", "1234", uuid); and it works. However,
> ESL returns ESL_EVENT_CHANNEL_EXECUTE_COMPLETE way to fast - even before it
> starts dtmfs generation!
>
> How can I know, when dtmfs were really generated? So far, the only method
> is to issue some sleep(), but it looks like big workaround.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140213/558fdd99/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list