[Freeswitch-users] opensips+freeswitch on different amazon ec2 servers: 488 error
Стас Тельнов
stasan89 at gmail.com
Mon Mar 14 17:16:23 MSK 2016
Hi Jurijs,
Yes, I see. I tried disabling rtp_secure_media param, but it does not solve the
problem.
2016-03-14 17:04 GMT+03:00 Jurijs Ivolga <jurij.ivo at gmail.com>:
> Hi Stas,
>
> It looks like freeswitch do not like that you do not have media encryption
> on:
>
> [WARNING] switch_core_media.c:4234 Crypto not negotiated but required.
>
> Not sure, but I would recommend to take a look on your external sofia
> profile and look for media encryption.
>
> With kind regards,
>
> Jurijs
>
> 2016-03-14 9:23 GMT+02:00 Стас Тельнов <stasan89 at gmail.com>:
>
>> 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 at SIP_DOMAIN set(rtp_secure_media=true)
>> 2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET
>> sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[true]
>> EXECUTE sofia/external/8 at SIP_DOMAIN
>> hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007)
>> EXECUTE sofia/external/8 at SIP_DOMAINhash
>> (insert/172.31.22.124-last_dial/8/5000)
>> EXECUTE sofia/external/8 at SIP_DOMAIN
>> hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007)
>> EXECUTE sofia/external/8 at 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 at 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 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:2796
>> sofia/external/8 at 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 at SIP_DOMAIN) State EXECUTE going to sleep
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473
>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739
>> (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741
>> (sofia/external/8 at SIP_DOMAIN) State HANGUP
>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel
>> sofia/external/8 at 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 at SIP_DOMAIN Standard HANGUP, cause:
>> INCOMPATIBLE_DESTINATION
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741
>> (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508
>> (sofia/external/8 at 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 at SIP_DOMAIN) Running State Change CS_REPORTING
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827
>> (sofia/external/8 at SIP_DOMAIN) State REPORTING
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104
>> sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause:
>> INCOMPATIBLE_DESTINATION
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827
>> (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499
>> (sofia/external/8 at 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 at 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 at SIP_DOMAIN) Ended
>> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close
>> Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY]
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630
>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640
>> (sofia/external/8 at SIP_DOMAIN) State DESTROY
>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341
>> sofia/external/8 at SIP_DOMAIN SOFIA DESTROY
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111
>> sofia/external/8 at SIP_DOMAIN Standard DESTROY
>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640
>> (sofia/external/8 at 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?
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160314/0ff08f80/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list