Re: [asterisk-users] Queue/Dial Recording - Capture answering channel name.

2010-09-13 Thread Steve Davies
On 11 September 2010 20:36, Antonio Berrios
anto...@sheffieldcitytaxis.com wrote:
 On 09/09/10 17:59, Steve Davies wrote:
 On 9 September 2010 17:52, Antonio Berrios
 anto...@sheffieldcitytaxis.com  wrote:

 Steve Davies wrote:

 Hi,

 I am using 1.6.2.11, and I need to be able to include the name of the
 channel that answered a call in the call-recording filename.

 At a guess we need to use the Queue(name,,macro) or
 Dial(chan1chan2,,M(macro)) and use the macro to update the call
 recording filename. But, the macro runs on the calling channel, and I
 need the called channel - Is this accessible?

 Thanks,
 Steve

 Where ever the MixMonitor recording is done add in the  ${CHANNEL}
 variable to the filename parameter. Or even add in the line below to the
 context that contains Dial(QueueName).

 For example:

 exten =
 s,n,MixMonitor(*${CHANNEL}-${TIMESTAMP}-${UNIQUEID}-${CALLERID(num)}.wav49)



[snip]

 Why is it you require the answering channel in the recording filename?
 There may be an easier way to get you what you need. And a quick copy
 pasta of the dial plan you're using could be handy.


I will look at putting together an example of the dialplan.

We need the answering channel so the we can identify which handset was
recorded (which agent took the call). At present we have caller-id and
dialled extension, but an extension might be ringing any one of 10
phones, and the recording needs to be associated with that
handset/agent.

Regards,
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Queue/Dial Recording - Capture answering channel name.

2010-09-13 Thread Antonio Berrios
  On 09/13/2010 10:11 AM, Steve Davies wrote:
 On 11 September 2010 20:36, Antonio Berrios
 anto...@sheffieldcitytaxis.com  wrote:
 On 09/09/10 17:59, Steve Davies wrote:
 On 9 September 2010 17:52, Antonio Berrios
 anto...@sheffieldcitytaxis.comwrote:

 Steve Davies wrote:

 Hi,

 I am using 1.6.2.11, and I need to be able to include the name of the
 channel that answered a call in the call-recording filename.

 At a guess we need to use the Queue(name,,macro) or
 Dial(chan1chan2,,M(macro)) and use the macro to update the call
 recording filename. But, the macro runs on the calling channel, and I
 need the called channel - Is this accessible?

 Thanks,
 Steve

 Where ever the MixMonitor recording is done add in the  ${CHANNEL}
 variable to the filename parameter. Or even add in the line below to the
 context that contains Dial(QueueName).

 For example:

 exten =
 s,n,MixMonitor(*${CHANNEL}-${TIMESTAMP}-${UNIQUEID}-${CALLERID(num)}.wav49)


 [snip]

 Why is it you require the answering channel in the recording filename?
 There may be an easier way to get you what you need. And a quick copy
 pasta of the dial plan you're using could be handy.

 I will look at putting together an example of the dialplan.

 We need the answering channel so the we can identify which handset was
 recorded (which agent took the call). At present we have caller-id and
 dialled extension, but an extension might be ringing any one of 10
 phones, and the recording needs to be associated with that
 handset/agent.

 Regards,
 Steve

Gotcha. Yeah, I'm looking at implementing that (searching call 
recordings by agent that took the call) here but since our asterisk call 
recording is a separate server to the ones dealing with queues I'll be 
looking at tie-ing the agent to the call recording via a unique call ID 
in a database rather than in the filename itself. I'll post my 
findings/solution to the list if you would like?

p style=margin: 0; padding: 0; border-collapse: collapse; font-family: 
Tahoma, Arial, Sans-Serif; font-size: 10px; color: #33;
---DISCLAIMERbr
 /
The information contained in this message is private and confidential and 
intended only for the recipient named above. If you are not the intended 
recipient you are notified that any communication, circulation or copying of 
the information contained in this message is strictly prohibited. If you have 
received this message in error please notify us immediately by telephone in 
order that we are made aware of this fact and the message can be returned to us 
at our address as indicated above. Activity and use of the Sheffield City Taxis 
e-mail service is monitored to secure its effective operation and for other 
lawful business purposes. Sheffield City Taxis Ltd. Registered Office: 912 City 
Road, Sheffield, S2 1GQ. Registered in England no: 4674148. Sheffield City 
Taxis Limited uses regularly updated anti-virus software in an attempt to 
reduce the possibility of infection. However we do not guarantee that any 
attachments to this e-mail are virus free./p 


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Queue/Dial Recording - Capture answering channel name.

2010-09-13 Thread Steve Davies
On 13 September 2010 11:07, Antonio Berrios
anto...@sheffieldcitytaxis.com wrote:
 Gotcha. Yeah, I'm looking at implementing that (searching call
 recordings by agent that took the call) here but since our asterisk call
 recording is a separate server to the ones dealing with queues I'll be
 looking at tie-ing the agent to the call recording via a unique call ID
 in a database rather than in the filename itself. I'll post my
 findings/solution to the list if you would like?


Sounds like a plan :)

I may try to modify Asterisk to send more parameters to the
MONITOR_EXEC script if requested to do so. UniqueID, CDR(channel) and
CDR(dstchannel) seem like obvious choices.

I'll post results here if I manage it.

Regards,
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Queue/Dial Recording - Capture answering channel name.

2010-09-13 Thread Carlos Chavez
On Mon, 2010-09-13 at 11:22 +0100, Steve Davies wrote:
 On 13 September 2010 11:07, Antonio Berrios
 anto...@sheffieldcitytaxis.com wrote:
  Gotcha. Yeah, I'm looking at implementing that (searching call
  recordings by agent that took the call) here but since our asterisk call
  recording is a separate server to the ones dealing with queues I'll be
  looking at tie-ing the agent to the call recording via a unique call ID
  in a database rather than in the filename itself. I'll post my
  findings/solution to the list if you would like?
 
 
 Sounds like a plan :)
 
 I may try to modify Asterisk to send more parameters to the
 MONITOR_EXEC script if requested to do so. UniqueID, CDR(channel) and
 CDR(dstchannel) seem like obvious choices.
 
 I'll post results here if I manage it.
 
What we do is get the ${MEMBERINTERFACE} variable from the Queue and
then rename the file in the h extension.  To get this variable you need
to set setinterfacevar=yes in your queue definition.  We then run an
AGI from the h extension to rename and move the file.

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001


signature.asc
Description: This is a digitally signed message part
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Queue/Dial Recording - Capture answering channel name.

2010-09-13 Thread Steve Davies
On 13 September 2010 16:58, Carlos Chavez cur...@telecomabmex.com wrote:
 On Mon, 2010-09-13 at 11:22 +0100, Steve Davies wrote:
 On 13 September 2010 11:07, Antonio Berrios
 anto...@sheffieldcitytaxis.com wrote:
  Gotcha. Yeah, I'm looking at implementing that (searching call
  recordings by agent that took the call) here but since our asterisk call
  recording is a separate server to the ones dealing with queues I'll be
  looking at tie-ing the agent to the call recording via a unique call ID
  in a database rather than in the filename itself. I'll post my
  findings/solution to the list if you would like?
 

 Sounds like a plan :)

 I may try to modify Asterisk to send more parameters to the
 MONITOR_EXEC script if requested to do so. UniqueID, CDR(channel) and
 CDR(dstchannel) seem like obvious choices.

 I'll post results here if I manage it.

        What we do is get the ${MEMBERINTERFACE} variable from the Queue and
 then rename the file in the h extension.  To get this variable you need
 to set setinterfacevar=yes in your queue definition.  We then run an
 AGI from the h extension to rename and move the file.


Excellent. thank you.
:)
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Queue/Dial Recording - Capture answering channel name.

2010-09-11 Thread Antonio Berrios
On 09/09/10 17:59, Steve Davies wrote:
 On 9 September 2010 17:52, Antonio Berrios
 anto...@sheffieldcitytaxis.com  wrote:

 Steve Davies wrote:
  
 Hi,

 I am using 1.6.2.11, and I need to be able to include the name of the
 channel that answered a call in the call-recording filename.

 At a guess we need to use the Queue(name,,macro) or
 Dial(chan1chan2,,M(macro)) and use the macro to update the call
 recording filename. But, the macro runs on the calling channel, and I
 need the called channel - Is this accessible?

 Thanks,
 Steve

 Where ever the MixMonitor recording is done add in the  ${CHANNEL}
 variable to the filename parameter. Or even add in the line below to the
 context that contains Dial(QueueName).

 For example:

 exten =
 s,n,MixMonitor(*${CHANNEL}-${TIMESTAMP}-${UNIQUEID}-${CALLERID(num)}.wav49)

  
 I was under the impression from the documentation that the ${CHANNEL}
 variable held the _Calling_ channel, I need the _Called_ channel (the
 channel that eventually picks up the call)

 Am I mistaken? Perhaps I should give it a try :)

 Thanks,
 Steve


Why is it you require the answering channel in the recording filename? 
There may be an easier way to get you what you need. And a quick copy 
pasta of the dial plan you're using could be handy.

p style=margin: 0; padding: 0; border-collapse: collapse; font-family: 
Tahoma, Arial, Sans-Serif; font-size: 10px; color: #33;
---DISCLAIMERbr
 /
The information contained in this message is private and confidential and 
intended only for the recipient named above. If you are not the intended 
recipient you are notified that any communication, circulation or copying of 
the information contained in this message is strictly prohibited. If you have 
received this message in error please notify us immediately by telephone in 
order that we are made aware of this fact and the message can be returned to us 
at our address as indicated above. Activity and use of the Sheffield City Taxis 
e-mail service is monitored to secure its effective operation and for other 
lawful business purposes. Sheffield City Taxis Ltd. Registered Office: 912 City 
Road, Sheffield, S2 1GQ. Registered in England no: 4674148. Sheffield City 
Taxis Limited uses regularly updated anti-virus software in an attempt to 
reduce the possibility of infection. However we do not guarantee that any 
attachments to this e-mail are virus free./p 


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Queue/Dial Recording - Capture answering channel name.

2010-09-09 Thread Antonio Berrios
Steve Davies wrote:
 Hi,

 I am using 1.6.2.11, and I need to be able to include the name of the
 channel that answered a call in the call-recording filename.

 At a guess we need to use the Queue(name,,macro) or
 Dial(chan1chan2,,M(macro)) and use the macro to update the call
 recording filename. But, the macro runs on the calling channel, and I
 need the called channel - Is this accessible?

 Thanks,
 Steve

   
Where ever the MixMonitor recording is done add in the  ${CHANNEL} 
variable to the filename parameter. Or even add in the line below to the 
context that contains Dial(QueueName).

For example:

exten = 
s,n,MixMonitor(*${CHANNEL}-${TIMESTAMP}-${UNIQUEID}-${CALLERID(num)}.wav49)

Hope this helps.

Regards,
Antonio
*

p style=margin: 0; padding: 0; border-collapse: collapse; font-family: 
Tahoma, Arial, Sans-Serif; font-size: 10px; color: #33;
---DISCLAIMERbr
 /
The information contained in this message is private and confidential and 
intended only for the recipient named above. If you are not the intended 
recipient you are notified that any communication, circulation or copying of 
the information contained in this message is strictly prohibited. If you have 
received this message in error please notify us immediately by telephone in 
order that we are made aware of this fact and the message can be returned to us 
at our address as indicated above. Activity and use of the Sheffield City Taxis 
e-mail service is monitored to secure its effective operation and for other 
lawful business purposes. Sheffield City Taxis Ltd. Registered Office: 912 City 
Road, Sheffield, S2 1GQ. Registered in England no: 4674148. Sheffield City 
Taxis Limited uses regularly updated anti-virus software in an attempt to 
reduce the possibility of infection. However we do not guarantee that any 
attachments to this e-mail are virus free./p 


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Queue/Dial Recording - Capture answering channel name.

2010-09-09 Thread Steve Davies
On 9 September 2010 17:52, Antonio Berrios
anto...@sheffieldcitytaxis.com wrote:
 Steve Davies wrote:
 Hi,

 I am using 1.6.2.11, and I need to be able to include the name of the
 channel that answered a call in the call-recording filename.

 At a guess we need to use the Queue(name,,macro) or
 Dial(chan1chan2,,M(macro)) and use the macro to update the call
 recording filename. But, the macro runs on the calling channel, and I
 need the called channel - Is this accessible?

 Thanks,
 Steve

 Where ever the MixMonitor recording is done add in the  ${CHANNEL}
 variable to the filename parameter. Or even add in the line below to the
 context that contains Dial(QueueName).

 For example:

 exten =
 s,n,MixMonitor(*${CHANNEL}-${TIMESTAMP}-${UNIQUEID}-${CALLERID(num)}.wav49)


I was under the impression from the documentation that the ${CHANNEL}
variable held the _Calling_ channel, I need the _Called_ channel (the
channel that eventually picks up the call)

Am I mistaken? Perhaps I should give it a try :)

Thanks,
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] Queue/Dial Recording - Capture answering channel name.

2010-09-08 Thread Steve Davies
Hi,

I am using 1.6.2.11, and I need to be able to include the name of the
channel that answered a call in the call-recording filename.

At a guess we need to use the Queue(name,,macro) or
Dial(chan1chan2,,M(macro)) and use the macro to update the call
recording filename. But, the macro runs on the calling channel, and I
need the called channel - Is this accessible?

Thanks,
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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