]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
func_strings: Fix syntax error in STRBETWEEN documentation example
authorAqeel Abbas <mbook3902@gmail.com>
Sun, 12 Jul 2026 12:50:37 +0000 (17:50 +0500)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 13 Jul 2026 16:00:05 +0000 (16:00 +0000)
The STRBETWEEN function documentation example was missing a closing
brace in the SendDTMF call. Corrected the syntax to ensure the
dialplan example is functional.

funcs/func_strings.c

index 8d4e46a15e14f897e0b1151ff7c0485e1794a5f5..d184d4b3cdd0f190d788bfb076f38be7c4227d76 100644 (file)
@@ -196,7 +196,7 @@ AST_THREADSTORAGE(tmp_buf);
                        <note><para>The replacement only occurs in the output.  The original variable is not altered.</para></note>
                        <example title="Add half-second pause between dialed digits">
                                same => n,Set(digits=5551212)
-                               same => n,SendDTMF(${STRBETWEEN(digits,w)) ; this will send 5w5w5w1w2w1w2
+                               same => n,SendDTMF(${STRBETWEEN(digits,w)}) ; this will send 5w5w5w1w2w1w2
                        </example>
                </description>
        </function>