8 Sep
2008
8 Sep
'08
1:38 a.m.
Try this...it should work $session->setAutoHangup(false); OR $session->hangup("USER_BUSY"); or without any parameter for normal_clearing /SA On Sun, Sep 7, 2008 at 12:24 PM, Nic Wolff <nic@foneshow.com> wrote:
How do I set a hangup hook function in a Perl application called from the dialplan? After looking at freeswitch.pm I tried these:
freeswitch::setHangupHook( &on_hangup );
$session->setHangupHook( &on_hangup );
but both failed with errors. Thanks -
Nic
_______________________________________________ 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