[Freeswitch-users] ERR has no write codec. [INCOMPATIBLE_DESTINATION]

Vallimamod Abdullah vma at vallimamod.org
Sun Nov 10 12:28:18 UTC 2019


Hi,

Can you try disabling the comfort noise generation? You can do it by setting the profile param suppress-cng or the channel variable suppress_cng to true. It should remove the "a=rtpmap:13 CN/8000" line from your local sdp.


Best Regards,
-- 
Vallimamod Abdullah
SIP Solutions
vma at sip.solutions
linkedin.com/in/vallimamod
.


> On 8 Nov 2019, at 13:47, David Dean <david at net-work.net> wrote:
> 
> Hi
> 
> I wonder if anybody can help. We are getting an error creeping in on a production system. It is happening randomly which of course makes it difficult to track down.
> 
> A call to a SIP registered endpoint (VoIP handset) randomly fails, it rings, then when it is answered the call fails. It could be to any of the end points on our system, it doesn't happen every call, in fact it only happens on prepositionally very few calls. If we restart the Freeswitch service the frequency of calls effected reduces to nothing and then builds up again.
> 
> Logs show (I have replaced our IP address with {IP ADDRESS})
> 
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 2019-11-08 10:01:02.857442 [DEBUG] mod_sofia.c:646 SOFIA EXCHANGE_MEDIA
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 2019-11-08 10:01:02.897441 [ERR] switch_core_media.c:15418 sofia/internal/5033305@{IP ADDRESS}:38532 has no write codec.
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 2019-11-08 10:01:02.897441 [NOTICE] switch_core_media.c:15419 Hangup sofia/internal/5033305@{IP ADDRESS}:38532 [CS_EXCHANGE_MEDIA] [INCOMPATIBLE_DESTINATION]
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 2019-11-08 10:01:02.897441 [DEBUG] switch_ivr_bridge.c:1881 sofia/internal/5033305@{IP ADDRESS}:38532 skip receive message [UNBRIDGE] (channel is hungup already)
> 
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 2019-11-08 10:01:02.837454 [DEBUG] sofia.c:7301 Remote SDP:
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 v=0
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 o=5033305 38480 137 IN IP4 51.148.123.105
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 s=Mapping
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 c=IN IP4 51.148.123.105
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 t=0 0
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 m=audio 38480 RTP/AVP 0 101
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=rtpmap:0 PCMU/8000
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=rtpmap:101 telephone-event/8000
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=fmtp:101 0-16
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=ptime:20
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437
> 
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 Local SDP:
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 v=0
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 o=FreeSWITCH 1573174674 1573174675 IN IP4 178.128.173.117
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 s=FreeSWITCH
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 c=IN IP4 178.128.173.117
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 t=0 0
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 m=audio 32570 RTP/AVP 0 101 13
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=rtpmap:0 PCMU/8000
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=rtpmap:101 telephone-event/8000
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=fmtp:101 0-16
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=rtpmap:13 CN/8000
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=ptime:20
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437 a=sendrecv
> freeswitch.log.2019-11-08-10-15-53.1:7ea8711f-40c3-4cfc-b927-fc99fc9b7437
> 
> Any ideas would be appreciated.
> 
> David J Dean
> 
> 
> 
> _________________________________________________________________________
> 
> 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




More information about the FreeSWITCH-users mailing list