[asterisk-bugs] [Asterisk 0017266]: [patch] Failed to register peers from realtime config

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 5 11:42:23 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17266 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                pabelanger
====================================================================== 
Project:                    Asterisk
Issue ID:                   17266
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for review
Asterisk Version:           SVN 
JIRA:                       SWP-1400 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/643 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-30 07:14 CDT
Last Modified:              2010-05-05 11:42 CDT
====================================================================== 
Summary:                    [patch] Failed to register peers from realtime
config
Description: 
The resulting messages are:

>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
>

And the peers are not registered...
On MySQL DB, the table was created as described in
http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0017260 ARA - error if fields are empty (not NULL)
====================================================================== 

---------------------------------------------------------------------- 
 (0121427) svnbot (reporter) - 2010-05-05 11:42
 https://issues.asterisk.org/view.php?id=17266#c121427 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 261274

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r261274 | pabelanger | 2010-05-05 11:42:22 -0500 (Wed, 05 May 2010) | 12
lines

Registration fix for SIP realtime.

Make sure realtime fields are not empty.

(closes issue https://issues.asterisk.org/view.php?id=17266)
Reported by: Nick_Lewis
Patches:
      chan_sip.c-realtime.patch uploaded by Nick Lewis (license 657)
Tested by: Nick_Lewis, sberney

Review: https://reviewboard.asterisk.org/r/643/

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=261274 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-05 11:42 svnbot         Checkin                                      
2010-05-05 11:42 svnbot         Note Added: 0121427                          
======================================================================




More information about the asterisk-bugs mailing list