I have installed successfully with Asterisk 1.4x and A2Billing 1.7.1.
And I have configured my system with extension as following :
exten => 666,1,Answer
exten => 666,2,Wait(2)
exten => 666,3,DeadAGI(a2billing.php,1)
exten => 666,4,Wait(2)
exten => 666,5,Hangup
It means that my trunk has a number called is 666, and the client calls this number and enters the destination.
But I want to configure that the client calls direct the number destination (not use the number fixed of trunk as 666 ) and the A2Billing works to calculate this call. Example : the client calls direct : 06 83 83 75 91 and A2Billing will call to destination.
How do I write the extension to configure the call direct ?
Thank in advance for all helps!