Hi guys, I'm going to use FreeSWITH with 2 SIP Profiles, called internal and external.
When calls come to external profile (port 5080), I'm dialing out a pre-defined gateway with bridge
<action application="bridge" data="sofia/gateway/${gateway}/${destination_number}"/>Call is normal, except FreeSWITCH used internal profile (port 5060) contacting my gateway.
I saw that internal profile is listed before external profile in
profiles configuration, so I guess internal is considered higher priority or default. Calls come to internal profile have normal behavior, because FS use internal for dialing out.
For some reasons, I'm not using user directory or REGISTER at all.