<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>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.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Doing post call processing on the channel greatly increases the chances of hung channels resulting in system resources being held for dead calls<br><br>Sent from my iPhone</div><div><br>On Jun 8, 2016, at 5:54 PM, Cody Rosenbloom &lt;<a href="mailto:cody.rosenbloom@gmail.com">cody.rosenbloom@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div>Hi,<br><br></div>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 <a href="http://pastebin.com/5PMKSrdh">http://pastebin.com/5PMKSrdh</a><br><br></div>Thanks<br></div>Cody<br></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>