[Freeswitch-users] Setting hangup hook from Perl?

Nic Wolff nic at foneshow.com
Sat Sep 6 23:54:50 PDT 2008


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




More information about the FreeSWITCH-users mailing list