Unable to join the queue

Hi everyone,

We have an asterisk system which has only 3XXX SIP phones. And we have some queues.
I am using AddQueueMember application to add the agents to queues dynamically as the following

AddQueueMember(queue_name,SIP/5XXX@10.10.X.X)
AddQueueMember(queue_name,SIP/6XXX@10.10.X.X)
AddQueueMember(queue_name,SIP/7XXX@10.10.X.X)

and after queue show command

 Members: 
      SIP/5XXX@10.10.X.X(dynamic) (Invalid) has taken no calls yet
      SIP/6XXX@10.10.X.X (dynamic) (Invalid) has taken no calls yet
      SIP/7XXX@10.10.X.X (dynamic) (Invalid)has taken no calls yet

But when i try to add incoming calls to this “queue_name” it says Unable to join the queue.
On the other hand when i add an registered asterisk member to this “queue_name” which has 3XXX phone number as i told you above. It is working and the queue can handle all the incoming calls with rr strategy. And it is valid for all the queues in my systems.

 AddQueueMember(queue_name,SIP/5XXX@10.10.X.X)
 AddQueueMember(queue_name,SIP/6XXX@10.10.X.X)
 AddQueueMember(queue_name,SIP/7XXX@10.10.X.X)
 AddQueueMember(queue_name,SIP/3XXX)

and again after queue show command

 Members: 
      SIP/5XXX@10.10.X.X(dynamic) (Invalid) has taken no calls yet
      SIP/6XXX@10.10.X.X (dynamic) (Invalid) has taken no calls yet
      SIP/7XXX@10.10.X.X (dynamic) (Invalid) has taken no calls yet
      SIP/3489 (dynamic) (Not in use) has taken no calls yet

So is there a way for queues to handle incoming calls without adding this 3XXX phones? Can you show me a better solution for that?

Thanks and Regards

Wrong forum for support questions!

If you only have 3xxx devices, why are you trying to add 5xxx devices to queues.

I’ve never tried direct SIP URIs. Maybe it only works if you define the device in sip.conf, and use the sip.conf name?

Thank you for your answer. I will be carefull next time. We re developing an IVR system so we have some phones that is not registered in our Asterisk system. And we also want them to give service as an agent. Adding this phones to sip.conf seems logical but giving bad request error.:frowning:

Thanks Again

have a look at the queueempty options, Remember the documentation is in the sample configuration files.