I am using two servers in my configuration: one for phones registration and another one as gateway, where all the providers are connected. Both are connected through an IAX trunk. I am having some trouble on matching both CDR’s, since durations for a call are not always the same in both servers, start/end date time are sometimes also different, etc.
Is there any way to send the uniqueid of the original call, maybe through the IAX trunk, and get it on the gateway server to save it in the final CDR’s userfield? That way they would match by that field.
Thank you in advance.