[Asterisk-Users] recording calls

mattf mattf at vicimarketing.com
Thu Nov 6 10:22:59 MST 2003


OK, here is the long drawn out description of how I am using Zap Barge and
Monitor:
 
 
 
Zapbarge(listen in on live calls):
 
Very simple actually I just added this to my dial plan(extensions.conf):
 
    ; barge monitoring extension
    exten => 8159,1,ZapBarge
    exten => 8159,2,Hangup
 
Then when 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#
 
and that leads into the next phase, the recording of calls and also how
people know who is on which channel so they can record/Barge.
 
 
 
Monitor(and other manager functions)
 
This is much more complex than Barge, for this solution I decided to write
several server programs and a perl/TK client that can run on a Linux or
Win32 desktop. 
 
First the server side of things:
- created a constantly run perl script that telnets into the Manager
interface of Asterisk and gets the "show channels" output every 333
milliseconds, it then queries a database to see which "phone extension to
Zap channel" are not in it already and inserts them as well as deleting
channels that are no longer active. I chose to do it this way because it can
scale easily without affecting the Asterisk server at all.
- created a cron job perl script that runs every 5 minutes to take the
recording files, merge them with soxmix and copy them to a universal storage
location so they can be easily retrieved


-----Original Message-----
From: David Gomillion [mailto:dgomillion at eyecarenow.com]
Sent: Thursday, November 06, 2003 10:56 AM
To: 'mattf'
Subject: RE: [Asterisk-Users] recording calls



I think I am keenly interested in this.  Let me make sure I have this
correct first, though.

 

You are able to monitor which lines are in use and record calls that are in
progress (assuming they come in via a Zap channel)?  

 

If this is correct, I would like to know how you did it.  To be honest, I am
not familiar with the Manager interface.  I have been looking at Asterisk
for about a month now, have a test system in place, and have mostly been
playing.

 

If you could help me with this, I would be very interested!

 

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of mattf
Sent: Wednesday, November 05, 2003 5:15 PM
To: 'asterisk-users at lists.digium.com'
Subject: RE: [Asterisk-Users] recording calls

 

Hello,

 

You can use ZapBarge as an extension in your dialplan to listen in on
conversations going on in Zap channels(Zaptel device channels)

 

As for recording you can use the Manager interface command StartMonitor to
start recording of a Zap channel and StopMonitor to stop it.

 

Zap channels are pretty much the only ones right now that you can directly
monitor and record through Asterisk. 

 

If these sound like they'll work for you, you can lookup the specifics
online or ask me and I'll try to do a brief overview of them.  We are using
the Asterisk Manager functions together with a Perl/TK phone command program
to show people on our phone system who is on the phone and to record and
originate phone calls. It works rather well and uses the manager interface
to Asterisk.

 

MATT---

 

-----Original Message-----
From: Todd Wallace [mailto:twallace_list at touchstonetel.com]
Sent: Wednesday, November 05, 2003 4:58 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] recording calls

Is there a way or an "Open Source" product that allows you to record and/or
monitor calls in progress?

 

 

Todd Wallace

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031106/653e736a/attachment.htm


More information about the asterisk-users mailing list