[asterisk-users] Call Max Time

Rushowr rushowr at phreaker.net
Sat Aug 26 23:59:55 MST 2006


-----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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Abdul
	Sent: Sunday, August 27, 2006 2:54 AM
	To: Asterisk-Users at 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-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060827/4f878779/PGPexch.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGPexch.htm.asc
Type: application/pgp-signature
Size: 215 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060827/4f878779/PGPexch.htm.pgp


More information about the asterisk-users mailing list