[asterisk-users] hangup the _called_ channel ?
sean darcy
seandarcy2 at gmail.com
Wed Sep 12 12:25:54 CDT 2018
On 9/12/18 1:22 PM, Joshua Colp wrote:
> On Wed, Sep 12, 2018, at 2:19 PM, sean darcy wrote:
>> 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.
>
> Define "send". How are you doing it?
>
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()
Is there a better way ?
More information about the asterisk-users
mailing list