From: Anthony Minessale Date: Tue, 19 Dec 2006 20:24:07 +0000 (+0000) Subject: tweak X-Git-Tag: v1.0-beta1~1513 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e594105972486a50cf30824d56ff99de5bcb341c;p=thirdparty%2Ffreeswitch.git tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3736 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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,