L option on dial command (Asterisk 11

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

L option on dial command (Asterisk 11

Postby bluerains » Fri Sep 04, 2015 10:01 am

So with the script below, can someone let me know what I am missing? It is not playing any sort of prompt, but simply cut the call of after 60 seconds:

exten => _.,1,Set(LIMIT_PLAYAUDIO_CALLER=YES)
exten => _.,n,Set(LIMIT_PLAYAUDIO_CALLE=YES)
;exten => _.,n,Set(LIMIT_WARNING_FILE=warning)
exten => _.,n,Dial(SIP/OBGateway/12135551212,60,L(60000,30000,15000))

If no warning file specified, it suppose to announce how many seconds left (I assume) right? But I tried with a file specified, it didn't play either, I use asterisk -rvvvv and didn't see asterisk try to play any sort of file either.

Thank you!
bluerains
Newsterisk
 
Posts: 1
Joined: Fri Sep 04, 2015 9:58 am

Return to Asterisk Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest