Hi, I have A2Billing 1.8.5
I have the following in extensions_a2billing.conf
[a2billing-callback] exten => _X.,1,DeadAgi(a2billing.php|1|callback) exten => _X.,n,Hangup
Also in extensions_custom.conf
[custom-a2billing-callback] exten => _X.,1,DeadAgi(a2billing.php|7|callback) exten => _X.,n,Hangup
In a2Billing system settings/callback group, I have context_callback=custom-a2billing-callback
If I understand right, for the A-Leg (Callback Leg) of the call, because I have context_callback=custom-a2billing-callback, the callback deamon will use agi_conf7 instead of agi-conf1 as in the [a2billing-callback] context, hence [a2billing-callback] will not be used. On the other hand, the B-Leg of the call is just another voip call, and is being handled by [a2billing] in extensions_a2billing.conf.
Hence, to modify how Web Callback is done, I just need to modify agi_conf7 according to the setup described above.
Please confirm, anyone .... Thanks.
|