Author |
Message |
Topic: Delay a call in Dial Rules |
Laurie
Replies: 2
Views: 102
|
Forum: Brekeke SIP Server Forum Posted: Tue Apr 30, 2024 4:35 pm Subject: Delay a call in Dial Rules |
Use "Delay" plugin in Deploy Pattern.
Syntax:
$session = Delay [millisecond]
For example, if you want to add 5 seconds delay.
$session = Delay 5000 |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Fri Mar 22, 2024 8:23 pm Subject: No Audio Between PBXs that are connected to BSS. |
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 ... |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Fri Mar 22, 2024 4:14 pm Subject: No Audio Between PBXs that are connected to BSS. |
> 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 p ... |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Fri Mar 22, 2024 12:29 am Subject: No Audio Between PBXs that are connected to BSS. |
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 [ ... |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Thu Mar 21, 2024 2:42 pm Subject: No Audio Between PBXs that are connected to BSS. |
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 ... |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Thu Mar 21, 2024 11:36 am Subject: No Audio Between PBXs that are connected to BSS. |
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. |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Thu Mar 21, 2024 9:41 am Subject: No Audio Between PBXs that are connected to BSS. |
You need to reproduce the issue after "SIP Session" log category is enabled. |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Wed Mar 20, 2024 9:49 pm Subject: No Audio Between PBXs that are connected to BSS. |
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. |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Wed Mar 20, 2024 5:23 pm Subject: No Audio Between PBXs that are connected to BSS. |
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 det ... |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Wed Mar 20, 2024 3:40 pm Subject: No Audio Between PBXs that are connected to BSS. |
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. |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Wed Mar 20, 2024 11:49 am Subject: No Audio Between PBXs that are connected to BSS. |
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 [Telepho ... |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Wed Mar 20, 2024 11:01 am Subject: No Audio Between PBXs that are connected to BSS. |
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 ... |
Topic: Dial Plan-Match on 2 Variables |
Laurie
Replies: 7
Views: 1572
|
Forum: Brekeke SIP Server Forum Posted: Wed Mar 06, 2024 8:17 pm Subject: Dial Plan-Match on 2 Variables |
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/di ... |
Topic: Dial Plan-Match on 2 Variables |
Laurie
Replies: 7
Views: 1572
|
Forum: Brekeke SIP Server Forum Posted: Tue Mar 05, 2024 11:06 pm Subject: Dial Plan-Match on 2 Variables |
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 ... |
Topic: Dial Plan-Match on 2 Variables |
Laurie
Replies: 7
Views: 1572
|
Forum: Brekeke SIP Server Forum Posted: Tue Mar 05, 2024 12:31 pm Subject: Dial Plan-Match on 2 Variables |
Can you try the DialPlan rule like this?
========================
[Matching Patterns]
$request = ^INVITE
$registered = false
To = sip:(8888)@
$getdisplayname(From) = GGGxx
... |
Topic: Using $If in Dial Plan |
Laurie
Replies: 4
Views: 1648
|
Forum: Brekeke SIP Server Forum Posted: Tue Mar 05, 2024 12:18 pm Subject: Using $If in Dial Plan |
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 d ... |
Topic: Using $If in Dial Plan |
Laurie
Replies: 4
Views: 1648
|
Forum: Brekeke SIP Server Forum Posted: Thu Feb 29, 2024 5:42 pm Subject: Using $If in Dial Plan |
Use $not
https://docs.brekeke.com/sip/not
[Matching Patterns]
$request = ^INVITE
$registered("UserName") = true
$addr = ^PBX_IP-Address$
To = sip:(.+)@
$not($alias.lookup ... |
Topic: No Audio Between PBXs that are connected to BSS. |
Laurie
Replies: 25
Views: 4461
|
Forum: Brekeke SIP Server Forum Posted: Thu Feb 29, 2024 5:08 pm Subject: No Audio Between PBXs that are connected to BSS. |
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? |
Topic: DTMF |
Laurie
Replies: 2
Views: 3329
|
Forum: Brekeke PBX Forum Posted: Mon Feb 12, 2024 12:42 pm Subject: DTMF |
Refer to "3.4 Set SIP-INFO parameter" in the page below might help you.
https://docs.brekeke.com/interop/jerons-nurse-call-system-provider-790-pbx |
Topic: Preventing "Unauthorized" Outbound Caller ID Numbe |
Laurie
Replies: 14
Views: 9017
|
Forum: Brekeke SIP Server Forum Posted: Thu Feb 01, 2024 6:18 pm Subject: Preventing "Unauthorized" Outbound Caller ID Numbe |
> .{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 ... |
Topic: Preventing "Unauthorized" Outbound Caller ID Numbe |
Laurie
Replies: 14
Views: 9017
|
Forum: Brekeke SIP Server Forum Posted: Wed Jan 31, 2024 12:47 pm Subject: Preventing "Unauthorized" Outbound Caller ID Numbe |
> $registered("registered-name") = true
> $addr = ^3CX-PBX-IP-Address$
It can be written as the following.
$regAddr("registered-name") = ^(.+):
$add ... |
Topic: Preventing "Unauthorized" Outbound Caller ID Numbe |
Laurie
Replies: 14
Views: 9017
|
Forum: Brekeke SIP Server Forum Posted: Tue Jan 30, 2024 10:36 pm Subject: Preventing "Unauthorized" Outbound Caller ID Numbe |
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? |
Topic: Preventing "Unauthorized" Outbound Caller ID Numbe |
Laurie
Replies: 14
Views: 9017
|
Forum: Brekeke SIP Server Forum Posted: Tue Jan 30, 2024 3:29 pm Subject: Preventing "Unauthorized" Outbound Caller ID Numbe |
How about adding a new rule for 911 prior to the current rules?
[Matching Patterns]
$request = ^INVITE
To = sip:911@
[Deploy Patterns]
To = sip:911@<carrier_ip> |
Topic: Preventing "Unauthorized" Outbound Caller ID Numbe |
Laurie
Replies: 14
Views: 9017
|
Forum: Brekeke SIP Server Forum Posted: Tue Jan 30, 2024 1:07 pm Subject: Preventing "Unauthorized" Outbound Caller ID Numbe |
If you want to check whether the caller ID is registered or not, you can define $registered like this.
$registered(From) = true
So you don't have to write "registered-name" for all $ ... |
Topic: Preventing "Unauthorized" Outbound Caller ID Numbe |
Laurie
Replies: 14
Views: 9017
|
Forum: Brekeke SIP Server Forum Posted: Mon Jan 29, 2024 11:50 am Subject: Preventing "Unauthorized" Outbound Caller ID Numbe |
Hi
> $registered("registered-name") = true
Is "registered-name" always the same?
Is it the same as From-URI's caller ID?
> that is being used for the call in thi ... |
|