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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 30 09:07:28 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 09:07 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0121219) pabelanger (manager) - 2010-04-30 09:07
 https://issues.asterisk.org/view.php?id=17260#c121219 
---------------------------------------------------------------------- 
Please try the patch posted in the related issue
https://issues.asterisk.org/view.php?id=17266.

As for severity, it only represents the 'number of affected people', not
how much of a problem it is from the reporter PoV. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-30 09:07 pabelanger     Note Added: 0121219                          
======================================================================




More information about the asterisk-bugs mailing list