Discussion:
[asterisk-users] Same PJSIP username with differents domains
Ludovic Gasc
2015-06-26 14:11:26 UTC
Permalink
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/
Joshua Colp
2015-06-26 14:14:46 UTC
Permalink
Post by Ludovic Gasc
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:

[***@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
Ludovic Gasc
2015-06-26 15:45:30 UTC
Permalink
Thank you a lot Joshua, it works as excepted.

Have a nice week-end.

--
Ludovic Gasc (GMLudo)
http://www.gmludo.eu/
Post by Joshua Colp
Post by Ludovic Gasc
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 ?
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 --
http://www.asterisk.org/hello
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Loading...