From e594105972486a50cf30824d56ff99de5bcb341c Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 19 Dec 2006 20:24:07 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3736 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_dingaling/mod_dingaling.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mod/endpoints/mod_dingaling/mod_dingaling.c b/src/mod/endpoints/mod_dingaling/mod_dingaling.c index 90823f0fc8..47d85295d3 100644 --- a/src/mod/endpoints/mod_dingaling/mod_dingaling.c +++ b/src/mod/endpoints/mod_dingaling/mod_dingaling.c @@ -698,6 +698,10 @@ static int activate_rtp(struct private_object *tech_pvt) 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,