[Freeswitch-users] call drop because of no write codec, incompatible_destination

Mike Jerris mike at freeswitch.org
Thu Oct 24 18:35:38 UTC 2019


Take a look at log with sip trace enabled but this usually happens when we can’t negotiate codecs.

> On Oct 24, 2019, at 10:19 AM, António Silva via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org> wrote:
> 
> 
> From: António Silva <asilva at wirelessmundi.com>
> Subject: call drop because of no write codec, incompatible_destination
> Date: October 24, 2019 at 9:40:00 AM MDT
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> 
> 
> Hi,
> 
> 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...
> 
> 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.
> 
> what could be causing this? i'm using version 1.8.6
> 
> 
> Part of the LOG where the error happens:
> 
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:37.694352 [ALERT] switch_core_state_machine.c:701 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 session thread sleep state: CS_CONSUME_MEDIA!
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.794408 [ALERT] switch_core_session.c:1130 Send signal sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 [BREAK]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.794408 [ALERT] switch_core_session.c:1130 Send signal sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 [BREAK]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.794408 [ALERT] switch_core_state_machine.c:705 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 session thread wake state: CS_CONSUME_MEDIA!
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.814367 [ALERT] switch_core_media.c:486 Looking for zrtp-hash
> 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
> 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
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.834519 [DEBUG] sofia.c:7325 Channel sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 entering state [completing][200]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.834519 [DEBUG] sofia.c:7335 Remote SDP:
> f39e569f-5184-481a-9f67-6185367e2829 v=0
> f39e569f-5184-481a-9f67-6185367e2829 o=11 5008 38 IN IP4 192.168.100.11
> f39e569f-5184-481a-9f67-6185367e2829 s=Mapping
> f39e569f-5184-481a-9f67-6185367e2829 c=IN IP4 192.168.100.11
> f39e569f-5184-481a-9f67-6185367e2829 t=0 0
> f39e569f-5184-481a-9f67-6185367e2829 m=audio 5008 RTP/AVP 0 101
> f39e569f-5184-481a-9f67-6185367e2829 a=rtpmap:0 PCMU/8000
> f39e569f-5184-481a-9f67-6185367e2829 a=rtpmap:101 telephone-event/8000
> f39e569f-5184-481a-9f67-6185367e2829 a=fmtp:101 0-16
> f39e569f-5184-481a-9f67-6185367e2829 a=ptime:20
> f39e569f-5184-481a-9f67-6185367e2829
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.834519 [NOTICE] sofia.c:7338 Pre-Answer sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112!
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.934371 [ALERT] switch_core_session.c:2662 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 Send KeyFrame
> 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/sip:11 at 131.179.185.131:5112 lua(execute_on_ring_b.lua)
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.934371 [ALERT] switch_core_session.c:2889 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 receive message [APPLICATION_EXEC]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.934371 [ALERT] switch_core_session.c:1047 Send signal sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 [BREAK]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.954358 [ALERT] switch_core_session.c:1047 Send signal sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 [BREAK]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:41.954358 [ALERT] switch_ivr_originate.c:4136 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 receive message [AUDIO_SYNC]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.034370 [DEBUG] switch_cpp.cpp:1187 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 destroy/unlink session from object
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.034370 [ALERT] switch_core_session.c:2905 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 receive message [APPLICATION_EXEC_COMPLETE]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.034370 [DEBUG] switch_channel.c:3537 (sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112) Callstate Change RINGING -> EARLY
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] sofia.c:7338 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 receive message [PROGRESS_EVENT]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_media.c:486 Looking for zrtp-hash
> 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
> 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
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_ivr_bridge.c:1650 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 receive message [AUDIO_SYNC]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_state_machine.c:701 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 session thread sleep state: CS_CONSUME_MEDIA!
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_ivr_bridge.c:1751 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 receive message [BRIDGE]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_session.c:981 Send signal sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 [BREAK]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [DEBUG] switch_ivr_bridge.c:1795 (sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.094512 [ALERT] switch_core_session.c:1480 Send signal sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 [BREAK]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [ALERT] switch_core_state_machine.c:705 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 session thread wake state: CS_CONSUME_MEDIA!
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [DEBUG] switch_core_state_machine.c:584 (sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112) Running State Change CS_EXCHANGE_MEDIA (Cur 242 Tot 835614)
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [DEBUG] switch_core_state_machine.c:653 (sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112) State EXCHANGE_MEDIA
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [ALERT] switch_core_state_machine.c:653 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 Send KeyFrame
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.114382 [DEBUG] mod_sofia.c:657 SOFIA EXCHANGE_MEDIA
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [ERR] switch_core_media.c:15507 sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 has no write codec.
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [NOTICE] switch_core_media.c:15508 Hangup sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 [CS_EXCHANGE_MEDIA] [INCOMPATIBLE_DESTINATION]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [ALERT] switch_channel.c:3346 Send signal sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 [KILL]
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [DEBUG] mod_hash.c:297 Usage for total_account:11 at clinicalluch.daratel.com is now 0
> f39e569f-5184-481a-9f67-6185367e2829 2019-10-21 11:50:42.134357 [ALERT] switch_core_session.c:1480 Send signal sofia/1-perfil-fija/sip:11 at 131.179.185.131:5112 [BREAK]
> 
> 
> 
> -- 
> Saludos / Regards / Cumprimentos
> António Silva
> 
> 
> 
> 
> _________________________________________________________________________
> 
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
> 
> Join our online community to chat in real time https://signalwire.community
> 
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
> 
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191024/de860c09/attachment.html>


More information about the FreeSWITCH-users mailing list