[asterisk-bugs] [JIRA] (ASTERISK-24267) Queue variables associated with setinterfacevar, setqueueentryvar, setqueuevar are not passed to local channel
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Tue Sep 23 19:17:29 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=222751#comment-222751 ]
Rusty Newton commented on ASTERISK-24267:
-----------------------------------------
Thanks. I was attempting to understand the simplest way to reproduce the issue. I was able to reproduce. All that is needed is a few references for the local channel to execute.
{noformat}
[callmenow]
exten => s,1,NoOp(callmenow: Queue without answer)
same =>n,Queue(sales,Rtc)
[dial-to-customer]
exten => s,1,NoOp(dial-to-customer channel=${CHANNEL(name)})
same => n,NoOp(MEMBERINTERFACE: ${MEMBERINTERFACE})
same => n,NoOp(MEMBERNAME: ${MEMBERNAME})
{noformat}
I also don't know why DumpChan doesn't show the variables in either version, though I've personally never used DumpChan before so I'm not used to it's behavior.
> Queue variables associated with setinterfacevar, setqueueentryvar, setqueuevar are not passed to local channel
> --------------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-24267
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24267
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_queue, Channels/chan_local
> Affects Versions: SVN, 12.5.0
> Environment: Ubuntu 12.04 64 bit
> Asterisk 12.5 compiled from source
> Reporter: Mitch Claborn
> Assignee: Rusty Newton
> Attachments: v11.log, v12.log
>
>
> Various queue related variables are not being passed to the local channel when invoked from an AMI action. This worked fine in 11.1. I've tried the local channel with and without the /n flag.
> None of the following variables are present:
> QUEUESRVLEVELPERF
> QUEUESRVLEVEL
> QUEUEABANDONED
> QUEUECOMPLETED
> QUEUETALKTIME
> QUEUEHOLDTIME
> QUEUECALLS
> QUEUESTRATEGY
> QUEUEMAX
> QUEUENAME
> QEORIGINALPOS
> QEHOLDTIME
> MEMBERREALTIME
> MEMBERDYNAMIC
> MEMBERPENALTY
> MEMBERLASTCALL
> MEMBERCALLS
> MEMBERNAME
> MEMBERINTERFACE
> queue definition:
> {noformat}
> [StandardQueue](!)
> musicclass=default
> strategy=leastrecent
> joinempty=no
> leavewhenempty=yes
> ringinuse=no
> announce-frequency = 30
> min-announce-frequency = 15
> announce-holdtime = yes|no|once
> announce-position = limit
> announce-position-limit = 5
> announce-round-seconds = 10
> setinterfacevar = yes
> setqueueentryvar = yes
> setqueuevar = yes
> wrapuptime=2
> timeout = 16
> autopause=yes
> ;autopausedelay=30
> autopausebusy=yes
> autopauseunavail=yes
> reportholdtime=no
> [sales](StandardQueue)
> {noformat}
> dial plan:
> {noformat}
> [callmenow]
> exten => s,1,NoOp(callmenow: Queue without answer)
> same =>n,Queue(sales,Rtc)
>
> [dial-to-customer]
> exten => s,1,NoOp(dial-to-customer channel=${CHANNEL(name)})
> same =>n,DumpChan()
> {noformat}
> AMI action
> {noformat}
> Action: Originate
> Channel: Local/s at callmenow/n
> Context: dial-to-customer
> Exten: s
> Priority: 1
> Async: true
> Variable: MMCALLMENOWID=107
> Timeout: 999999
> Callerid: Call Me Now <778>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list