Adding Listen, Whisper, and Barge to FreePBX or Asterisk

Rate this post

Adding Listen, Whisper, and Barge to FreePBX or Asterisk

Listen: Monitor an agents call. The manager can hear both the spied-on and bridged channels, but they cannot hear the manager.

Whisper:  Whisper to the agent. The manager can hear both the spied-on and bridged channels, and the spied-on channel (agent) can also hear the manager, but not the bridged channel, hence “whisper.”

Barge: Barge in on both channels. The manager channel is joined onto the spied-on and bridged channel, and all parties can hear each other. Be warned, if the original agent leaves the call, the call is dropped. This is not a 3-way call. (However you can barge in, and when comfortable, initiate a 3way call to your extension so you can continue the call without the agent.

;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

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

For any query or issue, feel free to discuss on http://discuss.eduguru.in

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: