[Freeswitch-users] New system: sofia is on wrong IP address

Steven Schoch schoch+freeswitch.org at xwin32.com
Tue Feb 23 21:01:03 UTC 2021

The last time I played with FreeSWITCH was 10 years ago, and now I'm
helping a local nonprofit retire their obsolete analog phone system.

I have a pbx system with 2 network cards: One dedicated to the phones,
plugs into a PoE switch. On that network, the pbx has a DHCP server for the
phones, as well as an FTP server for the Polycom SoundPoint IP 320 phones.
The IP address on that network is

Since I'm setting up the system here at home, the other network card is on
my Xfinity LAN, with an IP address of (via DHCP from the Comcast

I understand the "domain" should be fairly fixed, so I set that to my
"phone" network:

  <X-PRE-PROCESS cmd="set" data="phone_ip_v4="/>

  <X-PRE-PROCESS cmd="set" data="domain=$${phone_ip_v4}"/>

  <X-PRE-PROCESS cmd="set" data="domain_name=eastwest"/>

I defined an sofia profile named "phone" with these lines:

    <param name="rtp-ip" value="$${phone_ip_v4}"/>

    <param name="sip-ip" value="$${phone_ip_v4}"/>

I also used the default "internal" profile, in case an SIP device is hooked
up to the main LAN, but that's not important.
However, a "sofia status" shows this:

                     Name   Type                                       Data


            external-ipv6 profile   sip:mod_sofia@
[2601:647:4802:9220:c816:30ae:6a9a:d191]:5080 RUNNING (0)

       alias                                   internal

                 external profile
sip:mod_sofia at RUNNING

        external::sip2sip gateway                 sip:eastwest at sip2sip.info

      external::flowroute gateway
sip:6509889800 at us-west-or.sip-flowroute.com NOREG

                    phone profile
sip:mod_sofia at RUNNING

            internal-ipv6 profile   sip:mod_sofia@
[2601:647:4802:9220:c816:30ae:6a9a:d191]:5060 RUNNING (0)

                 internal profile
sip:mod_sofia at RUNNING


5 profiles 1 alias

Why does the "phone" profile have "sip:mod_sofia at".
Shouldn't that have the address? And why isn't my phone

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210223/85b2e09a/attachment.html>

More information about the FreeSWITCH-users mailing list