I juste upgraded asterisk from 1.2.4 to 1.2.9 and now I can't set the accountcode CDR field. It works like that with 1.2.4:
$variable = "CDR(accountcode)="._SESSION['username'];
$res = $as->Originate ($channel, $exten, $context, $priority, $timeout, $callerid, $variable, $account, $application, $data);
With 1.2.9 the CDR accountcode field is blank.
Can someone help?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I juste upgraded asterisk from 1.2.4 to 1.2.9 and now I can't set the accountcode CDR field. It works like that with 1.2.4:
$variable = "CDR(accountcode)="._SESSION['username'];
$res = $as->Originate ($channel, $exten, $context, $priority, $timeout, $callerid, $variable, $account, $application, $data);
With 1.2.9 the CDR accountcode field is blank.
Can someone help?