[Asterisk-Dev] Re: how to use ast_channel_setwhentohangup to allocate maximum time for call

Kamran Ahmad p_kami at yahoo.com
Mon Feb 28 03:00:47 MST 2005


i have also tried application AbsoluteTime to set the
maximum call time but same result. asterisk is calling
again and again my application asterisk is not droping
the call. why asterisk is calling application after 30
second again and again.

myApp = pbx_findapp("AbsoluteTimeout");
if(myApp)
{
int ret = pbx_exec(chan,myApp,"30",1);

ast_log(LOG_WARNING, "app_prepaid_auth_pin:
AbsoluteTimeout exited with Return Code: %d",ret);

}
else
{
}



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250



More information about the asterisk-dev mailing list