Channelvariables Not Set In Newchannel Event And DADHIChannel

Home » Asterisk Users » Channelvariables Not Set In Newchannel Event And DADHIChannel
Asterisk Users No Comments

I’d like to receive CHANNELvariables in my AMI-events. Unfortunately this seems not to work for Newchannel- and DAHDIChannel- events caused by an Originate. In manager.conf I putted the following line: channelvars=CHANNEL(uniqueid),AJ_TRACE_ID . Only CHANNEL(uniqueid) appears to work for every event.

This seems like a bug to me, or is there a purpose for this behaviour?
Anyway, receiving channelvariables in Newchannel- and DAHDIChannel- events would be a very useful functionality for my application.

Best regards, Arjan Kroon

Below you’ll find some information about my testcase.

Asterisk 1.8.15

settings in manager.conf

[general]
channelvars=CHANNEL(uniqueid),AJ_TRACE_ID

flow