[asterisk-commits] branch 1.2 r9246 - /branches/1.2/channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Feb 8 18:25:17 MST 2006


Author: russell
Date: Wed Feb  8 19:24:55 2006
New Revision: 9246

URL: http://svn.digium.com/view/asterisk?rev=9246&view=rev
Log:
reload peercontext on iax2 reload (issue #6442)

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=9246&r1=9245&r2=9246&view=diff
==============================================================================
--- branches/1.2/channels/chan_iax2.c (original)
+++ branches/1.2/channels/chan_iax2.c Wed Feb  8 19:24:55 2006
@@ -8151,6 +8151,7 @@
 		peer->pokefreqok = DEFAULT_FREQ_OK;
 		peer->pokefreqnotok = DEFAULT_FREQ_NOTOK;
 		peer->context[0] = '\0';
+		peer->peercontext[0] = '\0';
 		while(v) {
 			if (!strcasecmp(v->name, "secret")) {
 				if (!ast_strlen_zero(peer->secret)) {



More information about the asterisk-commits mailing list