This is why we have things like CDRs that can trigger post call processing via web call or via file drop. If you are using mod_voicemail there is a post voicemail being left hook already exposed in the configs.Doing post call processing on the channel greatly increases the chances of hung channels resulting in system resources being held for dead calls
Sent from my iPhoneCodyThanksHi,Is there a way to check if call has been hung up in dialplan xml. I want to run lua script to process voicemail after caller has hungup the call. I tried checking if state is equal to CS_HANGUP but it does not work. Current dialplan xml is at http://pastebin.com/5PMKSrdh_________________________________________________________________________
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