]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_pjsip_outbound_registration.c: Remove xpointer reference to user_agent.
authorGeorge Joseph <gjoseph@sangoma.com>
Fri, 14 Mar 2025 13:13:48 +0000 (07:13 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 20 Mar 2025 18:18:29 +0000 (18:18 +0000)
Commit e86f937e added AMI documentation to the module but the cherry-pick
from master to the 20 branch pulled in an xpointer reference to the
`user_agent` config option which doesn't actually exist in 20.  This causes
asterisk to fail to start because it can't load the core-en_US.xml
documentation file.  The CI cherry-pick tests should have caught this but
there was bug in the cherry-picker that was causing the commits to be
cherry-picked to the wrong branch.  Just removing the xpointer reference
resolves the issue.

(cherry picked from commit 92e02c1574c2cf8d29eb27bdddda1daa3a1694f9)

res/res_pjsip_outbound_registration.c

index eeeedd865064310d3e5e2433b817c85830517cc4..00c60fb6062580301705a64b87294245899b32fb 100644 (file)
                                <parameter name="Endpoint">
                                        <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip_outbound_registration']/configFile[@name='pjsip.conf']/configObject[@name='registration']/configOption[@name='endpoint']/synopsis/node())"/></para>
                                </parameter>
-                               <parameter name="UserAgent">
-                                       <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip_outbound_registration']/configFile[@name='pjsip.conf']/configObject[@name='registration']/configOption[@name='user_agent']/synopsis/node())"/></para>
-                               </parameter>
                                <parameter name="ForbiddenRetryInterval">
                                        <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip_outbound_registration']/configFile[@name='pjsip.conf']/configObject[@name='registration']/configOption[@name='forbidden_retry_interval']/synopsis/node())"/></para>
                                </parameter>