skb007 Brekeke Guru
Joined: 05 Oct 2015 Posts: 152
Location: USA
|
Posted: Fri Apr 03, 2020 8:07 am Post subject: How to Route the call to Registered SIP Clients |
|
|
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
|
|
|