diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample index 498b8d48ab..a053a29e9b 100644 --- a/configs/samples/pjsip.conf.sample +++ b/configs/samples/pjsip.conf.sample @@ -998,12 +998,13 @@ ; headers. If not specified, the global object's ; "default_realm" will be used. ; - ; For outgoing authentication (asterisk is the UAS), this + ; For outgoing authentication (asterisk is the UAC), this ; must either be the realm the server is expected to send, ; or left blank or contain a single '*' to automatically ; use the realm sent by the server. If you have multiple - ; auth object for an endpoint, the realm is also used to + ; auth objects for an endpoint, the realm is also used to ; match the auth object to the realm the server sent. + ; ; Using the same auth section for inbound and outbound ; authentication is not recommended. There is a difference in ; meaning for an empty realm setting between inbound and outbound diff --git a/res/res_pjsip.c b/res/res_pjsip.c index c1027826ec..bed94dd864 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -1605,11 +1605,11 @@ - For outgoing authentication (asterisk is the UAS), this + For outgoing authentication (asterisk is the UAC), this must either be the realm the server is expected to send, or left blank or contain a single '*' to automatically use the realm sent by the server. If you have multiple - auth object for an endpoint, the realm is also used to + auth objects for an endpoint, the realm is also used to match the auth object to the realm the server sent.