1. Brekeke Product Name and Version:
Brekeke SIP Server - 3.14.5.17/563.2
2. Java version:
11.0.15
3. OS type and the version:
Windows Server 2012
4. UA (phone), gateway or other hardware/software involved:
3CX
5. Your problem:
I want to use $alias.lookup to determine if a number that has been dialed from a PBX connected to BSS, is in the Alias List or not. If it is, then I want to set $rtp = false and if it is not, I want to set $rtp = true, in the Deploy Patterns.
$request = ^INVITE
$registered("UserName") = true
$addr = ^PBX_IP-Address$
To = sip:(.+)@
$alias.lookup("%1") = (.+)
This part works to determine if the number dialed (the To number) is in the Alias List or not. In other programming languages, I would do something like:
IF $alias.lookup("%1") = TRUE THEN
$rtp = false
ELSE
$rtp = true
END IF
How can something like the above be set up in the Dial Plan for BSS?
John Rayfield, Jr.
Brekeke SIP Server - 3.14.5.17/563.2
2. Java version:
11.0.15
3. OS type and the version:
Windows Server 2012
4. UA (phone), gateway or other hardware/software involved:
3CX
5. Your problem:
I want to use $alias.lookup to determine if a number that has been dialed from a PBX connected to BSS, is in the Alias List or not. If it is, then I want to set $rtp = false and if it is not, I want to set $rtp = true, in the Deploy Patterns.
$request = ^INVITE
$registered("UserName") = true
$addr = ^PBX_IP-Address$
To = sip:(.+)@
$alias.lookup("%1") = (.+)
This part works to determine if the number dialed (the To number) is in the Alias List or not. In other programming languages, I would do something like:
IF $alias.lookup("%1") = TRUE THEN
$rtp = false
ELSE
$rtp = true
END IF
How can something like the above be set up in the Dial Plan for BSS?
John Rayfield, Jr.