We have the following setup.
The main office has CCM 6.1.3 and the branch office has a non cisco PBX which supports H.323.
We have added the non-Cisco PBX as a H.323 gateway in CCM and users in main office can call branch office without any issues via the WAN link.
The WAN link connecting the main office and the branch office can permit only 5 calls.
So we have a route list containing a WAN route group and a PSTN route group.
Main office users are able to call the branch office without any issues. The 6th call is automatically carried over the PSTN.
We do digit manipulation at the route group level. We just send 4 digits to the gateway in the WAN route group and we append the full PSTN prefix and send the 11 digits to the gateway in the PSTN route group.
The interesting problem comes in the area of billing. Our management wants to bill the departments only for the inter-office calls that are made over the PSTN. No charge should be billed to the departments for the inter-office calls going via the WAN.
But in the CDR records, we see the same called number irrespective of whichever rotue group (WAN or PSTN),the call had gone.
Is there any way we can change the called number field in the CDR records depending upon the path (route group) the calls takes?
We would like to see the full 11 digits in the called number field in CDRs for inter-office calls made via the PSTN route group and 4 digits in the called number field for inte-office calls made via the WAN route group.
Appreciate your inputs on this issue.