Adding Listen, Whisper, and Barge to FreePBX or Asterisk

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

Related Posts

  • 32
    Pre-dial handlers allow you to execute a dialplan subroutine on a channel before a call is placed but after the application performing a dial action is invoked. This means that the handlers are executed after the creation of the caller/callee channels, but before any actions have been taken to actually…
    Tags: call, exten
  • 30
    Dial() is perhaps the most important application in Asterisk. Dial() accepts every valid channel type (e.g. SIP, IAX2, H.323, MGCP, Local, Zap, Dahdi), The allowable parameters are channel-specific; i.e., what parameters a channel requires or will accept depends on the nature of the channel technology. For example, a SIP channel will require an IP address…
    Tags: call, exten
  • 30
    1. Business Email Solution We Provide email solution for your business.             2. Web Hosting & Domain Registration We Provide Cheapest and Best Domain registration and Web Hosting Solution.             3. Customer Interaction Solution. a) Call Recording Solution b) Call Center - Dialer…
    Tags: call, manager

Leave a Reply

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

%d bloggers like this: