[asterisk-bugs] [JIRA] (ASTERISK-29921) Macro wiki documentation uses Gosub

Sam Banks (JIRA) noreply at issues.asterisk.org
Sat Feb 19 20:58:07 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258111#comment-258111 ] 

Sam Banks commented on ASTERISK-29921:
--------------------------------------

Hi Joshua,

Thanks for the quick response. The call to Macro is correct now but the syntax is for Gosub (Macro(announcement,s,1(${EXTEN}))).

Understood about Macro being deprecated. I came across the documentation during a version 13 dialplan upgrade, replacing Macros with Gosubs.

> Macro wiki documentation uses Gosub
> -----------------------------------
>
>                 Key: ASTERISK-29921
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29921
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Documentation
>    Affects Versions: 19.1.0
>         Environment: n/a
>            Reporter: Sam Banks
>            Severity: Trivial
>
> Hi there,
> In the Macro documentation at https://wiki.asterisk.org/wiki/display/AST/Macros#Macros-CallingMacrowitharguments, somecontext's second line calls the announcement macro using the Gosub function instead of Macro. This is a simple mistake but could (and did!) cause confusion.
> Appreciated!



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list