# Joinempty for inuse attendees

**URL:** <https://community.asterisk.org/t/joinempty-for-inuse-attendees/73971>\
**Category:** Asterisk Support\
**Created:** [March 20, 2018, 5:51pm UTC](https://community.asterisk.org/t/joinempty-for-inuse-attendees/73971 "2018-03-20T17:51:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lincoln](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@Lincoln](https://community.asterisk.org/u/Lincoln)\
**Post date:** [March 20, 2018, 5:51pm UTC](https://community.asterisk.org/t/joinempty-for-inuse-attendees/73971/1 "2018-03-20T17:51:53Z")

</div>

I want to set up the queue to not allow entry new calls if all the attendees are in use, and this is not working.

I use parameter ‘joinempty=paused,invalid,unavailable,inuse,ringing’

Any ideas?

Asterisk 13.18.2

**queues.conf**

```auto
[1997]
autofill=yes
eventwhencalled=yes
music=default
timeout=15
maxlen=5
strategy=rrmemory
context=fila_1997
leavewhenempty=no
joinempty=paused,invalid,unavailable,inuse,ringing
retry=2
ringinuse=no
weight=0
monitor-format=al

```

**Output from queue show 1997**

```auto
pfdesenvbh*CLI> queue show 1997 
1997 has 1 calls (max 5) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:0, C:0, A:2, SL:0.0% within 0s
   Members: 
      10000 (Local/1947@1947_in/n from SIP/1947) (ringinuse disabled) (dynamic) (Busy) has taken no calls yet
   Callers: 
      1. SIP/1948-0000005c (wait: 0:35, prio: 0)

```

---

<div class="post-metadata">

**Author:** ![johnkiniston](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/johnkiniston/32/28_2.png) [@johnkiniston](https://community.asterisk.org/u/johnkiniston)\
**Post date:** [March 20, 2018, 5:57pm UTC](https://community.asterisk.org/t/joinempty-for-inuse-attendees/73971/2 "2018-03-20T17:57:59Z")

</div>

That phone isn’t in use with a queue call, it’s busy with a different call so the queue is permitting it.

Try adding busy?

---

<div class="post-metadata">

**Author:** ![Lincoln](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@Lincoln](https://community.asterisk.org/u/Lincoln)\
**Post date:** [March 20, 2018, 6:08pm UTC](https://community.asterisk.org/t/joinempty-for-inuse-attendees/73971/3 "2018-03-20T18:08:27Z")

</div>

Yes, i have tried.

Thanks.

```auto
1997 has 1 calls (max 5) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
   Members: 
      10000 (Local/1947@1947_in/n from SIP/1947) (ringinuse disabled) (dynamic) (Busy) has taken no calls yet
   Callers: 
      1. SIP/1948-00000066 (wait: 0:09, prio: 0)

```

```auto
joinempty=paused,invalid,unavailable,inuse,ringing,busy

```
