[asterisk-users] Limit Call Duration with L-option of Dial : announcement
Sherwood McGowan
sherwood.mcgowan at gmail.com
Thu Nov 11 03:49:22 CST 2010
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
More information about the asterisk-users
mailing list