[Asterisk-code-review] res_pjsip: Update contact_user to point out default (asterisk[20])

George Joseph asteriskteam at digium.com
Thu Dec 8 08:50:41 CST 2022


George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/19685 )


Change subject: res_pjsip: Update contact_user to point out default
......................................................................

res_pjsip: Update contact_user to point out default

Updates the documentation for the 'contact_user' field to point out the
default outbound contact if no contact_user is specified 's'

ASTERISK-30316 #close

Change-Id: I61f24fb9164e4d07e05908a2511805281874c876
---
M res/res_pjsip_outbound_registration.c
1 file changed, 16 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/85/19685/1

diff --git a/res/res_pjsip_outbound_registration.c b/res/res_pjsip_outbound_registration.c
index fc1dcad..538f65f 100644
--- a/res/res_pjsip_outbound_registration.c
+++ b/res/res_pjsip_outbound_registration.c
@@ -75,8 +75,8 @@
 						on networking specifics and configuration of the registrar.
 					</para></description>
 				</configOption>
-				<configOption name="contact_user">
-					<synopsis>Contact User to use in request</synopsis>
+				<configOption name="contact_user" default="s">
+					<synopsis>Contact User to use in request. If this value is not set, this defaults to 's'</synopsis>
 				</configOption>
 				<configOption name="contact_header_params">
 					<synopsis>Header parameters to place in the Contact header</synopsis>

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19685
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 20
Gerrit-Change-Id: I61f24fb9164e4d07e05908a2511805281874c876
Gerrit-Change-Number: 19685
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-CC: Marcel Wagner <mwagner at sipgate.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221208/b09544ef/attachment.html>


More information about the asterisk-code-review mailing list