Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Allowing Some International Calling
Author Message
JRayfield
Brekeke Guru


Joined: 03 Dec 2012
Posts: 147
Location: Springfield, MO

PostPosted: Tue Jan 24, 2023 3:45 pm    Post subject: Allowing Some International Calling Reply with quote

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
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 286
Location: Japan

PostPosted: Tue Jan 24, 2023 7:50 pm    Post subject: Reply with quote

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
View user's profile
JRayfield
Brekeke Guru


Joined: 03 Dec 2012
Posts: 147
Location: Springfield, MO

PostPosted: Tue Jan 24, 2023 7:59 pm    Post subject: Reply with quote

Thanks.
John

_________________
John Rayfield, Jr. CETma
Rayfield Communications
Springfield, MO
www.rayfield.net
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1