Need To Send Call Records to Call Accounting software with Proper E.164 Format

I have calls going to a Class 4 switch then to a call accounting server how can I set trunks to send the format requested
"the international destination number in proper E.164 format (Country code+Number—without leading 011) . you will have to send All calls with country code + number (for Domestic switch needs Country code 1 + number)."