Hi all, We are running more than 40 active calls on our Asterisk Box. But some time we are facing problem, call is not disconnecting for a long time more than 2 and 2 hrs. in this cuase our customers charged for 1,2 hrs. even they made very small calls. i have already set rtptimeout = 60, but not disconnecting Here is my extentions. [main-ext] exten => _x.,1,AGI(main-ext.pl) exten => h,1,DeadAGI(/var/lib/asterisk/agi-bin/main-stop.pl) AGI Script: my $dialstr = "$gwtype/$gwip/" . $dialednum . "|350|tTL(" . ($credit_time*1000) .":7000:5000)"; $AGI->exec('Dial', $dialstr); Could please advice me how i can prevent such kind of issue? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com