Author |
Message |
skb007 Brekeke Guru
Joined: 05 Oct 2015 Posts: 152
Location: USA
|
Posted: Mon Jul 24, 2017 12:18 pm Post subject: Convert Transport from UDP to TCP |
|
|
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
|
|
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Mon Jul 24, 2017 10:10 pm Post subject: |
|
|
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? |
|
Back to top |
|
skb007 Brekeke Guru
Joined: 05 Oct 2015 Posts: 152
Location: USA
|
Posted: Tue Jul 25, 2017 6:35 am Post subject: |
|
|
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. |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Tue Jul 25, 2017 2:11 pm Post subject: |
|
|
The log indicates "TCP:connect timed out "
Make sure the firewall doesn't block TCP 5060 port. |
|
Back to top |
|
|