From dfbb547f6adf27a54d37603365cd764377fdd20f Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Thu, 3 Feb 2022 16:48:49 -0500 Subject: [PATCH] res_pjsip.c: Correct minor typos in 'realm' documentation. Change-Id: I886936b808def5540d40071321e72f6bfa19063a --- configs/samples/pjsip.conf.sample | 5 +++-- res/res_pjsip.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample index 2d57208e65..6f0601dde4 100644 --- a/configs/samples/pjsip.conf.sample +++ b/configs/samples/pjsip.conf.sample @@ -994,12 +994,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 2f9edfb930..0ef2030c64 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. -- 2.47.2