Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Inbound call issue - UDP to TCP transport conversion issue
Author Message
ecimin
Brekeke Junior Member


Joined: 17 Jan 2018
Posts: 5
Location: USA

PostPosted: Wed Jan 17, 2018 5:08 pm    Post subject: Inbound call issue - UDP to TCP transport conversion issue Reply with quote

1. Brekeke Product Name and Version: Brekeke SIP Server Version 3.8.3.0

2. Java version: Latest version

3. OS type and the version: Windows 10 Pro

4. UA (phone), gateway or other hardware/software involved: Grandstream SIP device - Model HT503

5. Your problem:

I am trying to send an inbound call from my gateway to BSS using UDP 5060 and then out to my customers Grandstream device using TCP 5060 but for some reason the Brekeke SIP server is rejecting the call with a SIP 603 Declined.

Below is the dial plan that I used.

Matching Patterns
$addr = xxx.xxx.xxx.xxx
$request = ^INVITE
To = sip:(011XXXXXXXXXXX)@
$transport = ^UDP


Deploy Patterns
$transport = TCP
To = sip:%1@yyy.yyy.yyy.yyy
$target = zzz.zzz.zzz.zzz

xxx.xxx.xxx.xxx is my gateway's public IP address

yyy.yyy.yyy.yyy is the public IP address of my BSS server

zzz.zzz.zzz.zzz is the public IP address of my customers gateway.

I am not requiring any SIP registration from the customer on this setup. (I am using IP authentication method based on the IP address assigned to the BSS server)

If I use UDP 5060 on my customers gateway and remove the $transport = TCP statement from the deploy Pattern, I see in Wireshark that my BSS server sends the call out to my customers gateway and the call completes.

If I configure my customers gateway using TCP 5060 and add statement $transport = TCP statement to the deploy Pattern, I never see the BSS server send the inbound call out to my customers gateway. The call is just rejected by the BSS server. I confirmed that TCP is ON under Configuartion / SIP.

Any help on this would be appreciated.

Outbound TCP 5060 to UDP 5060 calls via the BSS server works with no issues.
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 285
Location: Japan

PostPosted: Wed Jan 17, 2018 7:50 pm    Post subject: Reply with quote

- Check whether [Status]->[SIP Server] page ->[transport] indicates "TCP"

- Check the result phrase at [Logs]->[Session Logs] -> click a date

- Check there is no firewall which blocks the TCP port 5060 at zzz.zzz.zzz.zzz.

- Check if zzz.zzz.zzz.zzz is a router the port-forwarding TCP 5060 is configured to the device.
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