[asterisk-commits] russell: branch group/sip-tcptls r92778 - in /team/group/sip-tcptls: ./ chann...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 13 11:15:18 CST 2007
Author: russell
Date: Thu Dec 13 11:15:17 2007
New Revision: 92778
URL: http://svn.digium.com/view/asterisk?view=rev&rev=92778
Log:
resolve, reset ... again
Modified:
team/group/sip-tcptls/ (props changed)
team/group/sip-tcptls/channels/chan_sip.c
Propchange: team/group/sip-tcptls/
------------------------------------------------------------------------------
automerge = *
Propchange: team/group/sip-tcptls/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Dec 13 11:15:17 2007
@@ -1,1 +1,1 @@
-/trunk:1-92755
+/trunk:1-92777
Modified: team/group/sip-tcptls/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/sip-tcptls/channels/chan_sip.c?view=diff&rev=92778&r1=92777&r2=92778
==============================================================================
--- team/group/sip-tcptls/channels/chan_sip.c (original)
+++ team/group/sip-tcptls/channels/chan_sip.c Thu Dec 13 11:15:17 2007
@@ -18683,36 +18683,6 @@
default_tls_cfg.cafile = ast_strdup("");
default_tls_cfg.capath = ast_strdup("");
- if (option_debug > 3)
- ast_log(LOG_DEBUG, "--------------- SIP reload started\n");
-
- clear_realm_authentication(authl);
- clear_sip_domains();
- authl = NULL;
-
- /* First, destroy all outstanding registry calls */
- /* This is needed, since otherwise active registry entries will not be destroyed */
- ASTOBJ_CONTAINER_TRAVERSE(®l, 1, do {
- ASTOBJ_RDLOCK(iterator);
- if (iterator->call) {
- if (option_debug > 2)
- ast_log(LOG_DEBUG, "Destroying active SIP dialog for registry %s@%s\n", iterator->username, iterator->hostname);
- /* This will also remove references to the registry */
- sip_destroy(iterator->call);
- }
- ASTOBJ_UNLOCK(iterator);
-
- } while(0));
-
- /* Then, actually destroy users and registry */
- ASTOBJ_CONTAINER_DESTROYALL(&userl, sip_destroy_user);
- if (option_debug > 3)
- ast_log(LOG_DEBUG, "--------------- Done destroying user list\n");
- ASTOBJ_CONTAINER_DESTROYALL(®l, sip_registry_destroy);
- if (option_debug > 3)
- ast_log(LOG_DEBUG, "--------------- Done destroying registry list\n");
- ASTOBJ_CONTAINER_MARKALL(&peerl);
-
/* Initialize copy of current global_regcontext for later use in removing stale contexts */
ast_copy_string(oldcontexts, global_regcontext, sizeof(oldcontexts));
oldregcontext = oldcontexts;
More information about the asterisk-commits
mailing list