1. Brekeke Product Name and Version: Brekeke SIP Server Advanced Version 3
2. Java version:
3. OS type and the version: linux Ubuntu 20
4. UA (phone), gateway or other hardware/software involved: MicroSIP
5. Your problem:
Hello All,
Has anyone ever successfully connected 3CX to Brekeke.
Firstly, I can successfully make calls to the numbers my SIP provider assigned me. Inbound calls.(From cellphone, dial pstn line -> extension/user on Brekeke SIP registered with softphone microsip )
I only have one rule:
Matching Patterns
$request = ^INVITE
Deploy Patterns
$auth = false
But I am unable to do vice-versa. What dial plan(rule 2) Can I use?
Secondly once that's configured
I will move on with 3Cx.
3cx ad Brekeke
Moderator: Brekeke Support Team
I don't recommend you to disable the authentication for INVITE, what you did with DialPlan, if the SIP Server can be reached from the Internet.
I recommend you to check the remote IP address of 3CX/PSTN with $addr in DialPlan to avoid someone using your SIP Server freely.
https://docs.brekeke.com/sip/addr
I recommend you to check the remote IP address of 3CX/PSTN with $addr in DialPlan to avoid someone using your SIP Server freely.
https://docs.brekeke.com/sip/addr
The DialPlan rules you wrote return "400 Bad Request" to the 3CX and the PSTN..
Try the rule below. This rule accepts an INVITE without the authentication if it is sent from 3CX or PSTN
Matching Patterns
$request = ^INVITE
$addr = ^3CX_IP$|^PSTN_IP$
Deploy Patterns
$auth = false
$continue = true
Replace 3CX_IP and PSTN_IP with their actual IP addresses .
For example
$addr = ^111.111.111.111$|^222.222.222.222$
Try the rule below. This rule accepts an INVITE without the authentication if it is sent from 3CX or PSTN
Matching Patterns
$request = ^INVITE
$addr = ^3CX_IP$|^PSTN_IP$
Deploy Patterns
$auth = false
$continue = true
Replace 3CX_IP and PSTN_IP with their actual IP addresses .
For example
$addr = ^111.111.111.111$|^222.222.222.222$