[Asterisk-code-review] chan_iax2: Add missing options documentation. (asterisk[16])

Benjamin Keith Ford asteriskteam at digium.com
Wed Aug 10 08:39:46 CDT 2022


Benjamin Keith Ford has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/18931 )

Change subject: chan_iax2: Add missing options documentation.
......................................................................

chan_iax2: Add missing options documentation.

Adds missing dial resource option documentation.

ASTERISK-30164 #close

Change-Id: I674e1fc9b1e5d67a20599bd4b418ce294d48fc83
---
M channels/chan_iax2.c
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Benjamin Keith Ford: Looks good to me, approved; Approved for Submit



diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index c1309b5..82b2829 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -226,6 +226,16 @@
 			</enum>
 		</enumlist>
 	</info>
+	<info name="Dial_Resource" language="en_US" tech="IAX2">
+		<para>The general syntax is:</para>
+		<para><literal>Dial(IAX2/[username[:password]@]peer[:port][/exten[@context]][/options]</literal></para>
+		<para>IAX2 optionally allows modifiers to be specified after the extension.</para>
+		<enumlist>
+			<enum name="a">
+				<para>Request auto answer (supporting equipment/configuration required)</para>
+			</enum>
+		</enumlist>
+	</info>
 	<manager name="IAXpeers" language="en_US">
 		<synopsis>
 			List IAX peers.

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

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I674e1fc9b1e5d67a20599bd4b418ce294d48fc83
Gerrit-Change-Number: 18931
Gerrit-PatchSet: 2
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220810/b31381d2/attachment.html>


More information about the asterisk-code-review mailing list