login | register
Tue 02 of Dec, 2008 [15:20 UTC]

voip-info.org

Discuss [4] History

Asterisk cmd ZapBarge

Created by: oej,Last modification on Fri 12 of Oct, 2007 [13:13 UTC] by chandave

Synopsis

Listen to a Zap channel call

Description

 ZapBarge(channel)

Lets you listens to the conversation on a specified Zap channel, or prompts if one is not specified. You can hear them, but they can't hear you. No indication is given to the other parties that their call is being listened to.

Multiple people can all use ZapBarge to listen in on the same channel.

Return Code

Returns -1 when caller user hangs up and is independent of the state of the channel being monitored.

Example

   ; barge monitoring extension
   exten => 8159,1,ZapBarge
   exten => 8159,2,Hangup

If you dial 8159 on a phone, you get asked which line you want to listen in on, for Zap/1-1 you would press 1#, for Zap/25-1 you would press 25#.

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ


Comments

Comments Filter
222

333Re: ZapBarge Issue

by fabianevich, Friday 01 of February, 2008 [12:03:16 UTC]
I've faced that behaviour, too.
ZapBarge "listens" on a channel no matter if there is an active call on it or not.
I had to change the source code of asterisk to make it return when there is no ongoing call on channel.

222

333ZapBarge Issue

by gcaudle, Friday 24 of March, 2006 [22:10:04 UTC]
Have issue with ZapBarge. Using this in call center where people monitor calls randomly, but zapbarge allows you to stay on a line after a call had ended and listen subsequent calls. Is there a wayu to have zapbarge end when the call you barged in on ends? PLEASE HELP!!!!!!!
222

333If you just wanted to pick up a PSTN line

by , Saturday 27 of November, 2004 [07:37:04 UTC]
Use something like:

exten => *1,1,Dial(Zap/1/)

I.E., just dial as normal with no phone number.
222

333Multiple ZapBarge's

by fabe, Thursday 29 of April, 2004 [13:01:00 UTC]
ZapBarge works just fine if you've more than one caller using it all listening to the same channel.