[asterisk-users] Limit Call Duration with L-option of Dial : announcement

Jonas Kellens jonas.kellens at telenet.be
Thu Nov 11 03:55:58 CST 2010


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 


More information about the asterisk-users mailing list