[asterisk-commits] kpfleming: trunk r46202 - /trunk/channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Oct 25 07:47:01 MST 2006


Author: kpfleming
Date: Wed Oct 25 09:47:01 2006
New Revision: 46202

URL: http://svn.digium.com/view/asterisk?rev=46202&view=rev
Log:
restore bugfix that was reverted by trunk_mtu patch

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=46202&r1=46201&r2=46202&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Wed Oct 25 09:47:01 2006
@@ -2925,6 +2925,9 @@
 		iaxs[callno]->pingtime = autokill / 2;
 		iaxs[callno]->initid = ast_sched_add(sched, autokill * 2, auto_congest, CALLNO_TO_PTR(callno));
 	}
+
+	/* send the command using the appropriate socket for this peer */
+	iaxs[callno]->sockfd = cai.sockfd;
 
 	/* Transmit the string in a "NEW" request */
 	send_command(iaxs[callno], AST_FRAME_IAX, IAX_COMMAND_NEW, 0, ied.buf, ied.pos, -1);



More information about the asterisk-commits mailing list