Same PJSIP Username With Differents Domains
Hi,
In PJSIP configuration, I thought that “from_domain” parameter in a endpoint permits to have two SIP peers with the same usernames with a different domain.
I’ve tested at the transport level, I see no changes.
I’ve also tested with realm parameter in auth configuration, it seems to change only the digest auth value during registration.
I’m pretty new with PJSIP, however, I have the impression that you can’t do that with Asterisk, each username in PJSIP must be unique accross an Asterisk instance. Is it correct ?
Thanks for your answers.
2 thoughts on - Same PJSIP Username With Differents Domains
Ludovic Gasc wrote:
The domain can be provided as part of the endpoint id:
[test@theworld.com]
Cheers,
Thank you a lot Joshua, it works as excepted.
Have a nice week-end.