[asterisk-bugs] [Asterisk 0016573]: [patch] [regression] iaxclient (tested with Zoiper) registered to asterisk shows devicestate Unavailable instead Not-InUse

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Oct 24 08:13:57 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16573 
====================================================================== 
Reported By:                nenadr
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16573
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-698 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-10 14:58 CST
Last Modified:              2010-10-24 08:13 CDT
====================================================================== 
Summary:                    [patch] [regression] iaxclient (tested with Zoiper)
registered to asterisk shows devicestate Unavailable instead Not-InUse
Description: 
Testing some queue configurations showed that IAX client which is correctly
registered and reachable by asterisk, and "hinted" with exten =>
123,hint,IAX2/123 is incorrectly shown as Unavailable (instead Idle) with
'core chow hints' when it is not in a call (rest of states are shown
correctly (Ringing, InUse)). 
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016822 IAX2 queue member Unknow instead of Not...
====================================================================== 

---------------------------------------------------------------------- 
 (0128368) mjauvin (reporter) - 2010-10-24 08:13
 https://issues.asterisk.org/view.php?id=16573#c128368 
---------------------------------------------------------------------- 
I confirm that when IAX2 devices are listed as 'Unknown', app_queue won't
ring the device as it should. This patch resolves the problem for me.

Also note that the code for devicestate.c in 1.4.xx was doing exactly the
same as this patch: i.e.

   res = ast_parse_device_state(device);
   /* at this point we know the device exists, but the channel driver
      could not give us a state; if there is no channel state available,
      it must be 'not in use'
   */
   if (res == AST_DEVICE_UNKNOWN)
      res = AST_DEVICE_NOT_INUSE; 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-24 08:13 mjauvin        Note Added: 0128368                          
======================================================================




More information about the asterisk-bugs mailing list