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

Freeswitch SVN anthm at freeswitch.org
Tue Dec 19 15:24:09 EST 2006


Author: anthm
Date: Tue Dec 19 15:24:07 2006
New Revision: 3736

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

Log:
tweak

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 Dec 19 15:24:07 2006
@@ -698,6 +698,10 @@
 		return 1;
 	}
 
+    if (!(tech_pvt->remote_ip && tech_pvt->remote_port)) {
+        return 0;
+    }
+
 	if (switch_core_codec_init(&tech_pvt->read_codec,
 							   tech_pvt->codec_name,
 							   NULL,



More information about the Freeswitch-svn mailing list