[asterisk-bugs] [Asterisk 0018882]: [patch] allow storing TCP peers in ast db & alllow rtupdate=no to use them

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 13 12:58:55 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18882 
====================================================================== 
Reported By:                cmaj
Assigned To:                bbryant
====================================================================== 
Project:                    Asterisk
Issue ID:                   18882
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     closed
Asterisk Version:           1.8.3-rc2 
JIRA:                       SWP-3202 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-02-24 12:35 CST
Last Modified:              2011-05-13 12:58 CDT
====================================================================== 
Summary:                    [patch] allow storing TCP peers in ast db & alllow
rtupdate=no to use them
Description: 
A nasty comment about not keeping track of TCP peers was deleted and simple
workaround offered in attached patch. It is safe to store TCP peers in AST
DB just like UDP peers.

Additionally, this patch covers situations with read-only realtime
storage, which is great with LDAP backends because they are very much
read-friendly. But without writing to the backend (when rtupdate="no" in
sip.conf) you lose track of where the peers are during a restart of
Asterisk - not good.
====================================================================== 

---------------------------------------------------------------------- 
 (0134911) svnbot (reporter) - 2011-05-13 12:58
 https://issues.asterisk.org/view.php?id=18882#c134911 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 318918

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r318918 | bbryant | 2011-05-13 12:58:55 -0500 (Fri, 13 May 2011) | 17
lines

Merged revisions 318917 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r318917 | bbryant | 2011-05-13 13:56:04 -0400 (Fri, 13 May 2011) | 11
lines
  
  This patch allows TCP peers into the ast_db where they were previously
  restricted.
  
  (closes issue https://issues.asterisk.org/view.php?id=18882)
  Reported by: cmaj
  Patches: 
       
patch-chan_sip-1.8.3-rc2-allow-tcp-peer-store-db-and-readonly-rt-backend.diff.txt
        uploaded by cmaj (license 830)
  Tested by: cmaj
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-13 12:58 svnbot         Checkin                                      
2011-05-13 12:58 svnbot         Note Added: 0134911                          
======================================================================




More information about the asterisk-bugs mailing list