Merge pull request #969 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:fix_config_rtpip to master
* commit '3d2f3c96db2d496dc349c1e6786f958a7681a4eb': FS-9548: return with error on wrong rtp ip given from config
This commit is contained in:
commit
bbe5ee0856
|
@ -6134,6 +6134,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_choose_port(switch_core_sessio
|
|||
|
||||
lookup_rtpip = smh->mparams->rtpip;
|
||||
|
||||
if (!lookup_rtpip) {
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
/* Don't do anything if we're in proxy mode or if a (remote) port already has been found */
|
||||
if (!force) {
|
||||
if (switch_channel_test_flag(session->channel, CF_PROXY_MODE) ||
|
||||
|
|
Loading…
Reference in New Issue