...
For reporting purposes, call attempts from Termination Customer Trunk Groups only count towards the A Leg CDR. Termination Vendor Trunk Groups only count towards the B Leg plus the A Leg with a 200OK.
ASR = (sum of answered calls) / (sum of call attempts) * 100
Example
A SIP Invite comes in a Termination Customer (A Leg) Trunk Group, B Leg call attempt to Vendor X fails, B Leg call attempt Vendor Y fails, B Leg call attempt to Vendor Z succeeds (e.g. a SIP 200OK response is provided). This Call flow generates one A leg CDR and two B leg CDRs.
...