There is a bind-params option in the config you could try setting to "transport=tls" and see if that works.<br><br><br><div class="gmail_quote">On Tue, May 20, 2008 at 8:16 AM, Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Well doing so is not possible but you can regexp in the dialplan on<br>
the transport and reject calls that aren't coming in with the<br>
transport=tls<br>
<br>
/b<br>
<div><div></div><div class="Wj3C7c"><br>
On May 20, 2008, at 7:00 AM, Krzysiek wrote:<br>
<br>
> Hi there<br>
><br>
> Is it possible in Freeswitch to disable default profile on port 5060<br>
> and<br>
> leave only tls profile on port 5061, so Freeswitch won't accept<br>
> registrations other then through tls?<br>
> If i'm tring to do something stupid, feel free to correct me :)<br>
><br>
> Now I have something like this:<br>
><br>
> "sofia status<br>
> API CALL [sofia(status)] output:<br>
> Name Type Data State<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> ======================================================================<br>
> outbound profile <a href="http://sip:mod_sofia@192.168.1.2:5080" target="_blank">sip:mod_sofia@192.168.1.2:5080</a><br>
> RUNNING<br>
> (0)<br>
> nat profile <a href="http://sip:mod_sofia@192.168.1.2:5070" target="_blank">sip:mod_sofia@192.168.1.2:5070</a><br>
> RUNNING (0)<br>
> default profile <a href="http://sip:mod_sofia@192.168.1.2:5060" target="_blank">sip:mod_sofia@192.168.1.2:5060</a><br>
> RUNNING (0)<br>
> default profile <a href="http://sip:mod_sofia@192.168.1.2:5061" target="_blank">sip:mod_sofia@192.168.1.2:5061</a><br>
> RUNNING (0) (TLS)<br>
> <a href="http://192.168.1.2" target="_blank">192.168.1.2</a> alias default<br>
> ALIASED<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> =<br>
> ======================================================================<br>
> 3 profiles 1 alias<br>
> "<br>
> TIA<br>
> Chris<br>
><br>
><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>
</div></div><font color="#888888">Brian West<br>
<a href="mailto:sip%3Abrian@freeswitch.org">sip:brian@freeswitch.org</a><br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400