Displaying 3 results from an estimated 3 matches for "hdlr1".
2020 Feb 04
1
Looking for sample hangup_handler_pop and _wipe using vars
Please point me to samples of popping and wiping hangup handlers. I don't
need to use the values returned; I just need to clear any handlers before I
push a new one.
It's not clear at
https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers+Specification how
to provide vars on the right-hand side.
Cheers,
David
-------------- next part --------------
An HTML attachment was scrubbed...
2018 Jul 28
3
Any way of "flattening out" 2 channels back into one?
...t; 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 active calls
in the console. Is there any way of forcing the drop of a call after x
minutes without doing this "double dialling" business?
Thanks
2018 Jun 09
2
getting real sip status after dial
I think HANGUPCAUSE is channel agnostic.
See: core show function HANGUPCAUSE
Some thing like this IIRC:
Set(my_cause=${HANGUPCAUSE(${CHANNEL(name)},tech)})
Remember the incoming leg of the call and the outgoing leg of the call
are different channels. Make sure you are giving HANGUPCAUSE the
correct channel.
On 06/09/2018 02:01 PM, Khalil Khamlichi wrote:
> It seems very weird to me