OK, I put together a quick patch to change app_zapbarge.c into app_zapscan.c; you should also update your Makefile in /apps to include reference to app_zapscan (just find reference to app_zapbarge and copy).
The patch is here: http://asterisk.toad.net/app_zapbarge.c-change-to-zapscan There are two problems with this as written: - It makes the assumption you have 23 zap channels (if you have a different #, change 23 to x) - It makes you listen to zap channels that are on-hook, which are a tad dull, if you know what I mean I'd appreciate any help 1) determining how many zap channels one has, so we don't have to hardcode 23, 2) being able to detect whether a zap channel is on-hook so we can skip it. I am sure both of these are straightforward, but I don't now how to do it. Any help appreciated. Dave ===================================================================== David C. Troy [EMAIL PROTECTED] 410-384-2500 Sales ToadNet - Want to go fast? 410-544-1329 FAX 570 Ritchie Highway, Severna Park, MD 21146-2925 www.toad.net On Mon, 8 Sep 2003, David C. Troy wrote: > > Just set up an extension that calls it: > > Exten => 7000,1,ZapBarge > > Then enter the channel number and pound, and you're good to go. It enters > the conference with ZT_CONF_MONITORBOTH option, which as far as I can tell > is a listen-only mode -- so no need to mute your phone. > > Trick with ZapBarge vs. ZapScan is you need to know what channel you want > to listen to, as where ZapScan lets you scan through all of them much > easier. > > I will post a patch to convert ZapBarge into ZapScan. It's pretty > trivial. The thing I want to do that I haven't figured out yet, though, > is I want to skip a channel if it's not in use. Right now you end up > listening to, say, 5 live channels and 18 on-hook channels on a PRI, for > instance. > > Dave > > ===================================================================== > David C. Troy [EMAIL PROTECTED] 410-384-2500 Sales > ToadNet - Want to go fast? 410-544-1329 FAX > 570 Ritchie Highway, Severna Park, MD 21146-2925 www.toad.net > > On Mon, 8 Sep 2003, mattf wrote: > > > I see that zapbarge is integrated into my build of Asterisk, but could you > > give me some simple instructions on how to use it, also where can we find > > zapscan, I cannot find reference to it anywhere? > > > > Do both of these simply monitor with one-way audio or do you need to mute > > your phone before you execute them? > > > > Thanks, > > > > MATT--- > > > > -----Original Message----- > > From: David C. Troy [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 08, 2003 9:58 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [Asterisk-Users] live monitoring > > > > > > > > No need to reinvent the wheel -- use ZapBarge. I have also modified > > ZapBarge into what I call 'ZapScan', which lets you scan through all of > > your Zap channels by pressing # to change channels. It works great! > > > > Dave > > > > ===================================================================== > > David C. Troy [EMAIL PROTECTED] 410-384-2500 Sales > > ToadNet - Want to go fast? 410-544-1329 FAX > > 570 Ritchie Highway, Severna Park, MD 21146-2925 www.toad.net > > > > On Mon, 8 Sep 2003, Alastair Maw wrote: > > > > > mattf wrote: > > > > > > > I've search through all of the lists and cannot find any descriptions of > > > > live monitoring (monitoring a phone call going on between an extension > > and a > > > > zaptel channel live from another extension while the monitoring phone is > > > > muted). I am aware of the monitor function which is actually a call > > > > recorder, but I'm looking for live monitoring from a muted extension. is > > > > this easily acomplished or is this a feature request? > > > > > > I would also be very interested in doing this. I don't think it's > > > currently possible out-of-the-box, but presumably it wouldn't be > > > terribly hard to hack up the meetme application to support this, > > > provided it's possible to do a one-way audio conference. So, the > > > question is, is it? > > > > > > Various people seem to be having SIP NAT one-way issues, so we could > > > pipe things out over a loopback device set up to block UDP going one > > > way. Very nasty and hacky, but might be easy and not much hassle. :) > > > > > > -- > > > Alastair Maw <[EMAIL PROTECTED]> > > > MX Telecom - Systems Analyst > > > http://www.mxtelecom.com > > > > > > _______________________________________________ > > > Asterisk-Users mailing list > > > [EMAIL PROTECTED] > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
