I've analysed these logs several times and I do not get this part:
Code:
-- Goto (custom-freepbx-a2billing,00486182XXXXX,1)
== Channel 'SIP/1000-00000000' jumping out of macro 'dialout-trunk-predial-hook'
== Channel 'SIP/1000-00000000' jumping out of macro 'dialout-trunk'
-- Executing [00486182XXXXX@custom-freepbx-a2billing:1] DeadAGI("SIP/1000-00000000", "a2billing.php|1") in new stack
-- Executing [00486182XXXXX@custom-freepbx-a2billing:2] Hangup("SIP/1000-00000000", "") in new stack
Does it not seem if the a2billing.php wasn't working at all? As it was written in the linked post, I also put card number (from a2b) in account code field in FreePBX, but it seems it does not make any difference at all.
Edit:
The predial hook I changed in extensions.conf. I never did touch extensions_additional.conf or extensions_custom.conf. However, some time ago, in extensions_a2billing.conf I put following lines:
Code:
[a2billing]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup
I do not think it makes any difference (because it is not used anywhere). Or does it ?
EDIT:
I uploaded txt file with asterisk log + sip debugging on. Sip signalling seems ok.
Attachment:
File comment: asterisk log with sip debug
with_sip_debug.txt [13.47 KiB]
Downloaded 1102 times
EDIT:
I ran a2billing.php from console. This is the output:
Attachment:
File comment: I ran a2billing.php from console. This is the output
a2billing-run.txt [5.3 KiB]
Downloaded 1045 times