[Freeswitch-users] how to monitor a call session?
Peter Olsson
peter at olssononline.se
Wed May 29 16:44:49 MSD 2013
What you describe here will also force you to control the flow of the call,
and if I understand you correctly you only want to monitor events etc.
In that case it's much better to use inbound ESL connection. However, you
need to login, and "subscribe" to the events you're interested in. Read
more here: http://wiki.freeswitch.org/wiki/Mod_event_socket#Inbound
/Peter
2013/5/29 Vincent Xia <gmangudai at gmail.com>
> can i monitor an ongoing call session by receiving freeswitch events
> through esl outbound socket? for example, i can have another process
>
> monitoring the sip call sessioin by acquiring call events(answer, hangup,
> etc.) from freeswitch.
>
> are the following steps ok?
> 1. create a socket server in a process
> 2. adding <action application="socket" data="IPaddr:port async"/> to the
> dialplan xml.
> 3. get the outbound socket connection from freeswitch
> 4. acquire call events
>
> should i do some event subscription before step 4?
>
> any response is appreciated!
>
> _________________________________________________________________________
> 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/20130529/1dd3066a/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list