Jonas Kellens
2010-Nov-11 09:31 UTC
[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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101111/9e58b390/attachment.htm
Thorsten Göllner
2010-Nov-11 09:43 UTC
[asterisk-users] Limit Call Duration with L-option of Dial : announcement
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> Take a look at /var/log/asterisk/main or full /if enabled. Perhaps there is a file not found. try:<br> <br> <font face="Helvetica, Arial, sans-serif">exten => _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes)<br> </font><font face="Helvetica, Arial, sans-serif">exten => _367,n,Set(LIMIT_WARNING_FILE=/path_to_your_audiofiles/file)</font> # do not add any extension!<br> <font face="Helvetica, Arial, sans-serif"> exten => _367,n,Dial(SIP/test6,,L(11000,5000,5000))</font><br> <br> Am 11.11.2010 10:31, schrieb Jonas Kellens: <blockquote cite="mid:4CDBB801.9010001@telenet.be" type="cite"> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <font face="Helvetica, Arial, sans-serif">Hello,<br> <br> Limiting the call duration with the L-option of the Dial()-command is working fine, however the announcement is not played.<br> <br> Dialplan :<br> <br> exten => _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes)<br> exten => _367,n,Dial(SIP/test6,,L(11000,5000,5000))<br> <br> <br> 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.<br> <br> <br> Kind regards,<br> Jonas.<br> </font> </blockquote> <br> <pre class="moz-signature" cols="72">-- 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</pre> </body> </html>
Sherwood McGowan
2010-Nov-11 09:49 UTC
[asterisk-users] Limit Call Duration with L-option of Dial : announcement
On Thu, Nov 11, 2010 at 3:43 AM, Thorsten G?llner <tg at 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 separator....You 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
Jonas Kellens
2010-Nov-11 09:55 UTC
[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.-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101111/78f8ee2b/attachment.htm