Hi, I have assigned a non-geographical number to a customer.
When the number is called from PSTN or mobile operators, the call comes to my Asterisk server.
In FreePBX I have a inbound route for this DID, which sends the call to a custom destination, where the call is passed to "custom-a2billing-did,${EXTEN},1".
[custom-a2billing-did] exten => _x.,1,DeadAgi(a2billing.php|4|did) exten => _x.,2,Hangup
In A2Billing, I have created the corresponding DID and the destination.
1) When I call the DID number from PSTN, according to what I set in the A2Billing destination (voip call, fixed number, mobile number), everything works.
2) When I call the DID number from a mobile,
- if I set the destination as voip call, it works. - if I set the destination as a fixed or mobile number, the call ends.
Any idea what may be wrong?
Burak
|