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 192.168.3.2.

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

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=192.168.3.2"/>

  <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 State

=================================================================================================

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

              192.168.3.2   alias                                   internal ALIASED

                 external profile         sip:mod_sofia@67.164.101.201:5080 RUNNING (0)

        external::sip2sip gateway                 sip:eastwest@sip2sip.info REGED

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

                    phone profile             sip:mod_sofia@10.0.0.167:5060 RUNNING (0)

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

                 internal profile         sip:mod_sofia@67.164.101.201:5060 RUNNING (0)

=================================================================================================

5 profiles 1 alias


Why does the "phone" profile have "sip:mod_sofia@10.0.0.167:5060". Shouldn't that have the 192.168.3.2 address? And why isn't my phone registering?

-- 
Steve