Displaying 3 results from an estimated 3 matches for "time_limit_reached".
2018 Jul 28
3
Any way of "flattening out" 2 channels back into one?
Last question for today, I promise!
The problem: In order to disconnect calls after x minutes, I need to do this:
[setup]
exten => setup,1,Answer()
same => n,Set(LIMIT_PLAYAUDIO_CALLER=yes)
same => n,Set(LIMIT_WARNING_FILE=/var/lib/asterisk/sounds/en_GB_TNS/time_limit_reached)
same => n,Dial(Local/s at root/n,3,L(3540000:60000))
same => n,Hangup()
[root]
exten => s,1,Verbose(1,Call to: ${CALLERID(name)} from: ${CALLERID(num)})
same => n,Set(CHANNEL(hangup_handler_push)=hdlr1,s,1)
etc etc
Works well, but the result is it looks like there are 2 acti...
2016 Nov 08
2
What could be stopping "Disconnect Call" feature from working (set in features.txt)
Asterisk 14.1
Here's a bit of test dialplan, which works as expected and simulates
exactly what I'm doing at the top of my large dialplan...
[dial-pre-test]
exten => s,1,NoOp()
same => n,Set(LIMIT_PLAYAUDIO_CALLER=yes)
same => n,Set(LIMIT_WARNING_FILE=time_limit_reached)
same => n,Dial(Local/s at dial-test,3,L(3540000:60000))
same => n,Hangup()
[dial-test]
exten => s,1,NoOp()
same => n,Dial(Local/s at dial-dest,,gH)
same => n,Playback(goodbye)
same => n,Hangup()
[dial-dest]
exten => s,1,Answer()
same => n,MusicOnHo...
2016 Nov 09
2
What could be stopping "Disconnect Call" feature from working (set in features.txt)
...of test dialplan, which works as expected and simulates
>> exactly what I'm doing at the top of my large dialplan...
>>
>> [dial-pre-test]
>> exten => s,1,NoOp()
>> same => n,Set(LIMIT_PLAYAUDIO_CALLER=yes)
>> same => n,Set(LIMIT_WARNING_FILE=time_limit_reached)
>> same => n,Dial(Local/s at dial-test,3,L(3540000:60000))
>> same => n,Hangup()
>>
>> [dial-test]
>> exten => s,1,NoOp()
>> same => n,Dial(Local/s at dial-dest,,gH)
>> same => n,Playback(goodbye)
>> same => n,Ha...