Merge pull request #606 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-8565-txfax-fails-when-remote-party-changes to master
We've tested this with Yehavi and it does fix a problem that apparently happens a lot in the wild, and I have tested it against FS. * commit 'd7b8394e501ae061926a78a1d45a0be8aafb6907': FS-8565 update initial rtp from address when auto changing port so we can avoid false later comparisons
This commit is contained in:
commit
1d36d1fcae
|
@ -2888,6 +2888,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_remote_address(switch_rtp_t *rtp_
|
||||||
switch_mutex_lock(rtp_session->write_mutex);
|
switch_mutex_lock(rtp_session->write_mutex);
|
||||||
|
|
||||||
rtp_session->remote_addr = remote_addr;
|
rtp_session->remote_addr = remote_addr;
|
||||||
|
switch_cp_addr(rtp_session->rtp_from_addr, rtp_session->remote_addr);
|
||||||
|
|
||||||
if (change_adv_addr) {
|
if (change_adv_addr) {
|
||||||
rtp_session->remote_host_str = switch_core_strdup(rtp_session->pool, host);
|
rtp_session->remote_host_str = switch_core_strdup(rtp_session->pool, host);
|
||||||
|
|
Loading…
Reference in New Issue