[asterisk-commits] branch 1.2 - r7552
/branches/1.2/channels/chan_iax2.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Dec 20 12:05:48 CST 2005
Author: russell
Date: Tue Dec 20 12:05:45 2005
New Revision: 7552
URL: http://svn.digium.com/view/asterisk?rev=7552&view=rev
Log:
backport fix for reloading peer context (issue #6007)
Modified:
branches/1.2/channels/chan_iax2.c
Modified: branches/1.2/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_iax2.c?rev=7552&r1=7551&r2=7552&view=diff
==============================================================================
--- branches/1.2/channels/chan_iax2.c (original)
+++ branches/1.2/channels/chan_iax2.c Tue Dec 20 12:05:45 2005
@@ -8147,6 +8147,7 @@
peer->smoothing = 0;
peer->pokefreqok = DEFAULT_FREQ_OK;
peer->pokefreqnotok = DEFAULT_FREQ_NOTOK;
+ peer->context[0] = '\0';
while(v) {
if (!strcasecmp(v->name, "secret")) {
if (!ast_strlen_zero(peer->secret)) {
More information about the asterisk-commits
mailing list