[Freeswitch-users] Audio issue in Amazon EC2 server

Giovanni Maruzzelli gmaruzz at gmail.com
Sat Jul 1 00:42:18 UTC 2017


On 1 July 2017 at 01:33, Ketan Kothari <kkothari157 at gmail.com> wrote:

> Hello Giovanni,
>
> Here is my "sofia status profile external"
>
> freeswitch@> sofia status profile external
> ============================================================
> =====================================
> Name                 external
> Domain Name          N/A
> Auto-NAT             false
> DBName               sofia_reg_external
> Pres Hosts           192.168.1.101
> Dialplan             XML
> Context              default
> Challenge Realm      auto_from
> RTP-IP               192.168.1.101
> Ext-RTP-IP          128.22.54.32
> SIP-IP               192.168.1.101
> Ext-SIP-IP           128.22.54.32
> URL                  sip:mod_sofia at 128.22.54.32:5060
> BIND-URL             sip:mod_sofia at 128.22.54.32:5060;maddr=192.168.1.101;
> transport=udp,tcp
> HOLD-MUSIC           local_stream://moh
> OUTBOUND-PROXY       N/A
> CODECS IN            PCMA,PCMU
> CODECS OUT           PCMA,PCMU
> TEL-EVENT            101
> DTMF-MODE            rfc2833
> CNG                  13
> SESSION-TO           0
> MAX-DIALOG           0
> NOMEDIA              false
> LATE-NEG             false
> PROXY-MEDIA          false
> ZRTP-PASSTHRU        false
> AGGRESSIVENAT        true
> CALLS-IN             2
> FAILED-CALLS-IN      0
> CALLS-OUT            2
> FAILED-CALLS-OUT     0
> REGISTRATIONS        0
>
> ===============
>
>
>
seems you have altered the default XML configuration. Can you reinstall the
default configuration, without making any change, then only edit the two
sip profiles for the external addresses?

Also, how is your gateway definition?

What is the result of "sofia status"?






>
> On Sat, Jul 1, 2017 at 4:23 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
> wrote:
>
>>
>>
>> On 1 July 2017 at 00:28, Ketan Kothari <kkothari157 at gmail.com> wrote:
>>
>>> Hello Giovanni,
>>>
>>> Yeah i'm sure. I have checked in sip-profile ext-rtp-ip and ext-sip-ip
>>> both are set to public address but still while calling freeswitch sending
>>> local ip to gateway side.
>>>
>>
>> you edited "external.xml" as well? And restarted?
>>
>> can you post here the result of:
>>
>> "sofia status"
>>
>> and
>>
>> "sofia status profile external"
>>
>> from fs_cli?
>>
>>  -giovanni
>>
>>
>>>
>>> On Sat, Jul 1, 2017 at 3:50 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> On 30 June 2017 at 23:53, Ketan Kothari <kkothari157 at gmail.com> wrote:
>>>>
>>>>> Hello Giovanni,
>>>>>
>>>>> I have already set same in sip-profile but still getting same issue
>>>>> which mention.
>>>>>
>>>>
>>>> not possible.
>>>> check again, you must edit "/usr/local/freeswitch/conf/sip_profiles/internal.xml"
>>>> and "external.xml" files, then restart freeswitch
>>>>
>>>>
>>>> Also, is a very strange private address 192.168.1.101 in AWS... Are you
>>>> sure?
>>>>
>>>> -giovanni
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Jun 29, 2017 at 6:46 PM, Giovanni Maruzzelli <
>>>>> gmaruzz at gmail.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On 29 June 2017 at 15:10, Ketan Kothari <kkothari157 at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I have installed freeswitch on Amazon EC2 server and i followed *https://freeswitch.org/confluence/display/FREESWITCH/Amazon+EC2
>>>>>>> <https://freeswitch.org/confluence/display/FREESWITCH/Amazon+EC2>*
>>>>>>>
>>>>>>> Once we tried to call outbound call getting *no audio in both side*
>>>>>>> also FreeSWITCH passing my server local IP as RTP-IP  to gateway side,
>>>>>>>
>>>>>>
>>>>>>
>>>>>> set your ext-rtp-ip and ext-sip-ip in all your sip_profiles to the
>>>>>> EXTERNAL (public) ip address of AWS instance
>>>>>>
>>>>>> -giovanni
>>>>>>
>>>>>>
>>>>>> ____________________________________________________________
>>>>>> _____________
>>>>>> 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/free
>>>>>> switch-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/free
>>>>> switch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Sincerely,
>>>>
>>>> Giovanni Maruzzelli
>>>> OpenTelecom.IT
>>>> cell: +39 347 266 56 18
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> 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/free
>>>> switch-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
>>>
>>
>>
>>
>> --
>>
>> Sincerely,
>>
>> Giovanni Maruzzelli
>> OpenTelecom.IT
>> cell: +39 347 266 56 18
>>
>> _________________________________________________________________________
>> 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
>



-- 

Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170701/3994e13b/attachment-0001.html>


More information about the FreeSWITCH-users mailing list