Commit d94025d5df for asterisk.org
commit d94025d5df507f4181ea7b7ee6aad194cbba28fe
Author: Sebastian Denz <denzs@gonicus.de>
Date: Thu Mar 26 09:17:42 2026 +0100
res_pjsip_outbound_publish.c: Add more verbose documentation for outbound_proxy usage
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample
index 623a73a830..3d346789d4 100644
--- a/configs/samples/pjsip.conf.sample
+++ b/configs/samples/pjsip.conf.sample
@@ -1609,8 +1609,8 @@
; setting between inbound and outbound authentication
; uses. See the auth realm description for details.
-;outbound_proxy= ; SIP URI of the outbound proxy used to send
- ; publishes
+;outbound_proxy= ; SIP URI of the outbound proxy used to send publishes.
+ ; Consider adding \;lr to keep user@domain in the request URI.
;server_uri= ; SIP URI of the server and entity to publish to.
; This is the URI at which to find the entity and
diff --git a/res/res_pjsip/pjsip_config.xml b/res/res_pjsip/pjsip_config.xml
index b533643851..b2ef0bddfb 100644
--- a/res/res_pjsip/pjsip_config.xml
+++ b/res/res_pjsip/pjsip_config.xml
@@ -762,6 +762,10 @@
<version>12.0.0</version>
</since>
<synopsis>Full SIP URI of the outbound proxy used to send requests</synopsis>
+ <description><para>
+ Proxy through which to send requests, a full SIP URI must be provided (default: "").
+ Consider adding \;lr for loose routing (to keep user@domain in the request URI).
+ </para></description>
</configOption>
<configOption name="rewrite_contact">
<since>
diff --git a/res/res_pjsip_outbound_publish.c b/res/res_pjsip_outbound_publish.c
index 538df56125..edba27509e 100644
--- a/res/res_pjsip_outbound_publish.c
+++ b/res/res_pjsip_outbound_publish.c
@@ -85,6 +85,10 @@
<version>13.0.0</version>
</since>
<synopsis>Full SIP URI of the outbound proxy used to send publishes</synopsis>
+ <description><para>
+ Proxy through which to send requests, a full SIP URI must be provided (default: "").
+ Consider adding \;lr for loose routing (to keep user@domain in the request URI).
+ </para></description>
</configOption>
<configOption name="server_uri">
<since>