Hello. 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. Sip and freeswitch servers are on amazon ec2 each. Physical servers are different. 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. In particular for tests I call on number 5000 through Zoiper . In reply I receive the mistake: 488 INCOMPATIBLE_DESTINATION Here is the text of freeswitch tracking data: EXECUTE sofia/external/8@SIP_DOMAIN set(rtp_secure_media=true) 2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET sofia/external/8@SIP_DOMAIN [rtp_secure_media]=[true] EXECUTE sofia/external/8@SIP_DOMAIN hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) EXECUTE sofia/external/8@SIP_DOMAINhash (insert/172.31.22.124-last_dial/8/5000) EXECUTE sofia/external/8@SIP_DOMAIN hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) EXECUTE sofia/external/8@SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar 2016 02:54:02 -0400) 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] EXECUTE sofia/external/8@SIP_DOMAIN answer() 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] 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] 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] 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] 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 2016-03-14 02:54:02.731306 [WARNING] switch_core_media.c:4234 Crypto not negotiated but required. 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4492 No 2833 in SDP. Disable 2833 dtmf and switch to INFO 2016-03-14 02:54:02.731306 [NOTICE] switch_channel.c:3806 Hangup sofia/external/8@SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] 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) 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@SIP_DOMAIN) State EXECUTE going to sleep 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@SIP_DOMAIN) Running State Change CS_HANGUP 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739 (sofia/external/8@SIP_DOMAIN) Callstate Change RINGING -> HANGUP 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8@SIP_DOMAIN) State HANGUP 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel sofia/external/8@SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 488 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:60 sofia/external/8@SIP_DOMAIN Standard HANGUP, cause: INCOMPATIBLE_DESTINATION 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8@SIP_DOMAIN) State HANGUP going to sleep 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508 (sofia/external/8@SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@SIP_DOMAIN) Running State Change CS_REPORTING 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8@SIP_DOMAIN) State REPORTING 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104 sofia/external/8@SIP_DOMAIN Standard REPORTING, cause: INCOMPATIBLE_DESTINATION 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8@SIP_DOMAIN) State REPORTING going to sleep 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499 (sofia/external/8@SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY 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 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/external/8@SIP_DOMAIN) Ended 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/8@SIP_DOMAIN [CS_DESTROY] 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630 (sofia/external/8@SIP_DOMAIN) Running State Change CS_DESTROY 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8@SIP_DOMAIN) State DESTROY 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341 sofia/external/8@SIP_DOMAIN SOFIA DESTROY 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111 sofia/external/8@SIP_DOMAIN Standard DESTROY 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8@SIP_DOMAIN) State DESTROY going to sleep Error in my_thread_global_end(): 1 threads didn't exit In such a case I use the following configuration of freeswitch: vars.xmp: http://pastebin.com/DijwsQ7j modules.conf.xml: http://pastebin.com/PjeNgVkh At the same time I use the following configuration of opensips: http://pastebin.com/49XpcGBj Whats i doing incorrect?