[Home]

Summary:ASTERISK-17954: Accountcode and Peeraccount is not set correctly
Reporter:Alexandre Arruda Paes (alepaes)Labels:
Date Opened:2011-06-02 12:24:00Date Closed:2014-07-24 18:08:04
Priority:MinorRegression?No
Status:Closed/CompleteComponents:CEL/General
Versions:1.8.4 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If you set Accountcode in a 2 SIP peers and make a call, the result is:
{noformat}
Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo          
SIP/softphone-000000 ext               8031                1 Up      AppDial      (Outgoing Line)           8031            00:00:10 8030        8030        SIP/S8003-00000002  
SIP/S8003-00000002   ext               8031               83 Up      Dial         SIP/softphone,60,tTM(aten 8030            00:00:10 8030        8030        SIP/softphone-000000
{noformat}

Above, We have both accountcode and peeraccount set to the first channel that did the call.

Using cdr_adaptive_odbc, if I have a field peeraccount in the table, it's not set correctly too.
Comments:By: Richard Mudgett (rmudgett) 2014-07-24 18:08:04.699-0500

Closing because v1.8 punted on the peeraccount feature.  The CEL field just became a duplicate of accountcode.

Asterisk v13 (currently trunk) will have a functional peeraccount field in the CEL AMI events and CEL logs.

See -r419520 and reviewboard https://reviewboard.asterisk.org/r/3601/