<div dir="ltr">Re internal.xml and external.xml - yes<div><br></div><div>There&#39;s nothing special about the internal/external profiles by the way. They&#39;re just an example configuration. You can have as many or as few as you like.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 31 March 2015 at 16:11, T Fred Farmington <span dir="ltr">&lt;<a href="mailto:tfred31@yahoo.com" target="_blank">tfred31@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for your reply.<br>
<br>
OK, but pardon my ignorance, but how do I do that?<br>
<br>
I am guessing here, but does that mean that for the &#39;inside&#39; IP (192.168.nn.nn) I use the    conf\sip_profiles\internal.xml  file and define   sip_ip and rtp_ip  specifically -- not using  the $$(internal_etc...) references?<br>
If so, OK<br>
<br>
But how do I define the &#39;outside&#39; (107.1.nnn.nn) sip?<br>
Do I do it in the    conf\sip_profiles\external.xml    file?<br>
And, if so, what do I put there?<br>
<br>
Thanks,<br>
TF<br>
<br>
<br>
<br>
<br>
--------------------------------------------<br>
<span class="">On Tue, 3/31/15, Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt; wrote:<br>
<br>
 Subject: Re: [Freeswitch-users] Question re: local_ip_v4<br>
 To: &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
</span> Date: Tuesday, March 31, 2015, 7:21 AM<br>
<div><div class="h5"><br>
 You want<br>
 to configure 2 sofia profiles, one listening on each<br>
 IP.<br>
 It might be simpler to<br>
 define the IPs within the profiles rather than in<br>
 vars.conf.xml (where you&#39;re just setting variables that<br>
 are referenced elsewhere).<br>
<br>
 On 30 March 2015 at 21:57,<br>
 T Fred Farmington &lt;<a href="mailto:tfred31@yahoo.com">tfred31@yahoo.com</a>&gt;<br>
 wrote:<br>
 We have 2<br>
 network cards on our FS server.<br>
<br>
 *  One IP goes to the &#39;outside&#39; world  (IP =<br>
 107.1.nn.nn)<br>
<br>
 *  And the other IP goes to the &#39;inside&#39; world <br>
 (IP = 192.168.nn.nn)<br>
<br>
<br>
<br>
 In spite of making suggested changes to   vars.xml <br>
  when FS launches it sets itself up to &#39;listen&#39; to<br>
 the &#39;outside&#39; world (IP = 107 etc.)<br>
<br>
 But the result of that is that none of the in-house SIP<br>
 phones can register to it.<br>
<br>
<br>
<br>
 The changes I made (following suggestions found on the<br>
 web)  to   vars.xml   are as follows:<br>
<br>
    New entry:<br>
<br>
         &lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
 data=&quot;local_ip_v4=192.168.nn.nn&quot;/&gt;   &lt;!--<br>
 where nn values are &#39;real&#39; values --&gt;<br>
<br>
    This new line was entered immediately before<br>
<br>
        &lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
 data=&quot;domain=$${local_ip_v4}&quot;/&gt;<br>
<br>
<br>
<br>
 Additionally another web reference suggested that the<br>
 following 2 lines be added near the bottom of <br>
  vars.xml<br>
<br>
       &lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
 data=&quot;internal_sip_ip=192.168.nn.nn&quot;/&gt;<br>
<br>
       &lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
 data=&quot;internal_rtp_ip=192.168.nn.nn&quot;/&gt;<br>
<br>
<br>
<br>
 PROBLEM:   None of that seems to work.<br>
<br>
                     Even after not only ReStarting<br>
 the FS Service, but also after ReStarting the FS Server<br>
 itself and then Starting the FS Service<br>
<br>
<br>
<br>
 When through FS_CLI  I run:    sofia  status   <br>
  and/or   sofia status profile internal      both of<br>
 them show the 107 IP instead of the 192 IP<br>
<br>
 Those changes have not caused FS to &#39;see&#39; and<br>
 &#39;listen to&#39; the 192  port.<br>
<br>
<br>
<br>
 What am I doing wrong?<br>
<br>
<br>
<br>
 Your advice/suggestions would be greatly appreciated.<br>
<br>
<br>
<br>
 Thanks<br>
<br>
 TF<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
 _________________________________________________________________________<br>
<br>
 Professional FreeSWITCH Consulting Services:<br>
<br>
 <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<br>
 <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
<br>
<br>
 Official FreeSWITCH Sites<br>
<br>
 <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
 <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<br>
 <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
<br>
<br>
 FreeSWITCH-users mailing list<br>
<br>
 <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<br>
 <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
<br>
 UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<br>
 <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
</div></div> -----Inline Attachment Follows-----<br>
<div class="HOEnZb"><div class="h5"><br>
 _________________________________________________________________________<br>
 Professional FreeSWITCH Consulting Services:<br>
<br>
 <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
 <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
 Official FreeSWITCH Sites<br>
 <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
 <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
 <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
 FreeSWITCH-users mailing<br>
 list<br>
 <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
 <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
 UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
 <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>