Did you enable/configure SRTP? This is a sample guide I use for Twilio TLS/SRTP which can help
Can you post all logs?


On Tue, Aug 16, 2016 at 6:10 PM, Oleg Stolyar <olegstolyar@gmail.com> wrote:
Hi guys,

I am trying to connect to FS using the CounterPath SDK for Android.  I use TLS for signalling.  All works well until I try to enable SRTP.  Then FS rejects the call the INCOMPATIBLE_DESTINATION message.  Is there something wrong with the SDP?  Here are the relevant SDPs from the INVITES.

NON-SRTP (works)
   v=0
   o=- 622419737965 1 IN IP4 192.168.1.78
   s=
   c=IN IP4 192.168.1.78
   t=0 0
   m=audio 57194 RTP/AVP 3 120 123 122 121 9 8 0 84 85 18 101
   a=rtpmap:120 opus/48000/2
   a=fmtp:120 useinbandfec=1; usedtx=1; maxaveragebitrate=64000
   a=rtpmap:123 SILK/24000
   a=rtpmap:122 SILK/16000
   a=rtpmap:121 SILK/8000
   a=rtpmap:84 speex/16000
   a=rtpmap:85 speex/8000
   a=rtpmap:18 G729/8000
   a=fmtp:18 annexb=yes
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-15
   a=sendrecv

SRTP (does not work)
   v=0
   o=- 622187157154 1 IN IP4 192.168.1.78
   s=
   c=IN IP4 192.168.1.78
   t=0 0
   a=fingerprint:SHA-256 4D:08:D6:49:9E:CA:77:A2:77:74:02:A0:B9:92:32:2F:2D:76:7D:59:7F:A4:CA:85:16:BA:D0:27:0A:74:1C:0F
   a=setup:actpass
   m=audio 61434 UDP/TLS/RTP/SAVP 3 120 123 122 121 9 8 0 84 85 18 101
   a=rtpmap:120 opus/48000/2
   a=fmtp:120 useinbandfec=1; usedtx=1; maxaveragebitrate=64000
   a=rtpmap:123 SILK/24000
   a=rtpmap:122 SILK/16000
   a=rtpmap:121 SILK/8000
   a=rtpmap:84 speex/16000
   a=rtpmap:85 speex/8000
   a=rtpmap:18 G729/8000
   a=fmtp:18 annexb=yes
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-15
   a=sendrecv


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org