You add it to the bridge line 

<action application="bridge" data="sofia/blah/blah@blah;transport=tls"/>

/b


On Wed, Aug 27, 2008 at 3:24 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello Brian,

I tried to set ;transport=tls on the sofia string and it showed me an
invalid gateway

So I checked the gateway: server1 is not registered on server2
freeswitch@freeswitch> sofia status gateway freeswitch2
API CALL [sofia(status gateway freeswitch2)] output:
Invalid Gateway!

When I set the register-transport parameter back from tls to udp on
server1 I get
freeswitch@freeswitch> sofia status gateway freeswitch2
API CALL [sofia(status gateway freeswitch2)] output:
=================================================================================================
Name freeswitch2
Scheme Digest
Realm xxx.xxx.xxx.56
Username 1007
Password yes
 From <sip:1007@xxx.xxx.xxx.56;transport=udp>
Contact <sip:1007@xxx.xxx.xxx.55;transport=udp>
To sip:1007@xxx.xxx.xxx.56
Proxy sip:xxx.xxx.xxx.56
Context default
Expires 3600
Freq 3600
Ping 0
PingFreq 0
State REGED
Status UP
==============================
I ngrepped the traffic between server1 and server2 and could see that
there was traffic on port 5060.

Switching back to TLS it didn't work again.
<param name="register-transport" value="tls"/>
I ngrepped the traffic between server1 and server2 on all ports and
could see that there was absolutely no traffic between them.

So, as soon as I enter tls instead of upd, the traffic stops.
Any hint?

Best regards
Peter



Brian West schrieb:
> You Append ;transport=tls on the sofia string which is much easier.
>
> /b
>
>
>
> On Aug 26, 2008, at 4:51 PM, Peter P GMX wrote:
>
>
>> I have tried to set this up, but I need some help to get TLS to work
>>
>> What does work:
>> I setup 2 freeswitch servers with IP xxx.xxx.xxx.55 and xxx.xxx.xxx.
>> 56.
>> They are connected via UDP/Port 5060 (SIP)
>> I have 2 snom phones connected to the servers via TLS (1002@
>> xxx.xxx.xxx.55 and 1003@ xxx.xxx.xxx.56)
>> Server1 registers to Server2 as UA 1007
>> I can dial "8001" on 1002@server and reach 1003@server2 and make a
>> call
>>
>
>