[Freeswitch-svn] [commit] r7054 - freeswitch/trunk/src/mod/endpoints/mod_dingaling

Freeswitch SVN mikej at freeswitch.org
Tue Jan 1 22:39:29 EST 2008


Author: mikej
Date: Tue Jan  1 22:39:29 2008
New Revision: 7054

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c

Log:
fix breakage caused by new port allocator code.

Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	Tue Jan  1 22:39:29 2008
@@ -1710,7 +1710,7 @@
 			switch_core_session_set_private(*new_session, tech_pvt);
 			tech_pvt->session = *new_session;
 			tech_pvt->codec_index = -1;
-			if (!(tech_pvt->local_port = switch_rtp_request_port(tech_pvt->profile->ip))) {
+			if (!(tech_pvt->local_port = switch_rtp_request_port(mdl_profile->ip))) {
 				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "No RTP port available!\n");
 				terminate_session(new_session, __LINE__, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
 				return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;



More information about the Freeswitch-svn mailing list