Setting up a freeswitch server in Google cloud compute

I'm trying to set up a freeswitch server on google cloud compute (ubuntu 14.04), although it works fine for me locally. I seem to be getting the following error when I run a freeswitch server on Google Cloud Compute. Can anyone please explain?

2015-06-11 05:40:32.001508 [ERR] sofia.c:2853 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]
:5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2015-06-11 05:40:32.001508 [ERR] sofia.c:2853 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]
:5080;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2015-06-11 05:40:37.001491 [ERR] sofia.c:2853 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]
:5060;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2015-06-11 05:40:37.001491 [ERR] sofia.c:2863 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]
:5060;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.
2015-06-11 05:40:37.001491 [ERR] sofia.c:2853 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]
:5080;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2015-06-11 05:40:37.001491 [ERR] sofia.c:2863 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]
:5080;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.

      

+3


source to share


1 answer


I found the answer for this myself http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

So this issue is related to ipv6. Since google didn't provide ipv6 I had to disable ipv6 in freeswitch

In the conf / sip_profiles directory you will find the ipv6 related files,

    abcd@instance-1:/usr/local/freeswitch/conf/sip_profiles$ ls
    external  external-ipv6  external-ipv6.xml  external.xml  internal-ipv6.xml  internal.xml

      

To disable ipv6 in freeswitch we need to rename something like external-ipv6.xml.inactive or we can move / delete these files.

But make sure that you just rename / delete files / folders in respect of the ipv6, so here I deleted files external-ipv6

, internal-ipv6.xml

,external-ipv6.xml



And then restart the Freeswitch server

EDIT:

BEFORE:

# ls
external  external-ipv6  external-ipv6.xml.inactive  external.xml  internal-ipv6.xml  internal.xml

      

AFTER:

# ls
external  external-ipv6.inactive  external-ipv6.xml.inactive  external.xml  internal-ipv6.xml.inactive  internal.xml

      

+5


source







All Articles