[asterisk-bugs] [JIRA] (ASTERISK-24267) Queue variables not passed to local channel

Mitch Claborn (JIRA) noreply at issues.asterisk.org
Wed Sep 17 11:54:29 CDT 2014


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

Mitch Claborn commented on ASTERISK-24267:
------------------------------------------

Adding the Answer() changes the whole process. With the Answer() in there, the dial to customer is attempted right away, rather than waiting for the queue member to answer, defeating the whole purpose.  

Log files coming shortly without the Answer().

> Queue variables 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
>    Affects Versions: 12.5.0
>         Environment: Ubuntu 12.04 64 bit
> Asterisk 12.5 compiled from source
>            Reporter: Mitch Claborn
>            Assignee: Mitch Claborn
>         Attachments: 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