Thanks Ken, I've only just got a chance to look at this again, can you provide more details about this hook you mentioned in terms of name and location(if I sound like a total noob, its because I am, sorry!)? I'm looking at voicemail.conf.xml under autoload_configs but haven't spotted anything.

Thanks
Cody 

On 8 June 2016 at 19:01, Ken Rice <krice@freeswitch.org> wrote:
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 iPhone

On Jun 8, 2016, at 5:54 PM, Cody Rosenbloom <cody.rosenbloom@gmail.com> wrote:

Hi,

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

Thanks
Cody

_________________________________________________________________________
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