[Freeswitch-users] api_hangup_hook and bash
Michael Collins
msc at freeswitch.org
Fri Dec 26 12:06:26 PST 2008
Frank,
I'm going to check this out as soon as I can get my test system back on
line. Thanks.
-MC
P.S. - what FS version and OS version are you on? I test with latest trunk
and CentOS 5.2
On Fri, Dec 26, 2008 at 11:57 AM, Frank @ Impact <frank at impactfax.com>wrote:
> I also tried this without success. This will not fire at all regardless
> of who hangs up.
>
> <action application="set" data="api_hangup_hook=system /root/test.sh
> $${base_dir}/recordings/9000_1.wav"/>
> <action application="bridge" data="${enum_auto_route}"/>
>
>
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> Frank @ Impact
>
> -----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...
>
>
>
>
>
> _______________________________________________
> 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/20081226/73fb2a54/attachment-0002.html
More information about the FreeSWITCH-users
mailing list