Thanks for the detailed response Michael, it certainly helped a lot.<br><br>
<br><br><div class="gmail_quote">2009/12/16 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Dec 16, 2009 at 4:37 AM, Costa Zikalala <span dir="ltr">&lt;<a href="mailto:costa.zikalala@gmail.com" target="_blank">costa.zikalala@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All<div><br></div><div>I understand that to connect to a SIP Provider you have to (amongst other things) define a Gateway on the External Profile. </div><div>But some gateways may be defined on the Internal Profile. What kind of gateways would these be and what would be their purpose as most gateways are External?</div>




<div><br></div><div>Hope my question makes a bit of sense.</div><div><br></div></blockquote></div></div><div><br>This is a good question. First, remember that the profile names &quot;internal&quot; and &quot;external&quot; are just labels that try to give you a basic idea of what you might use them for. The external profile is generally used for outbound registrations, particularly when the FS server is behind NAT. If your FS server isn&#39;t behind NAT then you may want to use the internal profile for outbound registrations, although we recommend that your outbound registrations still be in a profile different than your internal profile where local phones are registering. In these cases it&#39;s fine just to remove external.xml, make a copy of internal.xml to something like external-nonat.xml, and then edit it so that it uses ports 5080 and 5081. For the record here&#39;s what I did for a user just last week:<br>


<br>Old:<br>&lt;profile name=&quot;internal&quot;/&gt;<br>&lt;param name=&quot;sip-port&quot; value=&quot;$${internal_sip_port}&quot;/&gt;<br>&lt;param name=&quot;tls&quot; value=&quot;$${internal_ssl_enable}&quot;/&gt;                                                                                                         <br>


&lt;param name=&quot;tls-bind-params&quot; value=&quot;transport=tls&quot;/&gt;                                                                                                       <br>&lt;param name=&quot;tls-sip-port&quot; value=&quot;$${internal_tls_port}&quot;/&gt;                                                                                                  <br>


&lt;param name=&quot;tls-cert-dir&quot; value=&quot;$${internal_ssl_dir}&quot;/&gt;                                                                                                   <br>&lt;param name=&quot;tls-version&quot; value=&quot;$${sip_tls_version}&quot;/&gt;  <br>


<br>New:<br>&lt;profile name=&quot;customer&quot;/&gt;<br>
&lt;param name=&quot;sip-port&quot; value=&quot;$${external_sip_port}&quot;/&gt;<br>
&lt;param name=&quot;tls&quot;
value=&quot;$${external_ssl_enable}&quot;/&gt;                                                                                                        
<br>&lt;param name=&quot;tls-sip-port&quot;
value=&quot;$${external_tls_port}&quot;/&gt;                                                                                                 
<br>
&lt;param name=&quot;tls-cert-dir&quot;
value=&quot;$${external_ssl_dir}&quot;/&gt;                                                                                                  
<br></div></div><br>Feel free to tinker and remember that if you break something you can just wipe your conf directory and just run &quot;make samples&quot; again and you&#39;ll have a brand new set of default configs. <br>


<br>Enjoy!<br><font color="#888888">-MC<br>
</font><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>
<br></blockquote></div><br>