[Freeswitch-users] api_hangup_hook and bash

Michael Jerris mike at jerris.com
Fri Dec 26 12:06:37 PST 2008


This is correct, if the a leg hangs up it will not continue to run the  
dialplan actions.


On Dec 26, 2008, at 11:57 AM, Frank @ Impact wrote:

> I have confirmed that this system call does not fire if the calling
> party hangs up the phone first.  Is there a way to get the script to
> fire regardless of who hangs up first?
>
> -F
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> Frank @ Impact
>
> <action application="bridge" data="${enum_auto_route}"/>
> <action application="system" data="/root/procrecording.sh
> $${base_dir}/recordings/12-26-11_10_23_55555555_444444444_1.wav"/>
> <action application="hangup"/>
>
> The problem I am seeing is that sometimes this script gets run and
> sometimes it does not.  I think it has to do maybe with which end  
> hangs
> up the phone.  But I cannot seem to nail it down just yet...





More information about the FreeSWITCH-users mailing list