Can you allow barge in on a line without parking a call

freepbx
Tags: #<Tag:0x00007fafc32b0730>

#21

Well, that ties into another suggestion that I’ve made, which is that if dev wants to make a change, they should update the documentation!! :slight_smile:


#22

Is there a way to “barge” in on a line in such a way that its not a barge, so much as a join?

Is there an alternative to chanspy that will add you to a call such that if the original caller hangs up, the call will stay active until you hang-up?


(Lorne Gaetz) #23

Not with dialplan. If may be possible with ARI programming of some sort.


#24

Thank you. For anyone who comes along later, I ultimately came up with this, which you put in extensions_custom.conf:

[from-internal-custom]
exten => *779,1,Macro(user-callerid,)
exten => *779,n,Answer
;exten => *779,n,Authenticate(8888)
exten => *779,n,NoCDR
exten => *779,n,Wait(1)
exten => *779,n,ChanSpy(,dn)
exten => *779,n,Hangup

; Dial *779 (*SPY); sit and wait for channels to use the phone
; Press * to move through multiple chanels; # will change volume
; During the call, dial 4 for spy, 5 for whisper, and 6 for barge
; Change 8888 to whatever PIN you want to use. If you want
; to eliminate the need for the PIN; put a semi-colon in front of
; the “authenticate” line

exten => _*779x.#,1,Macro(user-callerid,)
exten => _*779x.#,n,Answer
;exten => _*779x.#,n,Authenticate(8888)
exten => _*779x.#,n,NoCDR
exten => _*779x.#,n,Wait(1)
exten => _*779x.#,n,ChanSpy(sip/${EXTEN:4},dq)
exten => _*779x.#,n,Hangup

; Dial *779 + extension number.
; During the call, dial 4 for spy, 5 for whisper, and 6 for barge
; Change 8888 to whatever PIN you want to use. If you want
; to eliminate the need for the PIN; put a semi-colon in front of
; the “authenticate” line

you have to reload the dialplan to make these changes effective:

asterisk -r
dialplan reload
exit


(system) closed #25

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.