<div dir="ltr">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.<div><br></div><div>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.</div><div><br></div><div>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).</div><div><br></div><div>I understand the "domain" should be fairly fixed, so I set that to my "phone" network:</div><div><br></div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span><X-PRE-PROCESS cmd="set" data="phone_ip_v4=192.168.3.2"/></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span><X-PRE-PROCESS cmd="set" data="domain=$${phone_ip_v4}"/></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span><X-PRE-PROCESS cmd="set" data="domain_name=eastwest"/></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p></div><div>I defined an sofia profile named "phone" with these lines:</div><div><br></div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures"><param name="rtp-ip" value="$${phone_ip_v4}"/></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures"><param name="sip-ip" value="$${phone_ip_v4}"/></span><br></p></div><div><br></div><div>I also used the default "internal" profile, in case an SIP device is hooked up to the main LAN, but that's not important.</div><div>However, a "sofia status" shows this:</div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>Name<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> <span class="gmail-Apple-converted-space"> </span>Type<span class="gmail-Apple-tab-span" style="white-space:pre"> </span><span class="gmail-Apple-converted-space"> </span>Data<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>State</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">=================================================================================================</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>external-ipv6<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>profile<span class="gmail-Apple-tab-span" style="white-space:pre"> </span><span class="gmail-Apple-converted-space"> </span>sip:mod_sofia@[2601:647:4802:9220:c816:30ae:6a9a:d191]:5080<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>RUNNING (0)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>192.168.3.2<span class="gmail-Apple-tab-span" style="white-space:pre"> </span><span class="gmail-Apple-converted-space"> </span>alias<span class="gmail-Apple-tab-span" style="white-space:pre"> </span><span class="gmail-Apple-converted-space"> </span>internal<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ALIASED</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>external<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>profile<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> <span class="gmail-Apple-converted-space"> </span><a href="http://sip:mod_sofia@67.164.101.201:5080">sip:mod_sofia@67.164.101.201:5080</a><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>RUNNING (0)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>external::sip2sip<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>gateway<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> <span class="gmail-Apple-converted-space"> </span><a href="mailto:sip%3Aeastwest@sip2sip.info">sip:eastwest@sip2sip.info</a><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>REGED</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>external::flowroute<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>gateway<span class="gmail-Apple-tab-span" style="white-space:pre"> </span><span class="gmail-Apple-converted-space"> </span><a href="mailto:sip%3A6509889800@us-west-or.sip-flowroute.com">sip:6509889800@us-west-or.sip-flowroute.com</a><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>NOREG</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>phone<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>profile<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> <span class="gmail-Apple-converted-space"> </span><a href="http://sip:mod_sofia@10.0.0.167:5060">sip:mod_sofia@10.0.0.167:5060</a><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>RUNNING (0)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>internal-ipv6<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>profile<span class="gmail-Apple-tab-span" style="white-space:pre"> </span><span class="gmail-Apple-converted-space"> </span>sip:mod_sofia@[2601:647:4802:9220:c816:30ae:6a9a:d191]:5060<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>RUNNING (0)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>internal<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>profile<span class="gmail-Apple-tab-span" style="white-space:pre"> </span> <span class="gmail-Apple-converted-space"> </span><a href="http://sip:mod_sofia@67.164.101.201:5060">sip:mod_sofia@67.164.101.201:5060</a><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>RUNNING (0)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">=================================================================================================</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">5 profiles 1 alias</span></p></div><div><br></div><div>Why does the "phone" profile have "<a href="http://sip:mod_sofia@10.0.0.167:5060">sip:mod_sofia@10.0.0.167:5060</a>". Shouldn't that have the 192.168.3.2 address? And why isn't my phone registering?</div><div><br></div><div>-- </div><div>Steve</div></div>