[asterisk-users] Limit Call Duration with L-option of Dial : announcement
Hello, Limiting the call duration with the L-option of the Dial()-command is working fine, however the announcement is not played. Dialplan : exten = _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes) exten = _367,n,Dial(SIP/test6,,L(11000,5000,5000)) The call lasts for 11 seconds, but 5 minutes before time runs out an announcement should come. I hear no announcement, not on caller-side nor on callee side. Kind regards, Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Limit Call Duration with L-option of Dial : announcement
Take a look at /var/log/asterisk/main or full /if enabled. Perhaps there is a file not found. try: exten = _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes) exten = _367,n,Set(LIMIT_WARNING_FILE=/path_to_your_audiofiles/file) # do not add any extension! exten = _367,n,Dial(SIP/test6,,L(11000,5000,5000)) Am 11.11.2010 10:31, schrieb Jonas Kellens: Hello, Limiting the call duration with the L-option of the Dial()-command is working fine, however the announcement is not played. Dialplan : exten = _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes) exten = _367,n,Dial(SIP/test6,,L(11000,5000,5000)) The call lasts for 11 seconds, but 5 minutes before time runs out an announcement should come. I hear no announcement, not on caller-side nor on callee side. Kind regards, Jonas. -- Thorsten Gllner OVM Office Voice Media GmbH Herderstrasse 68 40237 Dsseldorf Tel.: +49(0)211 / 618 57 53 Fax: +49(0)211 / 618 57 54 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Limit Call Duration with L-option of Dial : announcement
On Thu, Nov 11, 2010 at 3:43 AM, Thorsten Göllner t...@ovm-group.com wrote: Take a look at /var/log/asterisk/main or full /if enabled. Perhaps there is a file not found. try: exten = _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes) exten = _367,n,Set(LIMIT_WARNING_FILE=/path_to_your_audiofiles/file) # do not add any extension! exten = _367,n,Dial(SIP/test6,,L(11000,5000,5000)) Am 11.11.2010 10:31, schrieb Jonas Kellens: Hello, Limiting the call duration with the L-option of the Dial()-command is working fine, however the announcement is not played. Dialplan : exten = _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes) exten = _367,n,Dial(SIP/test6,,L(11000,5000,5000)) The call lasts for 11 seconds, but 5 minutes before time runs out an announcement should come. I hear no announcement, not on caller-side nor on callee side. Kind regards, Jonas. -- Thorsten Göllner OVM Office Voice Media GmbH Herderstrasse 68 40237 Düsseldorf Tel.: +49(0)211 / 618 57 53 Fax: +49(0)211 / 618 57 54 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Gentlemen, the issue is the lack of proper separatorYou are supposed to split the x y and z with : not , So...it should look like this: exten = _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes) exten = _367,n,Dial(SIP/test6,,L(11000:5000:5000)) Slainte mates -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Limit Call Duration with L-option of Dial : announcement
Found the problem already : Dial(SIP/test6,,L(11000,5000,5000)) Correct syntax is : Dial(SIP/test6,,L(11000:5000:5000)) semicolon... Jonas. On 11/11/2010 10:43 AM, Thorsten Göllner wrote: Take a look at /var/log/asterisk/main or full /if enabled. Perhaps there is a file not found. try: exten = _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes) exten = _367,n,Set(LIMIT_WARNING_FILE=/path_to_your_audiofiles/file) # do not add any extension! exten = _367,n,Dial(SIP/test6,,L(11000,5000,5000)) Am 11.11.2010 10:31, schrieb Jonas Kellens: Hello, Limiting the call duration with the L-option of the Dial()-command is working fine, however the announcement is not played. Dialplan : exten = _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes) exten = _367,n,Dial(SIP/test6,,L(11000,5000,5000)) The call lasts for 11 seconds, but 5 minutes before time runs out an announcement should come. I hear no announcement, not on caller-side nor on callee side. Kind regards, Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Limit call duration
Yes you can use the L flag but i dont know if there is any system variable used for this purpose. On 3/26/07, Suity Zsolt [EMAIL PROTECTED] wrote: Rizwan Hisham wrote: I think you can set absolute timeout variable for incoming call also. I havent tested it yet, y dont you try it. do like this: before every local extension you can set: exten= _XXX,1,SET(Timeout(absolute) = 10) exten= 123,2,Dial exten= 234,2,Dial Yuan Liu I think you can say something like: AbsoluteTimeout (or in 1.2x, Set(TIMEOUT(absolute) = seconds) ) Thank you! It works as I expected. Can I set some system var to warn caller how many time is left? (like in Dial L flag) -- Suich ___ --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 -- Regards Rizwan Hisham Software Engineer ___ --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] Limit call duration
Rizwan Hisham wrote: I think you can set absolute timeout variable for incoming call also. I havent tested it yet, y dont you try it. do like this: before every local extension you can set: exten= _XXX,1,SET(Timeout(absolute) = 10) exten= 123,2,Dial exten= 234,2,Dial Yuan Liu I think you can say something like: AbsoluteTimeout (or in 1.2x, Set(TIMEOUT(absolute) = seconds) ) Thank you! It works as I expected. Can I set some system var to warn caller how many time is left? (like in Dial L flag) -- Suich ___ --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] Limit call duration
Yuan LIU wrote: From: Suity Zsolt [EMAIL PROTECTED] Date: Wed, 21 Mar 2007 14:09:20 +0100 Robert Lister wrote: On Wed, Mar 21, 2007 at 12:56:55PM +0100, Suity Zsolt wrote: Hi everyone, I'm new to Asterisk, but I like it ;o) Have a question to you; How can I limit the incoming call duration? You could use L() flag in when dialing the physical end point. Yes, I use that flag for outgoing calls (when Dial from a box), but I have to limit incoming call (when someone call into my box) to say 10 minutes. I have a limitations by law. Yuan Liu I think you can say something like: AbsoluteTimeout (or in 1.2x, Set(TIMEOUT(absolute) = seconds) ) -- Suich ___ --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] Limit call duration
I think you can set absolute timeout variable for incoming call also. I havent tested it yet, y dont you try it. do like this: before every local extension you can set: exten= _XXX,1,SET(Timeout(absolute) = 10) exten= 123,2,Dial exten= 234,2,Dial On 3/22/07, Suity Zsolt [EMAIL PROTECTED] wrote: Yuan LIU wrote: From: Suity Zsolt [EMAIL PROTECTED] Date: Wed, 21 Mar 2007 14:09:20 +0100 Robert Lister wrote: On Wed, Mar 21, 2007 at 12:56:55PM +0100, Suity Zsolt wrote: Hi everyone, I'm new to Asterisk, but I like it ;o) Have a question to you; How can I limit the incoming call duration? You could use L() flag in when dialing the physical end point. Yes, I use that flag for outgoing calls (when Dial from a box), but I have to limit incoming call (when someone call into my box) to say 10 minutes. I have a limitations by law. Yuan Liu I think you can say something like: AbsoluteTimeout (or in 1.2x, Set(TIMEOUT(absolute) = seconds) ) -- Suich ___ --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 -- Regards Rizwan Hisham Software Engineer ___ --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] Limit call duration
Hi everyone, I'm new to Asterisk, but I like it ;o) Have a question to you; How can I limit the incoming call duration? -- Suich ___ --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] Limit call duration
On Wed, Mar 21, 2007 at 12:56:55PM +0100, Suity Zsolt wrote: Hi everyone, I'm new to Asterisk, but I like it ;o) Have a question to you; How can I limit the incoming call duration? I think you can say something like: AbsoluteTimeout (or in 1.2x, Set(TIMEOUT(absolute) = seconds) ) See: http://www.voip-info.org/wiki/view/Asterisk+cmd+AbsoluteTimeout Rob ___ --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] Limit call duration
Robert Lister wrote: On Wed, Mar 21, 2007 at 12:56:55PM +0100, Suity Zsolt wrote: Hi everyone, I'm new to Asterisk, but I like it ;o) Have a question to you; How can I limit the incoming call duration? I think you can say something like: AbsoluteTimeout (or in 1.2x, Set(TIMEOUT(absolute) = seconds) ) See: http://www.voip-info.org/wiki/view/Asterisk+cmd+AbsoluteTimeout Thank you, I will try later today, but I think this is what I looking for. (If I can set it only for external calls) -- Suich ___ --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] Limit call duration
From: Suity Zsolt [EMAIL PROTECTED] Date: Wed, 21 Mar 2007 14:09:20 +0100 Robert Lister wrote: On Wed, Mar 21, 2007 at 12:56:55PM +0100, Suity Zsolt wrote: Hi everyone, I'm new to Asterisk, but I like it ;o) Have a question to you; How can I limit the incoming call duration? You could use L() flag in when dialing the physical end point. Yuan Liu I think you can say something like: AbsoluteTimeout (or in 1.2x, Set(TIMEOUT(absolute) = seconds) ) See: http://www.voip-info.org/wiki/view/Asterisk+cmd+AbsoluteTimeout Thank you, I will try later today, but I think this is what I looking for. (If I can set it only for external calls) -- Suich ___ --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