Summary:ASTERISK-18224: CDR(accountcode) not accessable to 'Local' channels
Reporter:Ross Beer (rossbeer)Labels:
Date Opened:2011-08-03 11:15:22Date Closed:2011-08-03 12:38:17
Versions: Frequency of
is the original version of this clone:ASTERISK-19384 REGRESSION - CLONE - CDR(accountcode) not accessable to 'Local' channels
Environment:Cent OSAttachments:
Description:Upgrading from 1.6.2 to 1.8.5

When setting an account code using 'Set(CDR(accountcode)=10000)' and then dialling a 'Local/number@context/n' the value is not passed to the local channel that has been created.

In the past this variable and others were accessible in the local channel allowing it to identify the correct account number.

Setting global variables 'Set(__Name=34234)' is carrying over correctly.

Has this feature been removed or is this a bug?
Comments:By: Paul Belanger (pabelanger) 2011-08-03 12:38:10.229-0500

Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support.

By: Pozsár Balázs (pozsy) 2011-10-03 08:24:50.421-0500

This was not a comment, this was a real-world bug report! I hit the same bug. 1.8.5 differs in behaviour from 1.6.x. regarding passing the accountcode. Was it intended?