Hello Forum,
first of all: Thanks for this great piece of software and all the help you can get in this forum.
I now have a quite nice Installation with Asterisk 1.4.17 and A2Billing 1.3.4 running on my ubuntu 8.04LTS Server.
The only problem i have is the Callback function.
I managed it to get it working with "cli-callback" in
[a2billing-callback]
exten => _X.,1,Answer
exten => _X.,2,Wait,2
exten => _X.,3,DeadAGI(a2billing.php|1|cli-callback)
exten => _X.,4,Hangup
CID Callback and Web-Callback are fine with ist.
BUT: The "Callback-Call" (First Leg) is not being charged or registrated in the Call-History!
When I try this:
[a2billing-callback]
exten => _X.,1,Answer
exten => _X.,2,Wait,2
exten => _X.,3,DeadAGI(a2billing.php|1|callback)
exten => _X.,4,Hangup
...the callback my server will call me back as he should do and informs me about my credit, but after that it hangs up!
But with this way my "Callback-Call" (First Leg) ist charged as i want it to.
Any ideas, how I could solve it?