Search found 245 matches

by Laurie
Tue Aug 20, 2024 10:38 pm
Forum: Brekeke SIP Server Forum
Topic: Session Logs - Custom fields
Replies: 4
Views: 5453

Set the line below in [Configuration]-[Advanced] page.

cdr.file.datetime-format = yyyy/MM/dd-HHmmss


But you need to make a directory, yyyy/MM such as 2024/08 manually.
You can check the path at [CDR]->[Status] page.
by Laurie
Mon Aug 19, 2024 11:08 pm
Forum: Brekeke SIP Server Forum
Topic: Session Logs - Custom fields
Replies: 4
Views: 5453

by Laurie
Fri May 31, 2024 3:36 pm
Forum: Brekeke SIP Server Forum
Topic: Delay a call in Dial Rules
Replies: 4
Views: 9331

The maximum value of Delay is 2147483647 (ms).
by Laurie
Tue Apr 30, 2024 4:35 pm
Forum: Brekeke SIP Server Forum
Topic: Delay a call in Dial Rules
Replies: 4
Views: 9331

Use "Delay" plugin in Deploy Pattern.

Syntax:
$session = Delay [millisecond]

For example, if you want to add 5 seconds delay.
$session = Delay 5000
by Laurie
Fri Mar 22, 2024 8:23 pm
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

Glad to know it.

If 3CX to 3CX call still makes 2 SIP sessions over the Brekeke SIP Server, it means two RTP streams are made because each route has $rtp=true.

If you tune DialPlan rules to use a single SIP session like 3CX-to-upstream provider, you can save SIP server and router's resources.
by Laurie
Fri Mar 22, 2024 4:14 pm
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

> For a call between the two 3CX servers, whether the calls have audio or not, there are two entries in the Active Sessions list - one for the outbound portion of the call and one for the inbound portion of the call. For 3CX to 3CX case, it should be a single SIP session to avoid an issue if a ...
by Laurie
Fri Mar 22, 2024 12:29 am
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

It seems there are configuration issues.
Does the BSS have a local (private) IP address?
Is the BSS located behind a NAT?

If you reproduce the issue, is it shown as a single SIP session in the [Active Sessions] page? or two sessions?
by Laurie
Thu Mar 21, 2024 2:42 pm
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

It seems the log setting is not applied yet.
Did you push [Update] button after you enabled "SIP Session" log category in [Debug Logs] page?
Once you applied the log setting, make a test call from one 3CX to another 3CX to reproduce the issue.
by Laurie
Thu Mar 21, 2024 11:36 am
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

Please find sv.xxxx.log such as sv.240321.log not session.xxxx.log.
The session.xxx.log is kind of CDR and sv.xxxx.log is a detailed log which can include SIP packets.
by Laurie
Thu Mar 21, 2024 9:41 am
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

You need to reproduce the issue after "SIP Session" log category is enabled.
by Laurie
Wed Mar 20, 2024 9:49 pm
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

You can find a session in the log with timestamp, From-URI and To-URI.
Check "rulename" to see it is expected rule names, and
"mode:RTPrelay" to see it is on or off.
by Laurie
Wed Mar 20, 2024 5:23 pm
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

Is the upstream service provider involved with this no audio issue? This is because you have "$addr=upstream-service-provider-ip" in the rule "3CX-A: Inbound". For having a detailed log, set "SIP Session" in [Diagnostics]>[Debug Logs] page and reproduce the issue. Then find the sv.xxxx.log (eg: sv ...
by Laurie
Wed Mar 20, 2024 3:40 pm
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

If possible can you paste DialPlan rules which caused the no-audio call?
They will be two rules. 3CX-B outbound and 3CX-A inbound.
by Laurie
Wed Mar 20, 2024 11:49 am
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

You can analyze RTP packets with Wireshark. First, capture packets when you make a call from one 3CX to another 3CX, and say something even if there is no audio. Second, at Wireshark, go to [Telephony]>[RTP]>[RTP Streams]. If there is no RTP stream, $rtp=true is not applied. If there are RTP streams ...
by Laurie
Wed Mar 20, 2024 11:01 am
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

Does the BSS have more than one public IP address?

If you capture SIP packets when you make a call from one 3CX to another 3CX though the SIP Server, which IP address does SDP point?
Is it the BSS's public IP address or caller 3CX's public IP address?
by Laurie
Wed Mar 06, 2024 8:17 pm
Forum: Brekeke SIP Server Forum
Topic: Dial Plan-Match on 2 Variables
Replies: 7
Views: 12954

How about this?
=============
[Matching Patterns]
$request = ^INVITE
$registered = false
To = sip:(8888)@
$getdisplayname(From) = GGGxx(.+)

[Deploy Patterns]
To = sip:%1@10.10.10.10
From/displayname = GGG%2
=============
by Laurie
Tue Mar 05, 2024 11:06 pm
Forum: Brekeke SIP Server Forum
Topic: Dial Plan-Match on 2 Variables
Replies: 7
Views: 12954

If it is a dialed number, you don't have to use a displayname.
==============
[Matching Patterns]
$request = ^INVITE
$addr = ^192\.168\.
To = sip:50\*(.+)@

[Deploy Patterns]
To = sip:150\*%1@10.10.10.10
==============
by Laurie
Tue Mar 05, 2024 12:31 pm
Forum: Brekeke SIP Server Forum
Topic: Dial Plan-Match on 2 Variables
Replies: 7
Views: 12954

Can you try the DialPlan rule like this?
========================
[Matching Patterns]
$request = ^INVITE
$registered = false
To = sip:(8888)@
$getdisplayname(From) = GGGxx

[Deploy Patterns]
To = sip:%1@10.10.10.10
From/displayname = GGG
========================
by Laurie
Tue Mar 05, 2024 12:18 pm
Forum: Brekeke SIP Server Forum
Topic: Using $If in Dial Plan
Replies: 4
Views: 11471

John, you are right.

In DialPlan method parameter, there is no data types such as Boolean and Integer. So the true should be written as "true".

If you are familiar with Java, you can develop your own DialPlan method.
https://docs.brekeke.com/sip/bss-dial-p ... pers-guide
by Laurie
Thu Feb 29, 2024 5:42 pm
Forum: Brekeke SIP Server Forum
Topic: Using $If in Dial Plan
Replies: 4
Views: 11471

Use $not https://docs.brekeke.com/sip/not [Matching Patterns] $request = ^INVITE $registered("UserName") = true $addr = ^PBX_IP-Address$ To = sip:(.+)@ $not($alias.lookup("%1")) = (.+) [Deploy Patterns] $rtp = %2 You can also use $if [Matching Patterns] $request = ^INVITE $registered("UserName ...
by Laurie
Thu Feb 29, 2024 5:08 pm
Forum: Brekeke SIP Server Forum
Topic: No Audio Between PBXs that are connected to BSS.
Replies: 25
Views: 49336

Are these 3 SIP entities on the same local network?
Are they behind a NAT?
Can both 3CX servers send ping packet each other directly?
by Laurie
Mon Feb 12, 2024 12:42 pm
Forum: Brekeke PBX Forum
Topic: DTMF
Replies: 2
Views: 46626

Refer to "3.4 Set SIP-INFO parameter" in the page below might help you.
https://docs.brekeke.com/interop/jerons ... er-790-pbx
by Laurie
Thu Feb 01, 2024 6:18 pm
Forum: Brekeke SIP Server Forum
Topic: Preventing "Unauthorized" Outbound Caller ID Numbe
Replies: 14
Views: 24391

> .{10,10} portion - Match any character, at least 10 times, but no more than 10 times. Correct? Yes. So it can be .{10} > But what about the '?'? I can't find any reference to that in the documentation (or wiki) for that in a Dial Plan. ? means zero or one occurrences of the preceding element. so ...
by Laurie
Wed Jan 31, 2024 12:47 pm
Forum: Brekeke SIP Server Forum
Topic: Preventing "Unauthorized" Outbound Caller ID Numbe
Replies: 14
Views: 24391

> $registered("registered-name") = true
> $addr = ^3CX-PBX-IP-Address$

It can be written as the following.

Code: Select all

$regAddr("registered-name") = ^(.+):
$addr = %1
With the above, you don't have to write 3CX-PBX-IP-Address.
by Laurie
Tue Jan 30, 2024 10:36 pm
Forum: Brekeke SIP Server Forum
Topic: Preventing "Unauthorized" Outbound Caller ID Numbe
Replies: 14
Views: 24391

Who put a prepended 6 digit number? Is it a calling user? or Dial Plan?
Is a caller ID paired with a unique 6 digit number?