If you are using LUA, you probably want setHangupHook to do whatever you are doing. It kind of depends on what you are doing though. Perhaps you should provide more details about what you are trying to do and how you are trying to do it. On Sat, Feb 16, 2013 at 8:05 AM, Archana Venugopan <a.venugopan@mundio.com>wrote:
Hi,****
** **
Thanks. I read mod_event_socket wiki, it has some format like this****
** **
sendmsg <uuid>****
call-command: hangup****
hangup-cause: <one of the causes listed below>****
** **
** **
Should I need to pass on in my script? And how am i to use that hangup message in lua script? Sorry I am not clear from wiki on these. Please help. Thanks****
** **
Regards,****
Archana****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Eliot Gable *Sent:* 16 February 2013 06:11 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] Multicast in freeswitch****
** **
You can use mod_event_socket and watch for SWITCH_CHANNEL_STATE, SWITCH_CHANNEL_CALLSTATE, SWITCH_CHANNEL_CREATE, SWITCH_CHANNEL_ORIGINATE, SWITCH_CHANNEL_BRIDGE, and any other event of interest. Then you can track the state of each call for whatever purpose you might want to use that info for.****
On Feb 14, 2013 12:31 PM, "Archana Venugopan" <a.venugopan@mundio.com> wrote:****
Hi,****
I would like to get ‘Orig-status’ event in freeswitch so that I will know when the phone is being HANGED. But to get that event I read in wiki I need mod_event_multicast.****
****
http://wiki.freeswitch.org/wiki/Mod_event_multicast****
****
But I don’t see in above wiki on how to compile and load mod_event_multicast. Can anyone please let me know how to compile and load multicast?****
****
Regards,****
Archana****
****
_________________________________________________________________________ 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****
_________________________________________________________________________ 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
-- Eliot Gable "We do not inherit the Earth from our ancestors: we borrow it from our children." ~David Brower "I decided the words were too conservative for me. We're not borrowing from our children, we're stealing from them--and it's not even considered to be a crime." ~David Brower "Esse oportet ut vivas, non vivere ut edas." (Thou shouldst eat to live; not live to eat.) ~Marcus Tullius Cicero