Author |
Message |
JRayfield Brekeke Guru
Joined: 03 Dec 2012 Posts: 147
Location: Springfield, MO
|
Posted: Tue Jan 24, 2023 3:45 pm Post subject: Allowing Some International Calling |
|
|
1. Brekeke Product Name and Version:
3.13.0.0/552
2. Java version:
11.0.15
3. OS type and the version:
Windows Server 2016
4. UA (phone), gateway or other hardware/software involved:
3CX
5. Your problem:
I want to block international calling (011) for all users except for specific users (1 user right now). I see that there is a preliminary rule in the Dial Plans that blocks all users from international calling. If I could use something like "$addr <> xxx.xxx.xxx.xxx (where xxx.xxx.xxx.xxx is this user's IP address), this would work fine. But, I can't see any way to set the $addr to NOT be equal to something.
Can someone provide another way to accomplish what I need?
John Rayfield, Jr. _________________ John Rayfield, Jr. CETma
Rayfield Communications
Springfield, MO
www.rayfield.net |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Tue Jan 24, 2023 7:50 pm Post subject: |
|
|
If you want to have an inequality operator, use ! in the font of the value.
For example, $addr = ! xxx.xxx.xxx.xxx
Refer to the "5.3.1. Syntax" in the following document.
https://brekeke.com/doc/sip/sip_admin_v3.pdf#page=66 |
|
Back to top |
|
JRayfield Brekeke Guru
Joined: 03 Dec 2012 Posts: 147
Location: Springfield, MO
|
Posted: Tue Jan 24, 2023 7:59 pm Post subject: |
|
|
Thanks.
John _________________ John Rayfield, Jr. CETma
Rayfield Communications
Springfield, MO
www.rayfield.net |
|
Back to top |
|
|