[asterisk-bugs] [Asterisk 0016245]: The status of External SIP peer used as Queue member is not updating correctly

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 16 18:37:17 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16245 
====================================================================== 
Reported By:                licedey
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16245
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.26.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-13 23:49 CST
Last Modified:              2009-11-16 18:37 CST
====================================================================== 
Summary:                    The status of External SIP peer used as Queue member
is not updating correctly
Description: 
The External SIP peer used in Queue doesn't update it's status when it
becomes available. The subscription hints are updated correctly but Queue
member status remaining in Unavailable state. When all queue members are
external peers, it ends up as all members are busy. It's possible to dial
directly external sip peer but not from the queue. The only way to correct
the status is to launch reload command from CLI.

This issue was discovers in April but still wasn't correct even with the
latest releases, here is the link to the discussion thread: 

This issue is also discussed on FreePBX forum:
http://www.freepbx.org/forum/freepbx/installation/no-ringing-to-external-caller-with-queue

Here are the steps to reproduce the issue:
1. Configure external sip peers (qualify=yes) and add them to the Queue
2. Check the status the of sip peers and test the Queue
3. Remove internet connection from one of the external SIP. So the state
of sip peer/queue member is stated as Unavailable
4. Connect internet back
5. Now the subscription and peer state of the external sip peer should
become Idle/available again, but queue member state is still unavailable


====================================================================== 

---------------------------------------------------------------------- 
 (0113885) licedey (reporter) - 2009-11-16 18:37
 https://issues.asterisk.org/view.php?id=16245#c113885 
---------------------------------------------------------------------- 
To Imadsen: The source of the issue is not sip, but app_queue, since when
device is connected back to network, the hints and peer state are indicated
correctly. If it was sip related issue than the device would be available
to dial. But it works for Peer-to-Peer calls and doesn't work only with
Queue.

After doing some tests and looked into app_queue code, I noticed that the
status of Queue member is update only when Queue tries to dial the certain
peer.

I will capture some output from CLI and upload it here. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-16 18:37 licedey        Note Added: 0113885                          
======================================================================




More information about the asterisk-bugs mailing list