I am starting to loose my french…
I am setting up a * box as a wholesale server. Remote clients will be pbx, with their own extensions.
I want to give to each client a set of credential, user/pass so they can access the service. I want authentication to be based on these credential, not the host ip @ of the remote client.
So when extension 1000 (remote pbx) dials 00…, it goes through my asterisk. and I see the original caller id so I can reply back.
I currently can achieve this in two ways, none that satisfy me:
in sip.conf (wholesale box), add host=x.y.z.t and insecure=invite, port - but for customers with dynamic ip, that cant work !
in the remote client, when its an asterisk, add fromuser=
But i am looking for a solution that will work independently of the remote client system
So how can this be done ?