[asterisk-bugs] [JIRA] (ASTERISK-24445) [patch] queuerules option penaltychange ignored with ringall strategy

Vadim Sherbakov (JIRA) noreply at issues.asterisk.org
Wed Jan 14 01:55:34 CST 2015


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

Vadim Sherbakov commented on ASTERISK-24445:
--------------------------------------------

Patch seems to work fine. But one notice. If you do not set QUEUE_MAX_PENALTY and QUEUE_MIN_PENALTY values. 
Asterisk channel will be locked and hanged some time.

Thanks Toomas. Great work.

> [patch] queuerules option penaltychange ignored with ringall strategy
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-24445
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24445
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 1.8.30.0
>            Reporter: Toomas Vahtra
>            Severity: Minor
>         Attachments: app_queue_debug_after_patching.txt, app_queue_debug_problem.txt, ringall_queuerules_fix-1.8.30.0-v2.patch
>
>
> With ringall strategy queuerules are not working properly
> queues.config
> {noformat}
> [test_queue]
> wrapuptime=1
> timeout=10
> joinempty=no
> leavewhenempty=yes
> strategy = ringall
> ringinuse=no
> member => SIP/1000,0
> member => SIP/1001,1
> {noformat}
> queuerules.conf
> {noformat}
> [test_queue_rule]
> penaltychange => 10,+1
> {noformat}
> extensions.conf
> {noformat}
> exten => 123,1,Answer()
>  same => n,Set(QUEUE_MIN_PENALTY=0)
>  same => n,Set(QUEUE_MAX_PENALTY=0)  
>  same => n,Queue(test_queue,,,,300,,,,test_queue_rule)
>  same => n,HangUp()
> {noformat}
> Only the first member is ringing, even after the penalty has changed.
> And if first member is in call then the second member will start
> ringing only when 10 seconds is passed and penalty increased.
> Included the debug log for app_queue



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



More information about the asterisk-bugs mailing list