[asterisk-users] hangup the _called_ channel ?

Joshua Colp jcolp at digium.com
Wed Sep 12 12:32:09 CDT 2018


On Wed, Sep 12, 2018, at 2:25 PM, sean darcy wrote:
> 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)

You can't have a channel both in dialplan directly and also bridged to another channel at the same time. There's not enough context or information to really be able to answer without understanding fully.

-- 
Joshua Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list