JRayfield Brekeke Guru
Joined: 03 Dec 2012 Posts: 147
Location: Springfield, MO
|
Posted: Tue May 31, 2022 11:19 am Post subject: Redirecting Calls from IP PBX/UAC |
|
|
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 Patterns | $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? _________________ John Rayfield, Jr. CETma
Rayfield Communications
Springfield, MO
www.rayfield.net |
|