[asterisk-users] Same PJSIP username with differents domains

Joshua Colp jcolp at digium.com
Fri Jun 26 09:14:46 CDT 2015


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



More information about the asterisk-users mailing list