call drop because of no write codec, incompatible_destination

António Silva asilva at wirelessmundi.com
Thu Oct 24 15:40:00 UTC 2019


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




More information about the FreeSWITCH-users mailing list