[asterisk-bugs] [Asterisk 0015703]: regression on LAGRQ in chan_iax2 1.6.0.13

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 12 14:12:54 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15703 
====================================================================== 
Reported By:                sohosys
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15703
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.12 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-12 14:12 CDT
Last Modified:              2009-08-12 14:12 CDT
====================================================================== 
Summary:                    regression on LAGRQ in chan_iax2 1.6.0.13
Description: 
https://issues.asterisk.org/view.php?id=15007 reports changing LOG_WARNING
to LOG_DEBUG for this function, it is still LOG_WARNING in 1.6.0.13, so if
it was fixed there is a regression, if not this message probably should not
be a WARNING since it appears for all statically defined IAX peers with
qualify enabled if they have not registered. The version selected for this
report was 1.6.0.12 but the action test is on 1.6.0.13, which is not a bug
report option yet.;

static int send_lagrq(const void *data);

 

static void __send_lagrq(const void *data)

{

        int callno = (long) data;

 

        ast_mutex_lock(&iaxsl[callno]);

 

        if (iaxs[callno]) {

                if (iaxs[callno]->peercallno) {

                        send_command(iaxs[callno], AST_FRAME_IAX,
IAX_COMMAND_LAGRQ, 0, NULL, 0, -1);

                        iaxs[callno]->lagid = iax2_sched_add(sched,
lagrq_time * 1000, send_lagrq, data);

                } else {

                        /* I am the schedule, so I'm allowed to do this
*/

                        iaxs[callno]->lagid = -1;

                }

        } else {

                ast_log(LOG_WARNING, "I was supposed to send a LAGRQ with
callno %d, but no such call exists (and I cannot remove lagid, either).\n",
callno);

        }

 

        ast_mutex_unlock(&iaxsl[callno]);

}

 


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-12 14:12 sohosys        New Issue                                    
2009-08-12 14:12 sohosys        Asterisk Version          => 1.6.0.12        
2009-08-12 14:12 sohosys        Regression                => No              
2009-08-12 14:12 sohosys        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list