How to create a single outbound ESL socket at freeswitch startup.
Hi, I would like to create a single outbound ESL socket that would establish the connection with the ESL server at freeswitch startup. This connexion would remains up and would used to transfer events from calls going through this server. I managed to do this with an inbound ESL but i would prefer doing it with an outbound ESL (it is important for me that freeswitch controls the establishement of the connection). Does anybody know if that's possible to start a common ESL connection (that would push event from all call) at FS startup ? If yes, where should it be provisionned (from the dialplan? in a startup script ?) Hope somebody can help.. Regards, Julien
Outbound is only in the context of a call.. This would require additions to mod_event_socket. I'd be happy to review a patch to add this feature. Mike On Aug 12, 2013, at 3:01 AM, julien terrasson <julien.terrasson@gmail.com> wrote:
Hi,
I would like to create a single outbound ESL socket that would establish the connection with the ESL server at freeswitch startup. This connexion would remains up and would used to transfer events from calls going through this server. I managed to do this with an inbound ESL but i would prefer doing it with an outbound ESL (it is important for me that freeswitch controls the establishement of the connection). Does anybody know if that's possible to start a common ESL connection (that would push event from all call) at FS startup ? If yes, where should it be provisionned (from the dialplan? in a startup script ?)
Maybe it would be enough if FS sent some signal to your program on startup (eg by doing an http request or some sort of ping) so you would know when to start the inbound ESL connection? On Mon, Aug 12, 2013 at 5:33 PM, Michael Jerris <mike@jerris.com> wrote:
Outbound is only in the context of a call.. This would require additions to mod_event_socket. I'd be happy to review a patch to add this feature.
Mike
On Aug 12, 2013, at 3:01 AM, julien terrasson <julien.terrasson@gmail.com> wrote:
Hi,
I would like to create a single outbound ESL socket that would establish the connection with the ESL server at freeswitch startup. This connexion would remains up and would used to transfer events from calls going through this server. I managed to do this with an inbound ESL but i would prefer doing it with an outbound ESL (it is important for me that freeswitch controls the establishement of the connection). Does anybody know if that's possible to start a common ESL connection (that would push event from all call) at FS startup ? If yes, where should it be provisionned (from the dialplan? in a startup script ?)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (3)
-
julien terrasson
-
Michael Jerris
-
Rafal Gwizdala