[asterisk-bugs] [JIRA] (ASTERISK-22594) QUEUE membermacro args
Emiliano (JIRA)
noreply at issues.asterisk.org
Thu Sep 26 15:11:06 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210606#comment-210606 ]
Emiliano commented on ASTERISK-22594:
-------------------------------------
How I can do to run a function when connecting an agent by passing parameters?, Is it possible?
> 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