19 Dec
2006
19 Dec
'06
8:24 p.m.
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,