I have tested *async* and reviewed some internals on source code. *async* means that calls made back to FS will not block. But it doesn't mean that socket will execute next dialplan command without socket be closed. In my app, in fact uses outbound and inbound models, like was suggested in this thread. In outbound model, not only I use sync, I use "event-lock: true", in order to get some order in bridge, saydigits, etc. I manage hangups and other events from a "inbound" client Atenciosamente, 2016-10-13 12:59 GMT-03:00 Anis Bedhiafi <anis.bedhiafi@e-volut.io>:
Thank you David you made it so clear. Now I understand exactly how it should be done.
Thank you, you are the man !!
Kind Regards.
____________________________
Anis Bedhiafi Telecom Services Engineer @ Evolutio www.e-volut.io
Mobile: (+216) 50 44 18 33 Email: anis.bedhiafi@e-volut.io ____________________________
On 13 October 2016 at 16:50, rsyncme rsyncme <piotrek.gregor@gmail.com> wrote:
Hi Anis, All,
Avmd script src/mod/applications/mod_avmd/scripts/avmd_test.pl does all you need. It will show you how you can talk to FS (which executes dialplan actions) and how to check results by inspection of events of interest.
cheers, Piotr
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org