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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 29 09:09:53 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:                   block
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:09 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 :
====================================================================== 

---------------------------------------------------------------------- 
 (0121153) pabelanger (manager) - 2010-04-29 09:09
 https://issues.asterisk.org/view.php?id=17260#c121153 
---------------------------------------------------------------------- 
Additional information:
http://lists.digium.com/pipermail/asterisk-dev/2010-April/043781.html 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-29 09:09 pabelanger     Note Added: 0121153                          
======================================================================




More information about the asterisk-bugs mailing list