There is a bind-params option in the config you could try setting to &quot;transport=tls&quot; and see if that works.<br><br><br><div class="gmail_quote">On Tue, May 20, 2008 at 8:16 AM, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt; 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&#39;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>
&gt; Hi there<br>
&gt;<br>
&gt; Is it possible in Freeswitch to disable default profile on port 5060<br>
&gt; and<br>
&gt; leave only tls profile on port 5061, so Freeswitch won&#39;t accept<br>
&gt; registrations other then through tls?<br>
&gt; If i&#39;m tring to do something stupid, feel free to correct me :)<br>
&gt;<br>
&gt; Now I have something like this:<br>
&gt;<br>
&gt; &quot;sofia status<br>
&gt; API CALL [sofia(status)] output:<br>
&gt; Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Data State<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; ======================================================================<br>
&gt; outbound &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; <a href="http://sip:mod_sofia@192.168.1.2:5080" target="_blank">sip:mod_sofia@192.168.1.2:5080</a><br>
&gt; RUNNING<br>
&gt; (0)<br>
&gt; nat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;profile &nbsp; &nbsp; <a href="http://sip:mod_sofia@192.168.1.2:5070" target="_blank">sip:mod_sofia@192.168.1.2:5070</a><br>
&gt; RUNNING (0)<br>
&gt; default &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; <a href="http://sip:mod_sofia@192.168.1.2:5060" target="_blank">sip:mod_sofia@192.168.1.2:5060</a><br>
&gt; RUNNING (0)<br>
&gt; default &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; <a href="http://sip:mod_sofia@192.168.1.2:5061" target="_blank">sip:mod_sofia@192.168.1.2:5061</a><br>
&gt; RUNNING (0) (TLS)<br>
&gt; <a href="http://192.168.1.2" target="_blank">192.168.1.2</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;alias &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;default<br>
&gt; ALIASED<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; =<br>
&gt; ======================================================================<br>
&gt; 3 profiles 1 alias<br>
&gt; &quot;<br>
&gt; TIA<br>
&gt; Chris<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <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