<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=750235506-27082006><FONT face=Arial
color=#0000ff size=2>First big question is are you checking beforehand how long
the limit should be by calculating ((BALANCE / RATE) /
1000)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=750235506-27082006><FONT face=Arial
color=#0000ff size=2>If you're not, that would be why it doesn't disconnect the
customer within a time period that wouldn't result in a negative balance.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=750235506-27082006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=750235506-27082006><FONT face=Arial
color=#0000ff size=2>Other than that, you might want to possibly check if your
script is getting the dialstring properly. Do you need to escape the /
characters in it? What I'd personally do is set up some Verbose() statements in
my scripts to output debugging data.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=750235506-27082006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=750235506-27082006><FONT face=Arial
color=#0000ff size=2>Hope this helps!</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of
</B>Abdul<BR><B>Sent:</B> Sunday, August 27, 2006 2:54 AM<BR><B>To:</B>
Asterisk-Users@lists.digium.com<BR><B>Subject:</B> RE: [asterisk-users] Call
Max Time<BR></FONT><BR></DIV>
<DIV></DIV>Hello,<BR><BR>Could you tell how i can use it in PERL AGI
script?<BR><BR>currently i am using in my AGI with this format, but some time
call is not disconnecting customers talking without money.<BR><BR>$dialstr =
"SIP/terminator/15745405022|350|tTL(653044:7000:5000)";<BR>$AGI->exec('Dial',
$dialstr);<BR><BR>regards,<BR><BR><BR><BR>
<P>
<HR SIZE=1>
Get your own <A
href=" http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains">web
address for just $1.99/1st yr</A>. We'll help. <A
href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/">Yahoo!
Small Business</A>. </BLOCKQUOTE></BODY></HTML>