call barge in to specific DDI’s using chanspy


In order to setup call barge in, you will need to follow the below steps

First, enable chanspy in modules > feature codes, and then select the extension you want.

 

 

Then go to modules > config edit, you are looking for extensions_custom.conf

 

 

 

If you go into this file, you want to paste the below code and remove or add what you want in order to block barge in on particular ddi’s.

 

[ext-local-custom]
; Block Access
exten => _*2227760,1,Macro(user-callerid,)
exten => _*2227760,n,Hangup
exten => _*2237760,1,Macro(user-callerid,)
exten => _*2237760,n,Hangup
exten => _*2247760,1,Macro(user-callerid,)
exten => _*2247760,n,Hangup
exten => _*2227761,1,Macro(user-callerid,)
exten => _*2227761,n,Hangup
exten => _*2237761,1,Macro(user-callerid,)
exten => _*2237761,n,Hangup
exten => _*2247761,1,Macro(user-callerid,)
exten => _*2247761,n,Hangup
exten => _*2227721,1,Macro(user-callerid,)
exten => _*2227721,n,Hangup
exten => _*2237721,1,Macro(user-callerid,)
exten => _*2237721,n,Hangup
exten => _*2247721,1,Macro(user-callerid,)
exten => _*2247721,n,Hangup
; Listen
exten => _*222x.#,1,Macro(user-callerid,)
exten => _*222x.#,n,Answer
exten => _*222x.#,n,NoCDR
exten => _*222x.#,n,Wait(1)
exten => _*222x.#,n,ChanSpy(sip/${EXTEN:4},q)
exten => _*222x.#,n,Hangup

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

; Barge In
exten => _*224x.#,1,Macro(user-callerid,)
exten => _*224x.#,n,Answer
exten => _*224x.#,n,NoCDR
exten => _*224x.#,n,Wait(1)
exten => _*224x.#,n,ChanSpy(SIP/${EXTEN:4},qB)
exten => _*224x.#,n,Hangup

 

Note you want to change the *222, *222, *223 and *224 to the code you wish to dial when doing the barge in.



Article ID: 204
Created: Fri, Apr 27, 2018
Last Updated: Fri, Apr 27, 2018
Author: Keira Tait

Online URL: https://kb2.ic.uk/article.php?id=204