<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I will be responding to this question for community corner on todays Cluecon Weekly.<div class=""><br class=""></div><div class="">Mike<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 16, 2018, at 5:21 AM, Xenia Obolenskaya <<a href="mailto:j4v28bsjtp43hnf865@gmail.com" class="">j4v28bsjtp43hnf865@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">recv 1815 bytes from tls/[81.23.228.150]:443 at 07:59:52.249297:
<br class="">------------------------------------------------------------------------
<br class="">   INVITE <a class="gmail-moz-txt-link-freetext">sip:gw+sip2sip@</a><my_IP:5061;transport=tls;gw=sip2sip SIP/2.0
<br class="">   Record-Route: 
<a class="gmail-moz-txt-link-rfc2396E"><sip:81.23.228.150:443;transport=tls;r2=on;lr;ftag=KKQaHvjDvKecF;did=f94.1a4c1615></a>
<br class="">   Record-Route: 
<a class="gmail-moz-txt-link-rfc2396E"><sip:81.23.228.150;r2=on;lr;ftag=KKQaHvjDvKecF;did=f94.1a4c1615></a>
<br class="">   Record-Route: <a class="gmail-moz-txt-link-rfc2396E"><sip:81.23.228.129;lr;ftag=KKQaHvjDvKecF;did=f94.5418aa17></a>
<br class="">   Record-Route: <a class="gmail-moz-txt-link-rfc2396E"><sip:81.23.228.150;lr;ftag=KKQaHvjDvKecF></a>
<br class="">   Record-Route: <a class="gmail-moz-txt-link-rfc2396E"><sip:85.17.186.7;r2=on;lr;ftag=KKQaHvjDvKecF></a>
<br class="">   Record-Route: 
<a class="gmail-moz-txt-link-rfc2396E"><sip:85.17.186.7;transport=tcp;r2=on;lr;ftag=KKQaHvjDvKecF></a>
<br class="">   Via: SIP/2.0/TLS 81.23.228.150:443;branch=z9hG4bK9a88.2adb9c55.0
<br class="">   Via: SIP/2.0/UDP 81.23.228.129:5060;branch=z9hG4bK9a88.40d983a7.0
<br class="">   Via: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bK9a88.1adb9c55.0
<br class="">   Via: SIP/2.0/UDP 85.17.186.7:5060;branch=z9hG4bK9a88.80ff70a4.0;i=62a32
<br class="">   Via: SIP/2.0/TCP 
81.23.228.160:57446;rport=55026;received=81.23.228.160;branch=z9hG4bKKBNcH3r9B48Xr
<br class="">   Max-Forwards: 66
<br class="">   From: "Victor" 
<a class="gmail-moz-txt-link-rfc2396E"><sip:rCodzvTEQK+uupE5QSBudQ@guest.sip2sip.info></a>;tag=KKQaHvjDvKecF
<br class="">   To: <a class="gmail-moz-txt-link-rfc2396E"><sip:13579@sip2sip.info></a>
<br class="">   Call-ID: f45c2a4a-d381-1236-1298-047d7b87609e
<br class="">   CSeq: 933861599 INVITE
<br class="">   Contact: <a class="gmail-moz-txt-link-rfc2396E"><sip:rCodzvTEQK+uupE5QSBudQ@81.23.228.160:55026></a>
<br class="">   User-Agent: SylkRTC (Firefox 60.0 on Windows 8.1)
<br class="">   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, UPDATE
<br class="">   Content-Type: application/sdp
<br class="">   Content-Disposition: session
<br class="">   Content-Length: 474
<br class="">
<br class="">   v=0
<br class="">   o=mozilla...THIS_IS_SDPARTA-60.0 3887687583368393798 
5225707675845380188 IN IP4 81.23.228.160
<br class="">   s=-
<br class="">   t=0 0
<br class="">   a=sendrecv
<br class="">   m=audio 54672 RTP/AVP 109 9 0 8 101
<br class="">   c=IN IP4 81.23.228.129
<br class="">   a=rtpmap:109 opus/48000/2
<br class="">   a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
<br class="">   a=rtpmap:9 G722/8000/1
<br class="">   a=rtpmap:0 PCMU/8000
<br class="">   a=rtpmap:8 PCMA/8000
<br class="">   a=rtpmap:101 telephone-event/8000
<br class="">   a=fmtp:101 0-15
<br class="">   a=crypto:1 AES_CM_128_HMAC_SHA1_80 
inline:WIsk0UoOzvahjfdFEDDgAVd5hXFmUnUpvBoPK1eY
<br class="">
<br class="">In Freeswitch debug I see the correct local SDP:
<br class="">
<br class="">[DEBUG] mod_sofia.c:850 Local SDP 
<a class="gmail-moz-txt-link-abbreviated" href="mailto:sofia/sip2sip/rCodzvTEQK+uupE5QSBudQ@guest.sip2sip.info">sofia/sip2sip/rCodzvTEQK+uupE5QSBudQ@guest.sip2sip.info</a>:
<br class="">v=0
<br class="">o=FreeSWITCH 1526429009 1526429010 IN IP4 <my_IP>
<br class="">s=FreeSWITCH
<br class="">c=IN IP4 <my_IP>
<br class="">t=0 0
<br class="">m=audio 28590 RTP/SAVP 8 101
<br class="">a=rtpmap:8 PCMA/8000
<br class="">a=rtpmap:101 telephone-event/8000
<br class="">a=fmtp:101 0-16
<br class="">a=ptime:20
<br class="">a=sendrecv
<br class="">a=crypto:1 AES_CM_128_HMAC_SHA1_80 
inline:7MKm6yBppNSDw1IJDgyl0a2xkkvmashJVyTACq89
<br class="">
<br class="">but in siptrace I see that really Freeswitch sends this strange SDP (and 
nothing else):
<br class="">
<br class="">send 1529 bytes to tls/[81.23.228.150]:443 at 07:59:59.082373:
<br class="">------------------------------------------------------------------------
<br class="">   SIP/2.0 200 OK
<br class="">   Via: SIP/2.0/TLS 
81.23.228.150:443;branch=z9hG4bK9a88.2adb9c55.0;rport=443
<br class="">   Via: SIP/2.0/UDP 81.23.228.129:5060;branch=z9hG4bK9a88.40d983a7.0
<br class="">   Via: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bK9a88.1adb9c55.0
<br class="">   Via: SIP/2.0/UDP 85.17.186.7:5060;branch=z9hG4bK9a88.80ff70a4.0;i=62a32
<br class="">   Via: SIP/2.0/TCP 
81.23.228.160:57446;rport=55026;received=81.23.228.160;branch=z9hG4bKKBNcH3r9B48Xr
<br class="">   Record-Route: 
<a class="gmail-moz-txt-link-rfc2396E"><sip:81.23.228.150:443;transport=tls;r2=on;lr;ftag=KKQaHvjDvKecF;did=f94.1a4c1615></a>
<br class="">   Record-Route: 
<a class="gmail-moz-txt-link-rfc2396E"><sip:81.23.228.150;r2=on;lr;ftag=KKQaHvjDvKecF;did=f94.1a4c1615></a>
<br class="">   Record-Route: <a class="gmail-moz-txt-link-rfc2396E"><sip:81.23.228.129;lr;ftag=KKQaHvjDvKecF;did=f94.5418aa17></a>
<br class="">   Record-Route: <a class="gmail-moz-txt-link-rfc2396E"><sip:81.23.228.150;lr;ftag=KKQaHvjDvKecF></a>
<br class="">   Record-Route: <a class="gmail-moz-txt-link-rfc2396E"><sip:85.17.186.7;r2=on;lr;ftag=KKQaHvjDvKecF></a>
<br class="">   Record-Route: 
<a class="gmail-moz-txt-link-rfc2396E"><sip:85.17.186.7;transport=tcp;r2=on;lr;ftag=KKQaHvjDvKecF></a>
<br class="">   From: "Victor" 
<a class="gmail-moz-txt-link-rfc2396E"><sip:rCodzvTEQK+uupE5QSBudQ@guest.sip2sip.info></a>;tag=KKQaHvjDvKecF
<br class="">   To: <a class="gmail-moz-txt-link-rfc2396E"><sip:13579@sip2sip.info></a>;tag=p8SyjjgjH5HZB
<br class="">   Call-ID: f45c2a4a-d381-1236-1298-047d7b87609e
<br class="">   CSeq: 933861599 INVITE
<br class="">   Contact: <<a class="gmail-moz-txt-link-freetext">sip:13579@</a><my_IP>:5061;transport=tls>
<br class="">   User-Agent: Freeswitch
<br class="">   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, 
REGISTER, REFER, NOTIFY
<br class="">   Supported: timer, outbound, path, replaces
<br class="">   Allow-Events: talk, hold, conference, refer
<br class="">   Content-Type: application/sdp
<br class="">   Content-Disposition: session
<br class="">   Content-Length: 129
<br class="">
<br class="">   v=0
<br class="">   o=FreeSWITCH 1526429009 1526429010 IN IP4 <my_IP>
<br class="">   s=FreeSWITCH
<br class="">   c=IN IP4 <my_IP>
<br class="">   t=0 0
<br class="">   m=audio 0 RTP/AVP 19
<br class="">
<br class="">
<br class="">Bearing in mind that sip2sip includes a=crypto attribute  in RTP/AVP
<br class="">
<br class="">I added this string in dialplan:
<br class="">
<br class=""><action application="set" data="rtp_allow_crypto_in_avp=true"/>
<br class="">
<br class="">othewise I always received  [ERR] switch_core_media.c:4316 a=crypto in 
RTP/AVP, refer to rfc3711
<br class="">[NOTICE] switch_channel.c:3812 Hangup 
<a class="gmail-moz-txt-link-abbreviated" href="mailto:sofia/sip2sip/wFxwmegJTLu4n6kK8DpXjw@guest.sip2sip.info">sofia/sip2sip/wFxwmegJTLu4n6kK8DpXjw@guest.sip2sip.info</a> [CS_EXECUTE] 
[INCOMPATIBLE_DESTINATION]
<br class="">
<br class="">But now Freeswitch doesn't send the correct  SDP with RTP/SAVP (I see it 
just in debug).
<br class="">
<br class="">FreeSWITCH Version 1.6.19+git~20171120T163416Z~b1b21d0695~64bit (git 
b1b21d0 2017-11-20 16:34:16Z 64bit)
<br class="">
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>