how to monitor a call session?
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!
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@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@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 (2)
-
Peter Olsson
-
Vincent Xia