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

Reply via email to