[asterisk-bugs] [Asterisk 0012722]: [patch] Problems with Restore of fullcontact + ipaddr from RealtimeDB with rtcachefriends

noreply at bugs.digium.com noreply at bugs.digium.com
Sun May 25 11:11:09 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12722 
====================================================================== 
Reported By:                barthpbx
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   12722
Category:                   Channels/chan_sip/DatabaseSupport
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.20 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-25-2008 10:31 CDT
Last Modified:              05-25-2008 11:11 CDT
====================================================================== 
Summary:                    [patch] Problems with Restore of fullcontact +
ipaddr from RealtimeDB with rtcachefriends
Description: 
A fresh created peer from realtime is missing fullcontact + ipaddr + port
is rtcachefriends is active.

Also a fullcontact like 
sip:100081 at XX.XXX.XXX.XXX;uniq=8201DB6A1470DB6A08E190DA3094A is note
restored correctly

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

---------------------------------------------------------------------- 
 svnbot - 05-25-08 11:11  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 118252

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r118252 | tilghman | 2008-05-25 11:11:00 -0500 (Sun, 25 May 2008) | 20
lines

Merged revisions 118251 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118251 | tilghman | 2008-05-25 11:02:04 -0500 (Sun, 25 May 2008) | 12
lines

Realtime flag affects construction in multiple ways, so consulting whether
rtcachefriends was set was done too soon (needed to be done inside
build_peer,
not just as a flag to build_peer).
Also, fullcontact needed to be reconstructed, because realtime separates
the
embedded ';' into multiple fields.
(closes issue http://bugs.digium.com/view.php?id=12722)
 Reported by: barthpbx
 Patches: 
       20080525__bug12722.diff.txt uploaded by Corydon76 (license 14)
 Tested by: barthpbx
 (Much of the discussion happened on #asterisk-dev for diagnosing this
issue)

........

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-25-08 11:11  svnbot         Note Added: 0087304                          
======================================================================




More information about the asterisk-bugs mailing list