Forums Read-only archive

How to convert TLS to UDP / UDP to TLS?

4 posts · Brekeke SIP Server Forum

ju8 Original post
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?
hope
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-con ... t-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
ju8
Hi hope, thank you very much! It is what I wanted to know!
Harold
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.