Yes, I want to use FS as a registar.I already have this working in an asterisk server and want to test FS as a replacement.18 servers share a single sip provider and FS will act as a gateway.I have seen example.com.xml which is a user and have a gateway inside its definition.What I don't get is why it is in external profile.By the way, if I won't register in a sip provider, should I declare it as a gateway?Thanks______________________________Em 9 de dez de 2016 20:47, "Vladyslav Zakhozhai" <v.zakhozhai@gmail.com> escreveu:Hi Valter,You are right that you need to use directory rather than sip_profiles. Gateways in sip profiles are gateways which freeswitch is registered against.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.2016-12-09 20:01 GMT+02:00 Valter Nogueira <valter@fastway.com.br>:I would like to set up FS to run as a small SBC.Profile "internal" (nic em1) would be source for N asterisks that will register in FS. Some Asterisks should be trusted by IP (acl)Profile "external" (nic em2) would connect in an SIP Provider.So call coming from internal would routed to external gateway and vice-versa in dialplan.To mimic external profile I added in internal
<gateways>
<X-PRE-PROCESS cmd="include" data="internal/*.xml"/>
</gateways>Asterisks are unable to register. I guess that the problem is internal gateway should be in directory instead of in sip_profile.Thanks,Valter
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org--С уважением,
Владислав Захожай
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org______________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org