<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>Hi, All</div><div><br></div><div>I've got FreeSwitch 1.8.2 running in media proxy mode:</div><div><br></div><div></div><div><div><span style="font-family:monospace,monospace"><param name="inbound-proxy-media" value="true"/><br><param name="inbound-late-negotiation" value="true"/></span></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace"></span></div>

</div><div>Dialplan is configured to bridge incoming calls to remote gateway and most of calls completing successfully, however some of them fail with 
INCOMPATIBLE_DESTINATION cause. For failed calls everything goes normally until bridged connection gets early media from callee:<br></div><div><br></div><div><span style="font-family:monospace,monospace">[NOTICE] sofia.c:7304 Pre-Answer sofia/external/<a href="mailto:2222@2.2.2.2">2222@2.2.2.2</a>!<br>[INFO] switch_ivr_originate.c:3747 Sending early media<br>[DEBUG] switch_core_media.c:3781 Set Codec sofia/internal/<a href="mailto:1111@1.1.1.1">1111@1.1.1.1</a> <span style="background-color:rgb(244,204,204)">PCMU/0 0 ms 960 samples 384000 bits 1 channels</span><br>[DEBUG] switch_core_codec.c:111 sofia/internal/<a href="mailto:1111@1.1.1.1">1111@1.1.1.1</a> Original read codec set to PCMU:0<br>[DEBUG] switch_core_media.c:8577 PROXY AUDIO RTP [sofia/internal/<a href="mailto:1111@1.1.1.1">1111@1.1.1.1</a>] 1.1.1.1:18792-><a href="http://1.1.1.1:18792">1.1.1.1:18792</a> codec: 0 ms: 20<br><span style="color:rgb(204,0,0)"><span style="background-color:rgb(255,255,255)">[ERR] switch_core_media.c:9510 AUDIO RTP REPORTS ERROR: <b>[Missing local host]</b></span></span><br>[NOTICE] switch_core_media.c:9511 Hangup sofia/internal/<a href="mailto:1111@1.1.1.1">1111@1.1.1.1</a> [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]</span></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">Here's a dump for this call:<br></span></div><div></div><div><br></div><div><div><img src="cid:ii_jmqiio3p0" alt="image.png" width="403" height="138"></div><div><br></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Healthy call on the same machine:</font><br></span></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">[DEBUG] switch_core_media.c:3781 Set Codec sofia/vpn/<a href="mailto:2222@2.2.2.2">2222@2.2.2.2</a> <span style="background-color:rgb(217,234,211)">PROXY/0 0 ms 160 samples 0 bits 1 channels</span><br>[DEBUG] switch_core_codec.c:111 sofia/internal/<a href="mailto:2222@2.2.2.2">2222@2.2.2.2</a> Original read codec set to PROXY:0<br>[DEBUG] switch_core_media.c:8577 PROXY AUDIO RTP [sofia/internal/<a href="mailto:2222@2.2.2.2">2222@2.2.2.2</a>] 2.2.2.2:60818-><a href="http://2.2.2.2:60818">2.2.2.2:60818</a> codec: 0 ms: 20<br><br>[DEBUG] switch_core_media.c:3781 Set Codec sofia/internal/<a href="mailto:1111@1.1.1.1">1111@1.1.1.1</a> <span style="background-color:rgb(217,234,211)">PROXY/0 0 ms 160 samples 0 bits 1 channels</span><br>[DEBUG] switch_core_codec.c:111 sofia/external/<a href="mailto:1111@1.1.1.1">1111@1.1.1.1</a> Original read codec set to PROXY:0<br>[DEBUG] switch_core_media.c:8577 PROXY AUDIO RTP [sofia/external/<a href="mailto:1111@1.1.1.1">1111@1.1.1.1</a>] 1.1.1.1:31412-><a href="http://1.1.1.1:31412">1.1.1.1:31412</a> codec: 0 ms: 20</span><br><br></div><div>So it looks like proxified media connection cannot be established for some calls. It shouldn't be a codec problem as call parties are configured with common codecs, FS is bond to local interface which is running with no errors. But I have no idea what "local host is missing" in my case so I'll be appreciated for any hint.</div><div><br></div><div><span style="font-family:monospace,monospace">FreeSWITCH Version 1.8.2+git~20180926T175525Z~a98a958ac3~64bit (git a98a958 2018-09-26 17:55:25Z 64bit)</span></div><div><span style="font-family:monospace,monospace">CentOS Linux release 7.5.1804 (Core)</span><br></div><div><br></div><div>Best,</div><div>Marc<br></div></div></div></div></div></div></div></div>