PJSIP_CONTACT: add missing argument documentation

add missing argument "rtt" and "status" to the documentation

The change to the dtd file allow an enumlist to contain one or many
configOptionToEnum or enum.

This is different from the previous patch I submitted when you could have a
configOptionToEnum or (a configOptionToEnum followed by one or manu enums) or
(one or many enums)

ASTERISK-28626

Change-Id: Ia71743ee7ec813f40297b0ddefeee7909db63b6d
This commit is contained in:
Pascal Cadotte Michaud 2019-12-11 11:52:31 -05:00
parent 4631e77078
commit 2d2b28bfa4
2 changed files with 7 additions and 1 deletions

View File

@ -110,7 +110,7 @@
<!ATTLIST option implies CDATA "">
<!ATTLIST option hasparams CDATA "">
<!ELEMENT enumlist (configOptionToEnum|enum+)>
<!ELEMENT enumlist (configOptionToEnum|enum)+>
<!ELEMENT enum (para|note|warning|parameter|enumlist|info|xi:include)*>
<!ATTLIST enum name CDATA "">

View File

@ -60,6 +60,12 @@
<configOptionToEnum>
<xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='contact']/configOption)"/>
</configOptionToEnum>
<enum name="rtt">
<para>The RTT of the last qualify</para>
</enum>
<enum name="status">
<para>Status of the contact</para>
</enum>
</enumlist>
</parameter>
</syntax>