[asterisk-bugs] [JIRA] (ASTERISK-24445) [patch] get queuerules working with ringall

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Nov 4 15:58:28 CST 2014


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

Rusty Newton updated ASTERISK-24445:
------------------------------------

    Description: 
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

  was:
With ringall strategy queuerules are not working properly

; queues.config
[test_queue]
wrapuptime=1
timeout=10
joinempty=no
leavewhenempty=yes
strategy = ringall
ringinuse=no

member => SIP/1000,0
member => SIP/1001,1


; queuerules.conf
[test_queue_rule]
penaltychange => 10,+1

; extensions.conf
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()


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


> [patch] get queuerules working with ringall
> -------------------------------------------
>
>                 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