Hi
I have installed A2Billing2.2.0+Asterisk13.18-cert3. Outgoing calls are configured and billed correctly.
Once a customer calls another, two CDR records stored, Calltype:DID_Voip and CallType:DID-ALEG, but none of them are charged and the charges are zero.
I googled to find out any workaround to fix the issue. All results were incomplete and outdated.
I created a LOCAL provider, then a TRUNK with Tech=local, Provider IP:a2billing. DIDa are also configured and I can receive calls. But I noticed that the calls are not routed through the trunk.
When using simulator, it can find the correct Call Plan and rates. but it doesn't apply to the call.
I have two questions:
(1) How can I setup asterisk to pass the call through a local trunk so A2Billing can apply charges to calls?
(2) What should I do to make A2Billing charge the customer-to-customer calls?
Thanks
|