<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Take a look at log with sip trace enabled but this usually happens when we can’t negotiate codecs.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 24, 2019, at 10:19 AM, António Silva via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">António Silva <<a href="mailto:asilva@wirelessmundi.com" class="">asilva@wirelessmundi.com</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">call drop because of no write codec, incompatible_destination</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">October 24, 2019 at 9:40:00 AM MDT<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>><br class=""></span></div><br class=""><br class="">Hi,<br class=""><br class="">I'm seeing multiple calls drop with incompatible_destination, i try to call again the same destination and it works fine. it gets me crazy...<br class=""><br class="">In logs i see the error, "has no write codec",  in the capture i see the negotiation both sides have codecs, they are correctly configure in directory.<br class=""><br class="">what could be causing this? i'm using version 1.8.6<br class=""><br class=""><br class="">Part of the LOG where the error happens:<br class=""><br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:37.694352 [ALERT] switch_core_state_machine.c:701 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> session thread sleep state: CS_CONSUME_MEDIA!<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.794408 [ALERT] switch_core_session.c:1130 Send signal sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> [BREAK]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.794408 [ALERT] switch_core_session.c:1130 Send signal sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> [BREAK]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.794408 [ALERT] switch_core_state_machine.c:705 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> session thread wake state: CS_CONSUME_MEDIA!<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.814367 [ALERT] switch_core_media.c:486 Looking for zrtp-hash<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.814367 [ALERT] switch_core_media.c:439 Deciding whether to pass zrtp-hash between legs<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.814367 [ALERT] switch_core_media.c:441 CF_ZRTP_PASSTHRU_REQ not set, so not propagating zrtp-hash<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.834519 [DEBUG] sofia.c:7325 Channel sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> entering state [completing][200]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.834519 [DEBUG] sofia.c:7335 Remote SDP:<br class="">f39e569f-5184-481a-9f67-6185367e2829 v=0<br class="">f39e569f-5184-481a-9f67-6185367e2829 o=11 5008 38 IN IP4 192.168.100.11<br class="">f39e569f-5184-481a-9f67-6185367e2829 s=Mapping<br class="">f39e569f-5184-481a-9f67-6185367e2829 c=IN IP4 192.168.100.11<br class="">f39e569f-5184-481a-9f67-6185367e2829 t=0 0<br class="">f39e569f-5184-481a-9f67-6185367e2829 m=audio 5008 RTP/AVP 0 101<br class="">f39e569f-5184-481a-9f67-6185367e2829 a=rtpmap:0 PCMU/8000<br class="">f39e569f-5184-481a-9f67-6185367e2829 a=rtpmap:101 telephone-event/8000<br class="">f39e569f-5184-481a-9f67-6185367e2829 a=fmtp:101 0-16<br class="">f39e569f-5184-481a-9f67-6185367e2829 a=ptime:20<br class="">f39e569f-5184-481a-9f67-6185367e2829<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.834519 [NOTICE] sofia.c:7338 Pre-Answer sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a>!<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.934371 [ALERT] switch_core_session.c:2662 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> Send KeyFrame<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.934371 [DEBUG] switch_core_session.c:2825 EXECUTE [depth=1] sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> lua(execute_on_ring_b.lua)<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.934371 [ALERT] switch_core_session.c:2889 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> receive message [APPLICATION_EXEC]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.934371 [ALERT] switch_core_session.c:1047 Send signal sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> [BREAK]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.954358 [ALERT] switch_core_session.c:1047 Send signal sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> [BREAK]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.954358 [ALERT] switch_ivr_originate.c:4136 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> receive message [AUDIO_SYNC]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.034370 [DEBUG] switch_cpp.cpp:1187 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> destroy/unlink session from object<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.034370 [ALERT] switch_core_session.c:2905 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> receive message [APPLICATION_EXEC_COMPLETE]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.034370 [DEBUG] switch_channel.c:3537 (sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a>) Callstate Change RINGING -> EARLY<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] sofia.c:7338 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> receive message [PROGRESS_EVENT]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_media.c:486 Looking for zrtp-hash<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_media.c:439 Deciding whether to pass zrtp-hash between legs<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_media.c:441 CF_ZRTP_PASSTHRU_REQ not set, so not propagating zrtp-hash<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_ivr_bridge.c:1650 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> receive message [AUDIO_SYNC]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_state_machine.c:701 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> session thread sleep state: CS_CONSUME_MEDIA!<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_ivr_bridge.c:1751 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> receive message [BRIDGE]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_session.c:981 Send signal sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> [BREAK]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [DEBUG] switch_ivr_bridge.c:1795 (sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a>) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_session.c:1480 Send signal sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> [BREAK]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [ALERT] switch_core_state_machine.c:705 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> session thread wake state: CS_CONSUME_MEDIA!<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [DEBUG] switch_core_state_machine.c:584 (sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a>) Running State Change CS_EXCHANGE_MEDIA (Cur 242 Tot 835614)<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [DEBUG] switch_core_state_machine.c:653 (sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a>) State EXCHANGE_MEDIA<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [ALERT] switch_core_state_machine.c:653 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> Send KeyFrame<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [DEBUG] mod_sofia.c:657 SOFIA EXCHANGE_MEDIA<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [ERR] switch_core_media.c:15507 sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> has no write codec.<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [NOTICE] switch_core_media.c:15508 Hangup sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> [CS_EXCHANGE_MEDIA] [INCOMPATIBLE_DESTINATION]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [ALERT] switch_channel.c:3346 Send signal sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> [KILL]<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [DEBUG] mod_hash.c:297 Usage for total_account:<a href="mailto:11@clinicalluch.daratel.com" class="">11@clinicalluch.daratel.com</a> is now 0<br class="">f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [ALERT] switch_core_session.c:1480 Send signal sofia/1-perfil-fija/<a href="sip:11@131.179.185.131:5112" class="">sip:11@131.179.185.131:5112</a> [BREAK]<br class=""><br class=""><br class=""><br class="">-- <br class="">Saludos / Regards / Cumprimentos<br class="">António Silva<br class=""><br class=""><br class=""><br class=""><br class="">_________________________________________________________________________<br class=""><br class="">The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" class="">https://signalwire.com</a><br class="">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">Build your next product on our scalable cloud platform.<br class=""><br class="">Join our online community to chat in real time <a href="https://signalwire.community" class="">https://signalwire.community</a><br class=""><br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br class="">https://freeswitch.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">https://freeswitch.com/oss<br class="">https://freeswitch.org/confluence<br class="">https://cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">https://freeswitch.com</div></blockquote></div><br class=""></body></html>