# Queue rules not processing

**URL:** <https://community.asterisk.org/t/queue-rules-not-processing/96258>\
**Category:** Asterisk Support\
**Created:** [March 23, 2023, 5:52am UTC](https://community.asterisk.org/t/queue-rules-not-processing/96258 "2023-03-23T05:52:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![scrumi](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@scrumi](https://community.asterisk.org/u/scrumi)\
**Post date:** [March 23, 2023, 5:52am UTC](https://community.asterisk.org/t/queue-rules-not-processing/96258/1 "2023-03-23T05:52:18Z")

</div>

So I have a defaultrule set in my queue and that rule defined in queuerules.conf but things are not operating as I expect them to. I guess my first question is more basic, and that is how do I verify configuration settings that I have loaded from the CLI so I can confirm that I in fact have all the settings loaded?

Also what I couldn’t figure out how to set was the QUEUE\_MIN\_PENALTY and MAX? Are those both set to 0 to start with and then we use rules to manipulate them from there, or how do I initialize and set these variables?

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [March 23, 2023, 11:16am UTC](https://community.asterisk.org/t/queue-rules-not-processing/96258/2 "2023-03-23T11:16:11Z")

</div>

They are channel variables. The default state is unset.

> <https://github.com/asterisk/asterisk/blob/master/configs/samples/queuerules.conf.sample#L12>

---

<div class="post-metadata">

**Author:** ![scrumi](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@scrumi](https://community.asterisk.org/u/scrumi)\
**Post date:** [March 23, 2023, 2:45pm UTC](https://community.asterisk.org/t/queue-rules-not-processing/96258/3 "2023-03-23T14:45:02Z")

</div>

Ok so is there a way to define what those are in the queue definition? So when someone first enters the queue they are set and queue rules will effect?

Also I would still like to be able to verify config parameters from the CLI. Is that possible?

---

<div class="post-metadata">

**Author:** ![benphone](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/benphone/32/8706_2.png) [@benphone](https://community.asterisk.org/u/benphone)\
**Post date:** [March 23, 2023, 3:09pm UTC](https://community.asterisk.org/t/queue-rules-not-processing/96258/4 "2023-03-23T15:09:42Z")

</div>

> [@scrumi](#):
>
> couldn’t figure out how to set was the QUEUE\_MIN\_PENALTY and MAX? Are those both set to 0 to start with and then we use rules to manipulate them from there, or how do I initialize and set these variables?

and therefore it must be set before sending to call to the queue  
like `Set(QUEUE_MIN_PENALTY=0)`

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [April 22, 2023, 3:10pm UTC](https://community.asterisk.org/t/queue-rules-not-processing/96258/5 "2023-04-22T15:10:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
