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

Marcin S ms4esl at gmail.com
Thu Feb 13 15:02:22 MSK 2014


Because I wan't to be sure, that I have sent all dtmfs before releasing
call.
I think that ESL_EVENT_CHANNEL_EXECUTE can return before sending dtmfs, but
ESL_EVENT_CHANNEL_EXECUTE_COMPLETE should return *after* sending dtmfs
(*complete*).
ESL_EVENT_CHANNEL_EXECUTE


2014-02-13 9:58 GMT+01:00 Peter Olsson <peter at olssononline.se>:

> 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
>>
>>
>
> _________________________________________________________________________
> 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/0ac4dbc8/attachment.html 


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