1. Brekeke Product Name and Version:
3.9.4.3/517-1
2. Java version:
1.8.0_231
3. OS type and the version:
Windows Server 2016
4. UA (phone), gateway or other hardware/software involved:
3CX IP PBX
5. Your problem:
I'm trying to set up a limit to concurrent inbound calls from a VoIP service provider's system to a 3CX system.
This Matching Pattern and Deploy Pattern works good to limit the number of calls, in this case, to one inbound call to DID number "12223334444" from the VoIP service provider's system. And the call is passed on to the 3CX server just fine.
Matching Pattern:
$request = ^INVITE
$registered("user001") = true
$addr = ^111.222.333.444$|^555.666.777.888$|^999.888.777.666$
To = sip:(12223334444)@
$route.underlimit("%1", "1") = true
Deploy Pattern:
$auth = false
$rtp = false
$b2bua = false
To = sip:%1@123.456.789.100
$routename = %1
However, when a second call comes into BSS from the VoIP service provider's system, BSS returns a 100 Trying. I want BSS to return a 486 Busy.
So, I tried adding another Matching Pattern and Deploy Pattern, ahead of the above Patterns in the Dial Plans in BSS.
Matching Pattern:
$request = ^INVITE
$registered("user001") = true
$addr = ^111.222.333.444$|^555.666.777.888$|^999.888.777.666$
To = sip:(12223334444)@
$route.underlimit("%1", "1") = false
Deploy Pattern:
$response = 486
But this doesn't work. BSS allows one call to DID number "12223334444" and when a second call is received, BSS still returns a 100 Trying back to the VoIP service provider's system.
What am I doing wrong?
John Rayfield, Jr.
3.9.4.3/517-1
2. Java version:
1.8.0_231
3. OS type and the version:
Windows Server 2016
4. UA (phone), gateway or other hardware/software involved:
3CX IP PBX
5. Your problem:
I'm trying to set up a limit to concurrent inbound calls from a VoIP service provider's system to a 3CX system.
This Matching Pattern and Deploy Pattern works good to limit the number of calls, in this case, to one inbound call to DID number "12223334444" from the VoIP service provider's system. And the call is passed on to the 3CX server just fine.
Matching Pattern:
$request = ^INVITE
$registered("user001") = true
$addr = ^111.222.333.444$|^555.666.777.888$|^999.888.777.666$
To = sip:(12223334444)@
$route.underlimit("%1", "1") = true
Deploy Pattern:
$auth = false
$rtp = false
$b2bua = false
To = sip:%1@123.456.789.100
$routename = %1
However, when a second call comes into BSS from the VoIP service provider's system, BSS returns a 100 Trying. I want BSS to return a 486 Busy.
So, I tried adding another Matching Pattern and Deploy Pattern, ahead of the above Patterns in the Dial Plans in BSS.
Matching Pattern:
$request = ^INVITE
$registered("user001") = true
$addr = ^111.222.333.444$|^555.666.777.888$|^999.888.777.666$
To = sip:(12223334444)@
$route.underlimit("%1", "1") = false
Deploy Pattern:
$response = 486
But this doesn't work. BSS allows one call to DID number "12223334444" and when a second call is received, BSS still returns a 100 Trying back to the VoIP service provider's system.
What am I doing wrong?
John Rayfield, Jr.