How to convert TLS to UDP / UDP to TLS?

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
ju8
Posts: 2
Joined: Sat Apr 12, 2014 8:13 pm

How to convert TLS to UDP / UDP to TLS?

Post by ju8 »

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
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by 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
Posts: 2
Joined: Sat Apr 12, 2014 8:13 pm

Post by ju8 »

Hi hope, thank you very much! It is what I wanted to know!
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by 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.
Post Reply