Hello Marko,
Are you saying that in your extension_a2billing.conf, you only have this :
Code:
[a2billing]
;exten => _X.,1,Answer
exten => _X.,1,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup
If that is the case, then you need a lot more than that. Cause that will not handle any DID call. It will only be able to handle standard calling card mode.
You have to put something similar to the following. And make sure that you have it customized to fit your needs.
Code:
[a2billing]
exten => _X.,1,Answer
exten => _X.,n,Set(AGISIGHUP=no)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup
;Used by web-callback and all callback only
[a2billing-callback]
exten => _X.,1,Set(AGISIGHUP=no)
exten => _X.,n,DeadAGI(a2billing.php|1|callback)
exten => _X.,n,Hangup
[a2billing-cid-callback]
exten => _X.,1,Set(AGISIGHUP=no)
exten => _X.,n,DeadAGI(a2billing.php|1|cid-callback|1)
exten => _X.,n,Hangup
[a2billing-all-callback]
exten => _X.,1,Set(AGISIGHUP=no)
exten => _X.,n,DeadAGI(a2billing.php|1|all-callback|1)
exten => _X.,n,Hangup
[a2billing-predictivedialer]
exten => _X.,1,Set(AGISIGHUP=no)
exten => _X.,n,DeadAGI(a2billing.php|1|predictivedialer)
exten => _X.,n,Hangup
[a2billing-did]
exten => _X.,1,Set(AGISIGHUP=no)
exten => _X.,n,DeadAGI(a2billing.php|1|did)
exten => _X.,n,Hangup
[a2billing-voucher]
exten => _X.,1,Set(AGISIGHUP=no)
exten => _X.,n,DeadAGI(a2billing.php|1|voucher)
exten => _X.,n,Hangup
And if you are really DID calls, then send it to the context called [a2billing-did]