callingcard wrote:
Wasn't able to make this work. If you are, please let us know.
Hi as a2billing ip based authentication users it's work without any problem, the mines it's when the user are in the same time provider, and have a trunk in sip.conf asterisk environment.
To enable the ip authentication, just go to customer - voip settings, open the sip frien user and:
Turn:
Qualify to no
Username to nothing... empty
secret to nothing-- empty
Type= peer
host= add_ the customer host.
context= appoint to your available context for this... up to you
Save and reload asterisk.. it's work without problem...
My problem, as I said, that one of our existing carriers wanted to buy from us, so it's reciprocal traffic, actually in sip.conf I have him just like:
[carriername]
type=peer
host=00.00.00.00
So, when he place the call, asterisk pickup the call, and appoint it immediatly into the default context, and not lancing the a2billung script.
I add context=voip-wholesale, but he's getting no voice, silence, and in my Cli I see the prompt asking him to select languaghe, and pin code...
This is my problem... indeed it's asterisk issue, not a2billing issue itself...
Regards,