[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 10:55:54 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12722
======================================================================
Reported By: barthpbx
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12722
Category: Channels/chan_sip/DatabaseSupport
Reproducibility: always
Severity: major
Priority: normal
Status: new
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:
======================================================================
Date Submitted: 05-25-2008 10:31 CDT
Last Modified: 05-25-2008 10:55 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 10:55
----------------------------------------------------------------------
Repository: asterisk
Revision: 118251
U branches/1.4/channels/chan_sip.c
------------------------------------------------------------------------
r118251 | tilghman | 2008-05-25 10:55:46 -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=118251
Issue History
Date Modified Username Field Change
======================================================================
05-25-08 10:55 svnbot Note Added: 0087303
======================================================================
More information about the asterisk-bugs
mailing list