On Friday 13 February 2009 09:55:49 [email protected] wrote:
> All;
>   I wrote a PERL AGI script that prompts a caller to leave a message using
> print "RECORD FILE $recordfile wav # 60000 BEEP s=3\n";
>
> When the caller is done, they need to press the # key. The message is then
> delivered. However, the message is not delivered if the caller simply hangs
> up when finished. If the user hangs up, the script ends right then. How do
> I keep on processing the rest of the script after the hangup? Any help at
> all would be greatly appreciated. Thanks

$SIG{HUP} = \&send_message;

-- 
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to