From 9bad7ee2fc36c7bd41fd400a26caf59bf2a3104e Mon Sep 17 00:00:00 2001 From: Sebastian Denz Date: Thu, 26 Mar 2026 09:17:42 +0100 Subject: [PATCH] res_pjsip_outbound_publish.c: Add more verbose documentation for outbound_proxy usage --- configs/samples/pjsip.conf.sample | 4 ++-- res/res_pjsip/pjsip_config.xml | 4 ++++ res/res_pjsip_outbound_publish.c | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) 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 ae369af795..07078fa8db 100644 --- a/res/res_pjsip/pjsip_config.xml +++ b/res/res_pjsip/pjsip_config.xml @@ -764,6 +764,10 @@ 12.0.0 Full SIP URI of the outbound proxy used to send requests + + 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). + 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 @@ 13.0.0 Full SIP URI of the outbound proxy used to send publishes + + 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). +