Ludovic Gasc
2015-Jun-26 14:11 UTC
[asterisk-users] 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. -- Ludovic Gasc (GMLudo) http://www.gmludo.eu/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150626/408da71e/attachment.html>
Joshua Colp
2015-Jun-26 14:14 UTC
[asterisk-users] Same PJSIP username with differents domains
Ludovic Gasc wrote:> 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 ?The domain can be provided as part of the endpoint id: [test at theworld.com] Cheers, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Ludovic Gasc
2015-Jun-26 15:45 UTC
[asterisk-users] Same PJSIP username with differents domains
Thank you a lot Joshua, it works as excepted. Have a nice week-end. -- Ludovic Gasc (GMLudo) http://www.gmludo.eu/ 2015-06-26 16:14 GMT+02:00 Joshua Colp <jcolp at digium.com>:> Ludovic Gasc wrote: > >> 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 ? >> > > The domain can be provided as part of the endpoint id: > > [test at theworld.com] > > Cheers, > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150626/3b9b22c7/attachment.html>