Re: [asterisk-users] Call Max Time
On 08/27/06 13:23 Rushowr said the following: Set(TIMEOUT(absolute)=seconds) Change seconds to the number of seconds you want to allow a call to last alternatively, look at the L() option to Dial. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0) http://www.openmalaysiablog.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ --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
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. ___ --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
RE: [asterisk-users] Call Max Time
-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 AbdulSent: Sunday, August 27, 2006 2:54 AMTo: Asterisk-Users@lists.digium.comSubject: 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. 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
RE: [asterisk-users] Call Max Time
Hi,i am using the same calculating ((BALANCE / RATE) / 1000) method to return tTL.and i am sure my GAI is working well. but could u tell me how i can set Verbose() sepecial for my dialstring?Regards, Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business. ___ --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
RE: [asterisk-users] Call Max Time
from within asterisk, just run the following command: show application Verbose That'll fill you in. Your other solid option is to search the wiki From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of AbdulSent: Sunday, August 27, 2006 4:05 AMTo: Asterisk-Users@lists.digium.comSubject: RE: [asterisk-users] Call Max Time Hi,i am using the same calculating ((BALANCE / RATE) / 1000) method to return tTL.and i am sure my GAI is working well. but could u tell me how i can set Verbose() sepecial for my dialstring?Regards, Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business. ___ --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
[asterisk-users] Call Max Time
Hi All,Could anyone give me idea, How i can set Call Max Time, so in pariticular time the call should disconnect automatically.I will be appriciate for your helps.Abdul Get your email and more, right on the new Yahoo.com ___ --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
RE: [asterisk-users] Call Max Time
Set(TIMEOUT(absolute)=seconds) Change seconds to the number of seconds you want to allow a call to last From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of AbdulSent: Sunday, August 27, 2006 1:21 AMTo: Asterisk-Users@lists.digium.comSubject: [asterisk-users] Call Max Time Hi All,Could anyone give me idea, How i can set Call Max Time, so in pariticular time the call should disconnect automatically.I will be appriciate for your helps.Abdul Get your email and more, right on the new Yahoo.com ___ --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