-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

First big question is are you checking beforehand how long the limit should
be by calculating ((BALANCE / RATE) / 1000)
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. 
 
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.
 
Hope this helps!


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Abdul
        Sent: Sunday, August 27, 2006 2:54 AM
        To: Asterisk-Users@lists.digium.com
        Subject: RE: [asterisk-users] Call Max Time
        
        
        Hello,
        
        Could you tell how i can use it in PERL AGI script?
        
        currently i am using in my AGI with this format, but some time call
is not disconnecting customers talking without money.
        
        $dialstr = "SIP/terminator/15745405022|350|tTL(653044:7000:5000)";
        $AGI->exec('Dial', $dialstr);
        
        regards,
        
        
        
        

        
________________________________

        Get your own web address for just $1.99/1st yr
<http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains> .
We'll help. Yahoo! Small Business
<http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/> . 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: ENCRYPTED WITH GPG

iD8DBQFE8ULglfQsv7FBhp8RApWwAKCcEJ+4vmmj0RygBjRDegK/QlBUwwCfYWFz
WclJ5IBoFFF1NBdDb3P/oXM=
=9Jxz
-----END PGP SIGNATURE-----
First big question is are you checking beforehand how long the limit should be by calculating ((BALANCE / RATE) / 1000)
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.
 
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.
 
Hope this helps!


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abdul
Sent: Sunday, August 27, 2006 2:54 AM
To: Asterisk-Users@lists.digium.com
Subject: RE: [asterisk-users] Call Max Time

Hello,

Could you tell how i can use it in PERL AGI script?

currently i am using in my AGI with this format, but some time call is not disconnecting customers talking without money.

$dialstr = "SIP/terminator/15745405022|350|tTL(653044:7000:5000)";
$AGI->exec('Dial', $dialstr);

regards,




Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

Attachment: PGPexch.htm.asc
Description: PGP signature

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to