Re: [asterisk-users] Queue Monitor not mixing if using UNIQUEID in MONITOR_FILENAME

2006-12-19 Thread James Fromm

I spent hours debugging this a few weeks ago.

The ${UNIQUEID} contains a period (.).  Mine are something like 
.xx.  When soxmix is executed to mix the in and out files, the 
file types are not specified.  This causes soxmix to attempt to 
determine the file type by the filename's extension.  The routine in sox 
that looks for the filename's extension doesn't expect multiple periods 
in the filename.  So it finds the file type to be xx.wav (or xx.gsm) and 
that's not a format sox can handle.


You can add an AGI call to your dialplan immediately after the Queue 
application to join the files.


Ex Vitorino wrote:

 (1st attempt was rejected by postfix @lists.digium.com, here goes the 2nd)

-- Forwarded message --
From: Ex Vitorino [EMAIL PROTECTED]
Date: Dec 18, 2006 11:41 PM
Subject: Queue Monitor not mixing if using UNIQUEID in MONITOR_FILENAME
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com



 Hello Asterisk Users,


 I guess the subject says the most of it; here goes some more
 detail:

 - Running Asterisk 1.2.14
 - Objective: record all calls managed by a specific queue
 - Name those files ${TIMESTAMP}-${CALLERIDNUM}-${UNIQUEID}

 Facts:

 - If the UNIQUEID chan var is used in the MONITOR_FILENAME,
   before calling the Queue() application, the two legs of the call are
   not mixed and I end up with the two separate -in / -out files

 - If it isn't used (for example: using only ${TIMESTAMP]-${CALLERIDNUM})
   then, the legs are mixed together...

 Note:

 - In my first attempt I never managed to get the legs mixed... Only
   after some experiment, I understood (well, not 100% clear why!)
   that I had to also to add to include recordagentcalls=yes and
   monitor-join=yes in agents.conf !


 Can anyone provide some insight into this ? Thanks in advance!

 (see below for config)
--
 Ex Vito



 queues.conf:

   [general]
   persistentmembers = yes

   [the_queue]
   musiconhold = default
   announce = the_announcement
   strategy = ringall
   servicelevel = 20
   context = the_context
   wrapuptime = 10
   announce-frequency = 30
   announce-holdtime = once
   monitor-format = wav
   monitor-join = yes
   eventwhencalled = yes
   eventmemberstatus = no
   reportholdtime = no
   member = SIP/sip0001


 agents.conf:

   [general]
   persistentagents=yes
   recordagencalls=yes
   monitor-join = yes
   [agents]

   (no agents declared, as they are directly configured in the
queues.conf file)


 extensions.conf:

   ...
   [globals]
   SUPPORT_MONITOR_PATH=/var/spool/asterisk/monitor/support

   [the_context]

   exten = 305,1,Answer()
   exten = 
305,n,Set(MONITOR_FILENAME=${SUPPORT_MONITOR_PATH}/${TIMESTAMP}-${CALLERIDNUM}) 


exten = 305,n,Queue(the_queue,t)
exten = 305,n,Hangup()
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Queue Monitor not mixing if using UNIQUEID in MONITOR_FILENAME

2006-12-19 Thread Ex Vitorino

 James,


 Thanks a lot for sharing the result of those debugging hours ! :-)

 I'm now left with two choices to begin with:

 1. Replacing the . with a - within the dialplan

 2. Replacing the Ubuntu Server packaged sox version (12.17.9)
 with the most recent (12.18.2) which no longer seems to
 suffer from that sillyness...

 (yes, I did a quick new sox download/compile/test in a separate system
  and soxmix file1.this.ext file2.that.ext mix.good.ext started working
  with the new version !)


 Kind Regards,
--
 Ex Vito

On 12/19/06, James Fromm [EMAIL PROTECTED] wrote:

I spent hours debugging this a few weeks ago.

The ${UNIQUEID} contains a period (.).  Mine are something like
.xx.  When soxmix is executed to mix the in and out files, the
file types are not specified.  This causes soxmix to attempt to
determine the file type by the filename's extension.  The routine in sox
that looks for the filename's extension doesn't expect multiple periods
in the filename.  So it finds the file type to be xx.wav (or xx.gsm) and
that's not a format sox can handle.

You can add an AGI call to your dialplan immediately after the Queue
application to join the files.


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Queue Monitor Filename Problem

2005-04-29 Thread Dana Olson
On 4/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Hi !
 I am using queues with MOnitor Application but the thing is that Iwant to
 save the files starting with the Answering agent name. I have tried a lot
 of things but nothing seems to work. If i put Monitor application on top
 of dialing the agent then as soon as agent picks up the recording hangs up
 without recording anyhting. And if I put the Monitor application on top of
 Queue command then I have to specify the saving filename before I know
 that to which agent the call is going. ANy comments , suggestions
 appreciated.
 Thanks,
 Usman.


You could start the recording with a manager command remotely via
telnet... I've been working on this, but my problem is that I don't
know socks and PHP too well.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] queue monitor

2004-12-02 Thread Peter Svensson
On Wed, 1 Dec 2004, Brian C. Fertig wrote:

 You can setup recording by default.  This is how I have mine setup.  I
 don't believe the way app_queue is now you can have the agent press
 something to have it start recording.

Maybe the patch in 
  http://bugs.digium.com/bug_view_advanced_page.php?bug_id=0002955
can help? I am not sure I have understood what you are after exactly so 
this is a bit of a stab in the dark.

Peter


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] queue monitor

2004-12-01 Thread Brian C. Fertig
You can setup recording by default.  This is how I have mine setup.  I
don't believe the way app_queue is now you can have the agent press
something to have it start recording.

 
 
.o---o.
Brian Fertig
Network Engineer
Planet Telecom, Inc.
Tampa, FL Office
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ruben
Santos
Sent: Wednesday, December 01, 2004 4:25 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] queue monitor

We want to set up monitoring of calls going into our queue. We want to 
know if there was a way to initiate it, by having the agent who picks up

the call dial a number to initiate the recording.


Ruben T. Santos
Director of Network Operations
Brand X Networks
(866) 487-3244 x 5203
[EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Queue Monitor

2004-08-23 Thread Robert Jackson


 -Original Message-
 From: Kevin [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, August 21, 2004 5:16 PM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Queue Monitor
 
 
 I understand that putting monitor-format in the queues.conf 
 file will start monitor recording of an active queue call.  
 Is there a way to automatically do the post call processing 
 like the 'm' option like when specifying the use of the 
 monitor command?

Try monitor-join=yes in queues.conf after the monitor-format line.  
This seems to join the two files together for me.  

Hope this helps,

Robert Jackson
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users