Hello, forum. I have installed a2billing v1.3.
I suppose that if I set sip_iax_friends=NO,
calls between my SIP friends will be billed as outbound calls.
But it isn't. The system checks sip_iax_pstn_direct_call_prefix anyway and if it doesn't match the call is processed by Class.RateEngine.php.
But there are no peers found because of call command in this case looks like this:
SIP/<ip_address>/<callerid>...
At another hand in the Class.A2Billing.php the call command looks like this:
SIP/<regexten>... (regexten is converted from <callerid>).
So. What I need:
when I set sip_iax_friends = NO and dial callerid number (with appropriate prefix), the system should process this call with billing - not for free. Is it possible to do without Class.A2Billing.php or Class.RateEngine.php code hacking?
Thanks for answers.
|