git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3736 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-12-19 20:24:07 +00:00
parent 165f180162
commit e594105972
1 changed files with 4 additions and 0 deletions

View File

@ -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,