Calls going to voicemail option even though Softphone is available

Hi there,

I have an asterisk 15 server in ubuntu machine. I can register and make outgoing calls. But the incoming calls goes into the IVR, when user presses 1 or 2 (based on sales or support), the call says none is in online (Even though I am) and goes to the voicemail option.

On the asterisk client it says:

[May 16 02:06:10] WARNING[102][C-00000001]: app_queue.c:8222 queue_exec: Unable to join queue 'support'

My asterisk domain: 192.168.0.103
My macOS domain where Xlite is running: 192.168.0.100

When I register it shows something like this:

 -- Added contact 'sip:1000@192.168.0.100:50024;rinstance=8d51186ebff6a0c0' to AOR '1000' with expiration of 3600 seconds
    -- Contact 1000/sip:1000@192.168.0.100:50024;rinstance=8d51186ebff6a0c0 is now Unknown.
  == Endpoint 1000 is now Reachable

pjsip.conf endpoints for softphone client authentication is something like this:


[1000](endpoint-internal)
auth = 1000
aors = 1000
callerid = Ishtiaque Mahmud <1000>
accountcode = 1000@backpackbang.com
set_var = Queues=support^sales

;the username here must be unique for the whole asterisk setup
;this username and password is used in bria - userid and password
[1000](auth-userpass)
username = 1000
password = 1000

[1000](aor-single-reg)
mailboxes = 1000@backpackbang

For pjsip list endpoints command


 Endpoint:  1000/1000                                            Not in use    0 of 1
 Endpoint:  1001/1001                                            Unavailable   0 of 1
 Endpoint:  1002/1002                                            Unavailable   0 of 1
 Endpoint:  1003/1003                                            Unavailable   0 of 1
 Endpoint:  1004/1004                                            Unavailable   0 of 1
 Endpoint:  1005/1005                                            Unavailable   0 of 1
 Endpoint:  1006/1006                                            Unavailable   0 of 1
 Endpoint:  1007/1007                                            Unavailable   0 of 1
 Endpoint:  1008/1008                                            Unavailable   0 of 1
 Endpoint:  1009/1009                                            Unavailable   0 of 1
 Endpoint:  support                                              Not in use    0 of inf

For queue show

support has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:10, C:0, A:0, SL:0.0%, SL2:0.0% within 0s
   Members: 
      PJSIP/1007 (ringinuse disabled) (dynamic) (paused was 1408 secs ago) (Unavailable) has taken no calls yet
   No Callers

sales has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:5, C:0, A:0, SL:0.0%, SL2:0.0% within 0s
   Members: 
      PJSIP/1007 (ringinuse disabled) (dynamic) (paused was 1408 secs ago) (Unavailable) has taken no calls yet
   No Callers

I can see that there are two queues and my phone is also available, but still it’s not coming in the X-lite softphone.

The phone in both of those queues is not only paused but unavailable which is counter to your statement.

The queue application is not permitting your caller to join as there are no suitable members to serve the call to.

post your queues configuration file

But I have registered my softphone with that username and password (given in the pjsip configuration), and it registers successfully, as you can see on the second block of code.
I can do the outgoing calls to different numbers. But for incoming, the calls are unable to join queue.

Is it possible due to the change of routers? the application was running on a different router, I have changed the router and /etc/hosts accordingly with the asterisk domain name.

This is my queues.conf

[general]
persistentmembers=yes
autofill=yes
monitor-type=MixMonitor
shared_lastcall=yes



[standardqueue](!)
musicclass=default
strategy=rrmemory
joinempty=no
leavewhenempty=yes
ringinuse=no
autopause=no
maxlen = 0

; --------- Announcement Control ----------
announce-frequency=30
min-announce-frequency=30
periodic-announce-frequency=45
random-periodic-announce=no
relative-periodic-announce=yes
announce-holdtime=once
announce-position=limit
announce-position-limit=10
announce-round-seconds=30
membermacro=standardqueue_dialog


[support](standardqueue)
weight=10
[sales](standardqueue)
weight=5

Your queues have no members.

The softphone is registered, so it should have one member if I am not wrong.

How to enable members for queue? My endpoints are available as you can see.

Add

member => …

lines

Hi there,

I solved the issue by adding the agents to the queue. Thanks for pointing it out.

If you join agents to the queue at least enable this option

1 Like

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