[asterisk-bugs] [JIRA] (ASTERISK-22594) QUEUE membermacro args

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Sep 26 14:35:03 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-22594.
----------------------------------

    Resolution: Not A Bug

This is not a bug.

# It was never within the intent of the interception subroutines or macros to allow for parameter passing.
# At best, it would be an improvement to allow passing of values.
# Finally, we wouldn't add this improvement for macros. Macros are deprecated and have been completely replaced with GoSub routines.


                
> QUEUE membermacro args
> ----------------------
>
>                 Key: ASTERISK-22594
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22594
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 11.2.2
>         Environment: Debian 7, ASterisk 11.2.
>            Reporter: Emiliano
>            Severity: Minor
>
> When you want to pass parameters to membermacro macro is not possible. Variables can not be passed as parameters.
> For example whit Queue app on dialplan:
> Queue(ventas,n,,,100,,agent-answer-call(${CDR(uniqueid)}))
> [macro-agent-answer-call]
> exten => s,1,Noop(Args: ${ARG1})
> Execute log:
>  Queue("CHANNEL", "ventas,n,,,100,,agent-answer-call(1380223313.1088)")
> [Sep 26 16:22:20] WARNING[9230][C-0000016c]: app_macro.c:309 _macro_exec: No such context 'macro-agent-answer-call(1380223313.1088)' for macro 'agent-answer-call(1380223313.1088)'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list