I’m trying to use the option L in Dial() for play a warning in the middle of a call (about 30 seconds of call), but doesn’t works. I already tried a lot of things. Here is my configuration…
exten => 1234,1,Set(LIMIT_PLAYAUDIO_CALLER=yes) exten => 1234,n,Set(LIMIT_PLAYAUDIO_CALLEE=yes) exten => 1234,n,Set(LIMIT_TIMEOUT_FILE=vm-newuser) exten => 1234,n,Set(LIMIT_WARNING_FILE=vm-newuser) exten => 1234,n,Set(LIMIT_CONNECT_FILE=vm-newuser) exten => 1234,n,Dial(SIP/6000,,L(1000000:30000:20000)) exten => 1234,n,Hangup
I set up a sound just for testing. I’m using the new version 126.96.36.199, and I already tried to use the version 1.6.2 for to do this, and nothing. I saw there is a bug in this version (https://issues.asterisk.org/jira/browse/ASTERISK-18939?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#issue-tabs). But even with patch, doesn’t works.
Someone has a example for show me how it works?
There is a requirement for play the warning?
Someone use this option? Someone has another idea for to do the same thing?