[asterisk-dev] setting CDR variables across channels from a macro

Clint Tevlin actevlin at iprimus.com.au
Wed Apr 12 04:40:54 MST 2006


exten => s,n,Dial(IAX2/nnnnnn/61${CLIENTNO:1},30,M(starttime^${key}^${chan}))


I'm trying to record the answertime for an outgoing call from a macro as above and store it in CDR(starttime) of the initial channel.

The problem is that the macro channel is different to the original call channel.

Is there a neat way of doing this?

Cheers,

Clint.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060412/1b7dad10/attachment.htm


More information about the asterisk-dev mailing list