Anyone have any suggestions on obtaining / setting the Account Code for BLeg for Mod_xml_cdr.

 

I applied accountcode but that is only handling for ALeg. I also looked at effective_caller_id_number – but I need to dynamically (at time of bridging a-leg to b-leg) define the accountcode?

 

Probably some custom coding I would assume to pull this off…

 

Any thoughts…

 

Thanks