<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">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><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">С уважением,<br>Владислав Захожай<br><br></div></div>
</div>