Convert Transport from UDP to TCP

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
skb007
Posts: 152
Joined: Mon Oct 05, 2015 10:22 pm
Location: USA

Convert Transport from UDP to TCP

Post by skb007 »

1. Brekeke Product Name and Version:

2. Java version:

3. OS type and the version:

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:

I would like to send a call from my gateway to BSS using UDP and from BSS to cutomer should be TCP.
MyGateway ----(UDP)---->BSS----(TCP)---->Customer.


I have used the following dial plan and brekeke is rejecting the call with SIP 603



[Matching Patterns]
$addr = 10\.1\.1\.1
From = sip:(.+)@
$request = sip:123(.+)@


[Deploy Patterns]
$transport=TCP
From = sip:%1@10.2.2.2
To = sip:%2@10.3.3.3
$b2bua = true
$rtp = true
&net.sip.replacesdp.multipart = true
$session = sdp
&sdp.audio.a.1 = ptime:20
&sdp.audio.a.2 = silenceSupp:off - - - -
$ifsrc = 10.2.2.2
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

Can you find the call record in the [Logs]->[Session Logs] page?
or [Logs]->[Error Logs] page?

Is the customer's SIP client (10.3.3.3) located in the same LAN without NAT?
skb007
Posts: 152
Joined: Mon Oct 05, 2015 10:22 pm
Location: USA

Post by skb007 »

I found the entry on the session logs, I don't see anything in error logs.

SID
From URI
To URI
Talking Length
Invite Start Time
Talk Start Time
End Time
Result
Error
UAC Address
UAS Address
Disconnected By
Rule Name
UAC User-Agent
UAS User-Agent
Phase before Disconnect

Session Logs
2640
sip:9089309291@10.1.1.1:5060
sip:13478756943@10.3.3.3
00:00:00.000
2017-07-25 09:26:19.747
 
2017-07-25 09:26:19.748
TCP:connect timed out
603
10.1.1.1:5060
10.3.3.3
Error
LA1 To TCP & TCP-failed
Excel_CSP/84.11.34
 
Closing


I have changed the IP's to private IP's for privacy purposes. Otherwise all the IP's are in public domain.
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

The log indicates "TCP:connect timed out "

Make sure the firewall doesn't block TCP 5060 port.
Post Reply