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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 29 09:12:18 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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-29 09:12 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 :
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-29 09:12 pabelanger     Severity                 block => minor      
======================================================================




More information about the asterisk-bugs mailing list