<div dir="auto">Yes, I want to use FS as a registar.<div dir="auto"><br></div><div dir="auto">I already have this working in an asterisk server and want to test FS as a replacement.</div><div dir="auto"><br></div><div dir="auto">18 servers share a single sip provider and FS will act as a gateway.</div><div dir="auto"><br></div><div dir="auto">I have seen example.com.xml which is a user and have a gateway inside its definition.</div><div dir="auto"><br></div><div dir="auto">What I don&#39;t get is why it is in external profile.</div><div dir="auto"><br></div><div dir="auto">By the way, if I won&#39;t register in a sip provider, should I declare it as a gateway?</div><div dir="auto"><br></div><div dir="auto">Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">Em 9 de dez de 2016 20:47, &quot;Vladyslav Zakhozhai&quot; &lt;<a href="mailto:v.zakhozhai@gmail.com">v.zakhozhai@gmail.com</a>&gt; escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Valter,<div><br></div><div>You are right that you need to use directory rather than sip_profiles. Gateways in sip profiles are gateways which freeswitch is registered against.</div><div><br></div><div>By the way do I correctly understand you that you want Asterisk servers to register against freeswitch, i.e. freeswitch is registrar? And also you always can see exact problem in freeswitch console and logs.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-09 20:01 GMT+02:00 Valter Nogueira <span dir="ltr">&lt;<a href="mailto:valter@fastway.com.br" target="_blank">valter@fastway.com.br</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I would like to set up FS to run as a small SBC.<br><br></div>Profile &quot;internal&quot; (nic em1) would be source for N asterisks that will register in FS. Some Asterisks should be trusted by IP (acl)<br><br></div><div>Profile &quot;external&quot; (nic em2) would connect in an SIP Provider.<br><br></div><div>So call coming from internal would routed to external gateway and vice-versa in dialplan.<br><br></div><div>To mimic external profile I added in internal<br><br>  &lt;gateways&gt;<br>    &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;internal/*.xml&quot;/&gt;<br>  &lt;/gateways&gt;<br><br></div><div>Asterisks are unable to register. I guess that the problem is internal gateway should be in directory instead of in sip_profile.<br><br></div><div>Thanks,<br><br></div><div>Valter<br></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-5997797930674806878gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">С уважением,<br>Владислав Захожай<br><br></div></div>
</div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div>