hm... thnks a lot! It is goos solution for me) 2016-12-19 18:43 GMT+03:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
you can set channel variables that will trigger corresponding actions:
execute_on_answer execute_on_media execute_on_media_timeout execute_on_pre_answer execute_on_ring
they are well documented in the wiki.
In more complex cases, you can set up an event listener via an ESL socket, and process the call state events at your wish.
On Mon, Dec 19, 2016 at 3:59 PM, Yuriy Gorlichenko <ovoshlook@gmail.com> wrote:
I just found only session:answered method but i suppose it not works if i ll use it in a dialplan scripting because i tried add it in my dialplan nad saw to reaction on it
2016-12-19 17:36 GMT+03:00 Yuriy Gorlichenko <ovoshlook@gmail.com>:
Hi. I want to make some staff (inserting in database sоme data and then transfer call) after it was answered by dialplan(does not matter is it
lua
dialplan or something other). I have experience with other products (pushing handlers after 200 arrived), but in freeSwitch i found only hangup_hook for handling call after it was hanged up
Is it have method to do this?
____________________________________________________________
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