Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
How to convert TLS to UDP / UDP to TLS?
Author Message
ju8
Brekeke Newbie


Joined: 12 Apr 2014
Posts: 2

PostPosted: Sat Apr 12, 2014 8:23 pm    Post subject: How to convert TLS to UDP / UDP to TLS? Reply with quote

1. Brekeke Product Name and Version:

Brekeke SIP Server version 3.3.4.4.


2. Java version:
1.7.0

3. OS type and the version:
Windows 8

4. UA (phone), gateway or other hardware/software involved:
X-Lite, Bira, Linphine, Blink, Jisti, 3CX, Zoiper, Audiocodes

5. Your problem:

I want to use TLS between SIP phone and Brekeke SIP Server.
but want to use UDP between the Audiocodes gateway and Brekeke SIP Server.
How can convert SIP calls over TLS to UDP and vice versa?
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Sun Apr 13, 2014 12:23 am    Post subject: Reply with quote

Advanced edition of Brekeke SIP Server supports TLS
and convert to other transport with $transport setting in dial plan rule "Deploy Patterns" as wiki page below
http://wiki.brekeke.com/wiki/how-to-convert-tls-to-another-transport-protocol

if the call is to UA registered at Brekeke SIP Server, Brekeke SIP Server will convert transport automatically to the destination user transport shown in "Registered Clients" page
Back to top
View user's profile
ju8
Brekeke Newbie


Joined: 12 Apr 2014
Posts: 2

PostPosted: Sun Apr 13, 2014 7:15 pm    Post subject: Reply with quote

Hi hope, thank you very much! It is what I wanted to know!
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 287
Location: Japan

PostPosted: Mon Apr 14, 2014 3:09 pm    Post subject: Reply with quote

From SIP UA on TLS to the gateway on UDP:
Matching Patterns
$request = ^INVITE
$registered(From) = true
$registered(To) = false
To = sip:(.+)@
Deploy Patterns
$transport = UDP
To = sip:%1@<Gateway's-IP-Address>


From the gateway on UDP to SIP UA on TLS:
You don't need any DialPlan rule for calls sent to SIP UA as Hope pointed.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1