[Freeswitch-users] Testing for call hangup in dialplan xml

Cody Rosenbloom cody.rosenbloom at gmail.com
Wed Jun 15 02:47:35 MSD 2016


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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160614/a5ceb4f0/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list