Search found 57 matches

by tuie2
Thu Oct 24, 2013 9:39 am
Forum: Brekeke SIP Server Forum
Topic: authenticate IP- user/pass simoultaneous+redirect dynamic IP
Replies: 15
Views: 20633

Hi chentron I know Regular expression is not easy to understand but many script languages adapt the syntax of the Regular expression. such as awk, perl and Ruby. Using of DialPlan will be a good chance to learn the Regular expression. There are several Regular expression testers (as simulator ...
by tuie2
Mon Oct 21, 2013 6:30 pm
Forum: Brekeke SIP Server Forum
Topic: authenticate IP- user/pass simoultaneous+redirect dynamic IP
Replies: 15
Views: 20633

It seems you are not familiar with Regular expression. I recommend that you start learning about Regular expression before you edit the DialPlan. https://en.wikipedia.org/wiki/Regular_expression Also, try to read the document. You will find your answers there. http://www.brekeke.com/doc/sip/sip ...
by tuie2
Fri Oct 18, 2013 2:48 pm
Forum: Brekeke SIP Server Forum
Topic: authenticate IP- user/pass simoultaneous+redirect dynamic IP
Replies: 15
Views: 20633

The above dialplan works with other brand gateways. Your log looks like, you got a connection timeout. > gateway_ip:46220 Why your gateway uses 46220 not 5060?? Try this. [Matching Patterns] $request = ^INVITE To = sip:0(.+)@ $regAddr("9999") = (.+): [Deploy Patterns] To = sip:%1@%2 Add : colon in ...
by tuie2
Thu Oct 17, 2013 6:48 pm
Forum: Brekeke SIP Server Forum
Topic: caller ID character maximum number
Replies: 1
Views: 7574

Brekeke SIP Server supports text messaging with SIP MESSAGE method..
Let you try.
by tuie2
Thu Oct 17, 2013 6:44 pm
Forum: Brekeke SIP Server Forum
Topic: authenticate IP- user/pass simoultaneous+redirect dynamic IP
Replies: 15
Views: 20633

chentron, which gateway product are you planning to use? it depends on a gateway product. If a gateway supports 1-Stage-Dialing and also makes a register to the SIP server, try this dialplan rule. Matching Patterns $request = ^INVITE To = sip:0(.+)@ $regAddr("9999") = (.+) Deploy Patterns To = sip ...
by tuie2
Mon Aug 05, 2013 11:57 am
Forum: Brekeke SIP Server Forum
Topic: How to: Matching pattern for if(remote party id != from)
Replies: 2
Views: 7287

Do you mean "Remote-Party-Id" header?

Try this.
$str.equals($getUri(From), $getUri(Remote-Party-Id)) = false
by tuie2
Tue Jul 02, 2013 10:24 am
Forum: Brekeke SIP Server Forum
Topic: force Caller ID to Restricted
Replies: 13
Views: 16893

Do you want to put a dialed number in From header?
Or do you want to keep a caller's number in From header?

The current your dialplan rule puts a dialed number in From header.
by tuie2
Fri Jun 28, 2013 10:45 am
Forum: Brekeke SIP Server Forum
Topic: force Caller ID to Restricted
Replies: 13
Views: 16893

> the call comes in, it shows from restricted with no IP address in the "From" Header See the rule what you defined... Your "From "definition in Deploy Patterns is the following. From = "Restricted" <%1> %1 is got from "To" definition in Matching Patterns. To = sip:(.+)@
by tuie2
Thu Mar 21, 2013 4:17 pm
Forum: Brekeke SIP Server Forum
Topic: 404 error
Replies: 4
Views: 9872

Tom, > One question I have, will the 404 pop up if the actual handset is turned off? Which handset product is it? If a handset is turned off, the Brekeke SIP Server and CISCO Call Manager can not reach the callee user. Therefore, the "404 Not Found" will happen. Make sure all of handsets should keep ...
by tuie2
Wed Jan 16, 2013 11:22 am
Forum: Brekeke SIP Server Forum
Topic: Sip Invite body is missing
Replies: 3
Views: 11777

Join the Brekeke support or partner program. You can request Brekeke more detailed tech information.
http://www.brekeke.com/support/menu.php
http://www.brekeke.com/partner/
by tuie2
Tue Jan 15, 2013 8:28 am
Forum: Brekeke SIP Server Forum
Topic: Sip Invite body is missing
Replies: 3
Views: 11777

You don't need any DialPlan. Add the following line in the [Configuration]->[Advanced] page and restart the Brekeke SIP Server. ----------------- net.sip.parse.content=true ----------------- Also, it seems your packet size is larger than 1500, so let you add the following too. ----------------- net ...
by tuie2
Tue Nov 13, 2012 3:07 pm
Forum: Brekeke SIP Server Forum
Topic: Delay for users using 3cx softphone, (xlites = fine)
Replies: 2
Views: 9050

I've tested 3CX on Windows 7 with Brekeke SIP Server.
It seems there are no delay issue.

Let you try the latest version of 3CX softphone.
by tuie2
Tue Nov 13, 2012 2:26 pm
Forum: Brekeke SIP Server Forum
Topic: Delay for users using 3cx softphone, (xlites = fine)
Replies: 2
Views: 9050

Do you know when the delay happens? Is it in the making a call? Or is it in the receiving a call?

It seems delay is a common issue at 3CX phone...
https://www.google.com/search?q=3cx+del ... %3A3cx.com
by tuie2
Thu Nov 08, 2012 1:02 pm
Forum: Brekeke SIP Server Forum
Topic: Any Known Issues with IE9
Replies: 3
Views: 10194

A browser such as IE will not cause any issue in SIP.
by tuie2
Fri Sep 28, 2012 9:50 am
Forum: Brekeke SIP Server Forum
Topic: SIP Registration Hack Attempt - How to guard against?*RSLVD*
Replies: 3
Views: 7568

Also you can set trusted IP addresses in the router.
If you are using unix-like OS (e.g. Linux), tune the iptables to define trusted IP addresses.

https://isc.sans.edu/port.html?port=5060
There are many attacks to the port-5060 everyday.
by tuie2
Tue Sep 18, 2012 11:52 am
Forum: Brekeke SIP Server Forum
Topic: How to block codecs in dial plans? *SOLVED*
Replies: 15
Views: 17907

Yes. the payload type 18 means G729. (See http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xml#rtp-parameters-1) > Where can i see if its blocked? If the above rule matches, its Deploy Patterns will be executed. If you want to debug DialPlan rules, I recommend that you use brekeke v3 ...
by tuie2
Tue Sep 18, 2012 9:51 am
Forum: Brekeke SIP Server Forum
Topic: How to block codecs in dial plans? *SOLVED*
Replies: 15
Views: 17907

Are you sure that the INVITE's SDP indicates GSM as a codec?
If not, the above rule doesn't match and "404" will be returned.

Can you paste the SDP part of INVITE here?
by tuie2
Tue Sep 18, 2012 9:15 am
Forum: Brekeke SIP Server Forum
Topic: How to block codecs in dial plans? *SOLVED*
Replies: 15
Views: 17907

Can you paste your rules here?

If you are using Brekeke ver3, set "dialplan.debug.log=true" in the Config's Advanced page for debugging DialPlan.
by tuie2
Mon Sep 17, 2012 5:32 pm
Forum: Brekeke SIP Server Forum
Topic: How to block codecs in dial plans? *SOLVED*
Replies: 15
Views: 17907

:D
by tuie2
Mon Sep 17, 2012 2:25 pm
Forum: Brekeke SIP Server Forum
Topic: How to block codecs in dial plans? *SOLVED*
Replies: 15
Views: 17907

> $body=( "(m=audio .+ RTP/AVP.* 3 )" ) = .+

It is wrong..
It must be
$body( "(m=audio .+ RTP/AVP.* 3 )" ) = .+
by tuie2
Mon Sep 17, 2012 12:03 pm
Forum: Brekeke SIP Server Forum
Topic: How to block codecs in dial plans? *SOLVED*
Replies: 15
Views: 17907

Refer to the following page. Is is the list of codec payload types.
http://www.iana.org/assignments/rtp-par ... rameters-1
by tuie2
Mon Sep 17, 2012 11:59 am
Forum: Brekeke SIP Server Forum
Topic: How to block codecs in dial plans? *SOLVED*
Replies: 15
Views: 17907

Use $body in the Matching Pattern.

Code: Select all

$body( "(m=audio .+ RTP/AVP.* 3 )" ) = .+
If a SDP indicates GSM (3 is GMS's payloadtype), the above $body matches.
by tuie2
Tue Feb 23, 2010 8:43 pm
Forum: Brekeke PBX Forum
Topic: Error 401 Authentication on ITSP ARS Setup
Replies: 5
Views: 6561

Sunny,

Disable Authentication at SIP Server's [Configuration] > [SIP] page.
REGISTER = off
INVITE = off

You will the info if you read the quick start guide...
by tuie2
Mon Jan 25, 2010 2:08 pm
Forum: Brekeke SIP Server Forum
Topic: 2 Network Card windows 2008 server
Replies: 2
Views: 3451

hi RE,

if two network cards are activated, you said one of them is a global IP address.

How about another? Is it a local IP address?
If yes, let me know the IP address.
by tuie2
Mon Jan 25, 2010 2:03 pm
Forum: Brekeke SIP Server Forum
Topic: Memory Leaks? (Page Faults)
Replies: 11
Views: 10817

Do you want to load balance between two Brekeke SIP Servers?