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

Denis Papes shishko69 at gmail.com
Wed Jun 15 09:39:09 MSD 2016


There is already post on this mailing list titled "Run a LUA script when
voicemail received" by Steven Schoch on May 27th solving same problem.
Check it out.

On Tue, Jun 14, 2016 at 11:49 PM Cody Rosenbloom <cody.rosenbloom at gmail.com>
wrote:

> 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
>>
>
> _________________________________________________________________________
> 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/20160615/5c09b3f7/attachment-0001.html 


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