[asterisk-users] hangup the _called_ channel ?

sean darcy seandarcy2 at gmail.com
Wed Sep 12 12:19:26 CDT 2018


I understand that HangUp() hangs up the calling channel. I want to 
hangup the called channel.

SIP/mycall-xxxxx calls and bridges with DAHDI/1-1.

I send SIP/....  to listen to a long, very long, file.

GoSub(play-long-file,s,1)

[play-long-file]
exten=s,1,  ;;; Here I want to hangup DAHDI/1-1, the called channel
same=n,Playback(very-long-file)
same=n,Hangup()

How do I hangup the called channel, and leave the calling channel 
listening to the file ?




More information about the asterisk-users mailing list