[asterisk-bugs] [Asterisk 0017260]: ARA - error if fields are empty (not NULL)

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 30 10:04:39 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17260 
====================================================================== 
Reported By:                sberney
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17260
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.18 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-29 03:03 CDT
Last Modified:              2010-04-30 10:04 CDT
====================================================================== 
Summary:                    ARA - error if fields are empty (not NULL)
Description: 
I got this error : 

WARNING[27221]: acl.c:383 ast_get_ip_or_srv: Unable to lookup ''
NOTICE[27221]: chan_sip.c:20603 handle_request_register: Registration from
'" voipphone1"<sip:voipphone1 at 10.0.0.10:5060>' failed for '10.0.0.20' - No
matching peer found

This error appeared when field "defaultip" on table sip peers is blank or
NULL (set to 0.0.0.0 solve the problem).

It could be great to improve that on chan_sip.c : if a field is blank (or
NULL) don't use it.

I experiment problems with fields : 'defaultip', 'permit', 'deny' and
'mask'.

Fields "permit", "deny" and "mask" generate this error message :

WARNING27599 acl.c: Invalid IP address in 
ERROR27599 chan_sip.c: Bad ACL entry in configuration line 0 :
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017266 [patch] Failed to register peers from r...
====================================================================== 

---------------------------------------------------------------------- 
 (0121223) sberney (reporter) - 2010-04-30 10:04
 https://issues.asterisk.org/view.php?id=17260#c121223 
---------------------------------------------------------------------- 
Solved by patch the patch https://issues.asterisk.org/view.php?id=17266 ! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-30 10:04 sberney        Note Added: 0121223                          
======================================================================




More information about the asterisk-bugs mailing list