1. Brekeke Product Name and Version:
BSS 3.13.0.0/552
2. Java version:
11.0.15
3. OS type and the version:
Windows Server 2016 Standard
4. UA (phone), gateway or other hardware/software involved:
3CX IP PBX and Yealink phones
5. Your problem:
Currently I have Dial Plans set up like this:
Inbound:
Matching Pattern -
$request = ^INVITE
$registered("registration name/number") = true
$addr = ^xxx.xxx.xxx.xxx$
To = sip:(1nnnnnnnnnn)@
Deploy Pattern
$auth = false
$rtp = false
$b2bua = false
To = sip:%1@yyy.yyy.yyy.yyy
Outbound:
Matching Pattern -
$request = ^INVITE
$registered("registration name/number") = true
$addr = ^yyy.yyy.yyy.yyy$
To = sip:(.+)@
Deploy Pattern -
$auth = false
$rtp = false
$b2bua = false
&failover.timer.provisional = 120
To = sip:%1@xxx.xxx.xxx.xxx
$session = failover sip:%1@zzz.zzz.zzz.zzz
This works great for incoming calls from my upstream provider, into BSS and forwarded on to the 3CX IP PBX system.
And it works great for outgoing calls from the 3CX IP PBX system, which are forwarded on to my upstream provider.
But, if a number is misdialed (such as using area code '471' instead of '417') and the upstream provider returns a 404 or a 503, or any other SIP response such as '486', that information is not passed back to the 3CX PBX.
I would like to pass the '486' SIP responses back to the 3CX PBX for each call that receives that response.
And, for other responses, I would like to 'redirect' the outbound call to another destination (such as another IP PBX).
Can someone give me some ideas as to how to achieve the above?
Redirecting Calls from IP PBX/UAC
Moderator: Brekeke Support Team
The failover plugin monitors all final responses in the default with the following preset settings.
If you want to pass 4xx, 5xx and 6xx, try the setting below.
It means the failover plugin monitors only 3xx response packets.
FYI: https://docs.brekeke.com/sip/failover-w ... -dial-plan
Code: Select all
&failover.pattern.response = .+
Code: Select all
&failover.pattern.response = 3..
FYI: https://docs.brekeke.com/sip/failover-w ... -dial-plan