|
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
|
- RE: [Asterisk-Users] recording calls mattf
- FW: [Asterisk-Users] recording calls mattf
- FW: [Asterisk-Users] recording calls mattf
- RE: [Asterisk-Users] recording calls David Gomillion
- Re: FW: [Asterisk-Users] recording calls Olle E. Johansson
- [Asterisk-Users] H323 Gateways David J Carter
- Re: [Asterisk-Users] H323 Gateways Adam Hart
- Re: FW: [Asterisk-Users] recording calls C. Maj
- RE: [Asterisk-Users] recording calls mattf
