[asterisk-bugs] [Asterisk 0018251]: Realtime field 'fullcontact' populated with invalid data

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 5 07:37:22 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18251 
====================================================================== 
Reported By:                bcnit
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18251
Category:                   Channels/chan_sip/DatabaseSupport
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.13 
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-11-04 09:55 CDT
Last Modified:              2010-11-05 07:37 CDT
====================================================================== 
Summary:                    Realtime field 'fullcontact' populated with invalid
data
Description: 

Using Asterisk realtime, the field 'fullcontact' is populated with invalid
data. The result is that warnings occur when a handset re-registers after
Asterisk has been restarted.

In my case, after a handset registers, the field contains something like:

'spts211..52:04ln=2lbnso30731'

The warnings are:

[Nov  4 14:50:29] WARNING[5157]: chan_sip.c:12302
__set_address_from_contact: Invalid contact uri
spts211..52:04ln=2lbnso30731 (missing sip: or sips:), attempting to use
anyway
[Nov  4 14:50:29] WARNING[5157]: chan_sip.c:12321
__set_address_from_contact: Invalid host name in Contact: (can't resolve in
DNS) : 'spts211..52'

====================================================================== 

---------------------------------------------------------------------- 
 (0128652) bcnit (reporter) - 2010-11-05 07:37
 https://issues.asterisk.org/view.php?id=18251#c128652 
---------------------------------------------------------------------- 
Hi,

I'm not a programmer - what I've done is a hack, not a patch!

I have identified where the problem is and have essentially bypassed it.

I have no idea what the implications of what I have done are.

I have no idea whether what I have done is correct or not.

My notes listed above were added simply to give as much information as
possible to help somebody else identify and solve the problem.

Sorry, but I can't do any more than I have done and I certainly don't want
my hack making its way into the distribution! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-05 07:37 bcnit          Note Added: 0128652                          
======================================================================




More information about the asterisk-bugs mailing list