Hi Rupa,
I found while working on the last version of the mod_lcr that by default only lcr_carrier and lcr_rate are imported as channel variables and in case of custom sql being used the lcr_user_rate is being populated only in the b-leg.
So currently if i want to have the complete info on call server by mod_lcr i have to read both a & b-legs.
I went trhough the source and found lines:
1314
1317
1318
1436
1439
1440
1585
1588
1589

where string "lcr_carrier,lcr_rate" could be changed to "lcr_carrier,lcr_rate,lcr_user_rate" and this will eliminate the need of collecting the b-leg info.
This also obviously applies to all other lcr generated variables that might be of any interest for billing purposes.
Pls let me know if this makes sense to you.
Regards
Chav Paskov