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 ?
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? -- 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
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 ?
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 ?