Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
How to Route the call to Registered SIP Clients
Author Message
skb007
Brekeke Guru


Joined: 05 Oct 2015
Posts: 152
Location: USA

PostPosted: Fri Apr 03, 2020 8:07 am    Post subject: How to Route the call to Registered SIP Clients Reply with quote

1. Brekeke Product Name and Version:3

2. Java version:1.8

3. OS type and the version:RHEL7

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

5. Your problem:
BSS has 2 NICs, one is configured with public IP (example 2.2.2.2) and another NIC with private IP 10.10.10.10.

SIP Clients users are registered to BSS using 10.10.10.10 and al the SIP clients are on private subnet 10.10.10.0/24.

UAC having public IP address (1.1.1.1) will send the calls to BSS on public IP anf BSS will route the calls to SIP Clients on private IP subnet


UAC(1.1.1.1) ---->(2.2.2.2)BSS(10.10.10.10)-->Registered SIP Clients(10.10.10.0/24)


Will the following work:

Matching Patterns
$request = ^INVITE
$addr = ^1\.1\.1\.1
To = sip:(.+)@
$registered(%1) = true
$regAddr(%1) = (.+)
Deploy Patterns
To = sip:%1@%2
$b2bua = true
$rtp = true
$ifsrc = 2.2.2.2
&net.rtp.ifsrc = 2.2.2.2
&net.rtp.bindsrc = 2.2.2.2
$ifdst = 10.10.10.10
$net.rtp.ifdst = 10.10.10.10
$net.rtp.binddst = 10.10.10.10
Back to top
View user's profile
Niloc
Brekeke Talented


Joined: 19 Sep 2017
Posts: 70
Location: NL

PostPosted: Fri Apr 03, 2020 5:12 pm    Post subject: Reply with quote

This might work.
Matching Patterns
$request = ^INVITE
To = sip:(.+)@
$registered = true
Deploy Patterns
To = sip:%1@
$b2bua = true
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