<div dir="ltr"><div><div>Hi,<br><br></div>Could you please share with us logs from console when you disabled media encryption? Do you get same error?<br><br></div>With kind regards,<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-14 16:16 GMT+02:00 Стас Тельнов <span dir="ltr">&lt;<a href="mailto:stasan89@gmail.com" target="_blank">stasan89@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Jurijs,<br></div><div><br></div>Yes, I see. <span lang="en"><span>I</span> <span>tried disabling</span> <span>rtp_secure_media param</span></span>,<span lang="en"><span> but</span> <span>it does not solve</span> <span>the problem. <br></span></span></div><span lang="en"><span><br></span></span><div><div><div><span></span></div></div><div><div> </div><span lang="en"><span><br></span></span><span lang="en"><span></span></span></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-14 17:04 GMT+03:00 Jurijs Ivolga <span dir="ltr">&lt;<a href="mailto:jurij.ivo@gmail.com" target="_blank">jurij.ivo@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hi Stas,<br><br></div>It looks like freeswitch do not like that you do not have media encryption on:<span><br><br> [WARNING] switch_core_media.c:4234 Crypto not negotiated but required.<br><br></span></div>Not sure, but I would recommend to take a look on your external sofia profile and look for media encryption.<br><br></div>With kind regards,<br></div><br clear="all"><div><div><div dir="ltr">Jurijs<br></div></div></div>
<div class="gmail_extra"><br><div class="gmail_quote"><div><div>2016-03-14 9:23 GMT+02:00 Стас Тельнов <span dir="ltr">&lt;<a href="mailto:stasan89@gmail.com" target="_blank">stasan89@gmail.com</a>&gt;</span>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr"><div>Hello.<br>I have had difficulties at control of the opensips and freeswitch connective. The task is: to organize voip-conference between mobile application users through our opensips server or between mobile application users with addition of a call to the city line.<br><br>Sip and freeswitch servers are on amazon ec2 each. Physical servers are different.<br>Firstly, I test the opportunity to call to freeswitch and to receive the answer. From the part of opensips everything works, as far as I can judge, correctly. A problem appears at a call with use of freeswitch.<br>In particular for tests I call on number 5000 through Zoiper . In reply I receive the mistake:<br>488 INCOMPATIBLE_DESTINATION<br><br>Here is the text of freeswitch tracking data:<br>EXECUTE sofia/external/8@SIP_DOMAIN set(rtp_secure_media=true)<br>2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET sofia/external/8@SIP_DOMAIN [rtp_secure_media]=[true]<br>EXECUTE sofia/external/8@SIP_DOMAIN hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007)<br>EXECUTE sofia/external/8@SIP_DOMAINhash(insert/172.31.22.124-last_dial/8/5000)<br>EXECUTE sofia/external/8@SIP_DOMAIN hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007)<br>EXECUTE sofia/external/8@SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar 2016 02:54:02 -0400)<br>2016-03-14 02:54:02.731306 [DEBUG] switch_channel.c:1293 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 02:54:02 -0400]<br>EXECUTE sofia/external/8@SIP_DOMAIN answer()<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1]<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1]<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4216 Audio Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match<br>2016-03-14 02:54:02.731306 [WARNING] switch_core_media.c:4234 Crypto not negotiated but required.<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4492 No 2833 in SDP.  Disable 2833 dtmf and switch to INFO<br>2016-03-14 02:54:02.731306 [NOTICE] switch_channel.c:3806 Hangup sofia/external/8@SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:2796 sofia/external/8@SIP_DOMAIN skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@SIP_DOMAIN) State EXECUTE going to sleep<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@SIP_DOMAIN) Running State Change CS_HANGUP<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739 (sofia/external/8@SIP_DOMAIN) Callstate Change RINGING -&gt; HANGUP<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8@SIP_DOMAIN) State HANGUP<br>2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel sofia/external/8@SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION<br>2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 488<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:60 sofia/external/8@SIP_DOMAIN Standard HANGUP, cause: INCOMPATIBLE_DESTINATION<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8@SIP_DOMAIN) State HANGUP going to sleep<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508 (sofia/external/8@SIP_DOMAIN) State Change CS_HANGUP -&gt; CS_REPORTING<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@SIP_DOMAIN) Running State Change CS_REPORTING<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8@SIP_DOMAIN) State REPORTING<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104 sofia/external/8@SIP_DOMAIN Standard REPORTING, cause: INCOMPATIBLE_DESTINATION<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8@SIP_DOMAIN) State REPORTING going to sleep<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499 (sofia/external/8@SIP_DOMAIN) State Change CS_REPORTING -&gt; CS_DESTROY<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/external/8@SIP_DOMAIN) Locked, Waiting on external entities<br>2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/external/8@SIP_DOMAIN) Ended<br>2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/8@SIP_DOMAIN [CS_DESTROY]<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630 (sofia/external/8@SIP_DOMAIN) Running State Change CS_DESTROY<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8@SIP_DOMAIN) State DESTROY<br>2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341 sofia/external/8@SIP_DOMAIN SOFIA DESTROY<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111 sofia/external/8@SIP_DOMAIN Standard DESTROY<br>2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8@SIP_DOMAIN) State DESTROY going to sleep<br>Error in my_thread_global_end(): 1 threads didn&#39;t exit<br><br><br>In such a case I use the following configuration of freeswitch:<br></div>vars.xmp: <a href="http://pastebin.com/DijwsQ7j" target="_blank">http://pastebin.com/DijwsQ7j</a><br>modules.conf.xml: <a href="http://pastebin.com/PjeNgVkh" target="_blank">http://pastebin.com/PjeNgVkh</a><br><div><br>At the same time I use the following configuration of opensips: <a href="http://pastebin.com/49XpcGBj" target="_blank">http://pastebin.com/49XpcGBj</a><br><br></div><div>Whats i doing incorrect?<br></div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>