There is a bind-params option in the config you could try setting to "transport=tls" and see if that works.


On Tue, May 20, 2008 at 8:16 AM, Brian West <brian@freeswitch.org> wrote:
Well doing so is not possible but you can regexp in the dialplan on
the transport and reject calls that aren't coming in with the
transport=tls

/b

On May 20, 2008, at 7:00 AM, Krzysiek wrote:

> Hi there
>
> Is it possible in Freeswitch to disable default profile on port 5060
> and
> leave only tls profile on port 5061, so Freeswitch won't accept
> registrations other then through tls?
> If i'm tring to do something stupid, feel free to correct me :)
>
> Now I have something like this:
>
> "sofia status
> API CALL [sofia(status)] output:
> Name                 Type                               Data State
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> outbound             profile     sip:mod_sofia@192.168.1.2:5080
> RUNNING
> (0)
> nat                      profile     sip:mod_sofia@192.168.1.2:5070
> RUNNING (0)
> default                 profile     sip:mod_sofia@192.168.1.2:5060
> RUNNING (0)
> default                 profile     sip:mod_sofia@192.168.1.2:5061
> RUNNING (0) (TLS)
> 192.168.1.2          alias                            default
> ALIASED
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> 3 profiles 1 alias
> "
> TIA
> Chris
>
>
> _______________________________________________
> 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

Brian West
sip:brian@freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400