[svn-commits] trunk - r7540 /trunk/channels/chan_iax2.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Dec 20 03:39:33 CST 2005


Author: markster
Date: Tue Dec 20 03:39:31 2005
New Revision: 7540

URL: http://svn.digium.com/view/asterisk?rev=7540&view=rev
Log:
Fix reload of peer contexts (bug #6007)

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=7540&r1=7539&r2=7540&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Dec 20 03:39:31 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 svn-commits mailing list