Hi, We have a new customer that will be using a multi-tenant setup (bicom pbxware) behind our A2B. Rather than (a) having 1 trunk setup per tenant, (b) dealing with multiple IP or (c) avoiding the multiple registration issues that asterisk has, would like to see if we can use the account code to tie the calls to the end user. We have the preserveaccount code module, but that works for registrations on the a2b switches.
I know that in the past, the suggestion has been to pass the account code as part of the dialed number to A2B, and strip in once it arrives. However, the issue with that is that asterisk is recording the originally dialed number in the CdR's, and when our billing system picks it up, it will not know what to do. (we're not using a2b to actually bill because of the complex tax structure involved). One solution would be to find a way of rewriting the "dialed" number, which I've never really seen work, since the CdR field (dst) is read-only.
Anyone have any ideas on how to handle this?
Thanks in advance, Carlos
|