On 9 September 2010 17:52, Antonio Berrios
<[email protected]> 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(chan1&chan2,,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

Reply via email to