Hi,
I am trying to get a new installation of a2billing up and running. Most things seem to be working, but I'm unclear of exactly what entries should be in extensions_custom.conf (I'm using PIAF/FreePBX.) I saw on old post to add this section:
Code:
[a2billing-sip]
exten => _X.,1,DeadAGI(a2billing.php,2)
exten => _X.,n,Hangup
But after adding the SIP calls just go into the main [a2billing] context and ask for authentication. Here is my entire a2b context entries I got from a website:
Code:
[a2billing]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,deadAGI(a2billing.php,1)
exten => _X.,n,Hangup
[a2billing-sip]
exten => _X.,1,DeadAGI(a2billing.php,2)
exten => _X.,n,Hangup
[a2billing-callback]
exten => _X.,1,deadAGI(a2billing.php,1,callback)
exten => _X.,n,Hangup
[a2billing-cid-callback]
exten => _X.,1,deadAGI(a2billing.php,1,cid-callback,34) ;last parameter is the callback area code
exten => _X.,n,Hangup
[a2billing-all-callback]
exten => _X.,1,deadAGI(a2billing.php,1,all-callback,34) ;last parameter is the callback area code
exten => _X.,n,Hangup
[a2billing-did]
exten => _X.,1,deadAGI(a2billing.php,1,did)
exten => _X.,2,Hangup
[a2billing_callingcard]
; CallingCard application
exten => _X.,1,NoOp(A2Billing Start)
exten => _X.,n,DeadAgi(a2billing.php|1)
exten => _X.,n,Hangup
[a2billing_voucher]
exten => _X.,1,Answer(1)
exten => _X.,n,DeadAgi(a2billing.php|1|voucher)
;exten => _X.,n,AGI(a2billing.php|1|voucher|44) ; will add 44 in front of the callerID
exten => _X.,n,Hangup
I added the a2billing-sip context from some old post here. Does anyone know if this is correct or am I missing something? Running Asterisk 13.8.2 with Incredible PBX / FreePBX. I know that SIP calls should not be answered but dial directly.
Thanks,
Steve
EDIT: I just tried the Asterisk 1.8 config sample in addons/asterisk-conf and got the same results.