[Freeswitch-users] Issue connecting to FS with SRTP

Oleg Stolyar olegstolyar at gmail.com
Wed Aug 17 05:10:46 MSD 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160816/24c0b5d6/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list