Asterisk queue call to unavailable endpoints

Asterisk 20.0.1, PJSIP Realtime endpoints, queue with ringall strategy:

queue.conf:

[general]           
                    
[test]              
strategy = ringall  
member => PJSIP/1154
member => PJSIP/1144
member => PJSIP/1155
> queue show test 
test has 0 calls (max unlimited) in 'ringall' strategy (3s holdtime, 11s talktime), W:0, C:2, A:0, SL:0.0%, SL2:0.0% within 0s
   Members: 
      PJSIP/1154 (ringinuse enabled) (Not in use) has taken no calls yet (login was 55040 secs ago)
      PJSIP/1144 (ringinuse enabled) (Unavailable) has taken no calls yet (login was 55040 secs ago)
      PJSIP/1155 (ringinuse enabled) (Not in use) has taken 2 calls (last was 774 secs ago) (login was 55040 secs ago)
   No Callers
# SELECT id,qualify_frequency FROM ps_aors WHERE id='1144';
  id  | qualify_frequency 
------+-------------------
 1144 |                60

Call to queue:

    -- Executing [8800@telecom-in:1] queue("PJSIP/trunk_telecom-0000002d", "test")
    -- Started music on hold, class 'default', on channel 'PJSIP/trunk_telecom-0000002d'
    -- Called PJSIP/1155
[2022-12-12 09:58:26] ERROR[64550]: res_pjsip.c:849 ast_sip_create_dialog_uac: Endpoint '1144': Could not create dialog to invalid URI '1144'.  Is endpoint registered and reachable?
[2022-12-12 09:58:26] ERROR[64550]: chan_pjsip.c:2672 request: Failed to create outgoing session to endpoint '1144'
    -- Called PJSIP/1154

What is the question? Although I guess one could optimise it so that it silently bypassed the unavailable endpoint, letting it try the call doesn’t seem to do any harm.

It is very strange to get an ERROR in the console during normal system operation.

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