[asterisk-bugs] [Asterisk 0009325]: After some time Sip show peers cut 1 symbol (first)

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 5 13:01:46 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9325 
====================================================================== 
Reported By:                slavon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9325
Category:                   Core/General
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 59038 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             03-20-2007 08:33 CDT
Last Modified:              11-05-2007 13:01 CST
====================================================================== 
Summary:                    After some time Sip show peers cut 1 symbol (first)
Description: 
Hello

After some time sip show peers cut 1 symbol - ez_307/dez_307

If i add more users - 1 symbol cut on another user =)
after reboot all ok some time. I use includes 

#include /etc/asterisk/_private/*/sip.conf
#include /etc/asterisk/_clients/*/sip.conf

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0009436 sip show registry truncates the first c...
====================================================================== 

---------------------------------------------------------------------- 
 jamesgolovich - 11-05-07 13:01  
---------------------------------------------------------------------- 
The attached patch will resolve the issue.  I wrote that original code many
years ago, and for the life of me I can't remember why we were checking if
(buf[res-2] == '\n')

I tried a bunch of stuff to see if I could reproduce something that
requires it and I couldn't.  So we should probably get some people to test
this out to make sure there isn't something we need it for.  It's possible
that something else has changed in the past that fixed whatever original
issue I put this hack in for. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-05-07 13:01  jamesgolovich  Note Added: 0073125                          
======================================================================




More information about the asterisk-bugs mailing list