Brekeke Server not repsonding to regisrtration requests

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Brekeke Server not repsonding to regisrtration requests

Post by Rakesh »

1. Brekeke Product Name and Version: V3.3.5.8 (Evaluation)

2. Java version:

3. OS type and the version: Windows XP

4. UA (phone), gateway or other hardware/software involved: UA

5. Your problem:


I have installed Brekeke Server ( Version 3.3.5.8 Evaluation) on Windows XP PC. The server is not responding to the registration messages sent form the User agent.

Please do let me know if any additional settings are required for the same.
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

Are you sure that REGISTER packets reached the SIP Server's PC?

Are there no response sent from the Brekeke SIP Server ? How about "401 Unauthorized"?

Are you sure there is no firewall running on the Windows XP?
Let you disable "Windows Firewall"

Are you sure that REGISTER's request-URI points the SIP Server's IP address or FQDN?

Which transport (UDP, TCP or TLS) does the SIP UA use for sending REGISTER?

Which UA product are you using?
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

Thanks for the inputs.
After disabling the firewall on the PC, Server is responding to registration requests.
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

If you want to keep using a firewall.
http://wiki.brekeke.com/wiki/Using-Brek ... a-firewall
User avatar
KentC
Posts: 108
Joined: Fri Dec 09, 2011 2:27 pm
Location: rw-rw-rw-

Post by KentC »

Here's the needed details if you wish to use XP with Firewall : RECOMMENDED

BREKEKE WIKI LINK:
http://wiki.brekeke.com/wiki/Using-Brek ... a-firewall



Using Brekeke product with a firewall
If you are using a firewall in the same machine where Brekeke product is working on,

STEPS:

Add "java.exe" as a trusted program in the firewall settings.
Open the following ports at the firewall.
UDP/TCP:5060 (for SIP packet)
UDP:10000-10999 (for RTP packet in Brekeke SIP Server v2)
UDP:10000-29999 (for RTP packet in Brekeke SIP Server v3)
If you are using other ports for Brekeke SIP Server, please set them at the firewall.

Here's the protocol to use for simplicity.
XP FIREWALL SETUP:

*HOW TO OPEN/CLOSE RTP 10000-10999 PORT RANGE IN COMMAND PROMPT*


OPEN RTP PORT RANGE [Run in Command Prompt]
FOR /L %I IN (10000,1,10999) DO netsh firewall add portopening UDP %I "Brekeke Sip Server RTP"%I

CLOSE RTP PORT RANGE [Run in Command Prompt]
FOR /L %I IN (10000,1,10999) DO netsh firewall delete portopening UDP %I "Brekeke Sip Server RTP"%I

Two commands to open/close port range since XP Firewall doesn't allow this via GUI. Just replace the port range with first port where 10000 and last port where 10999. That's what I have setup since I'm on v2. May you set the port range with the v3 port range or your custom range if you are using dynamic ports.

Revert back if you face issues with setting this up.

Thanks,
Kent C.
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Brekeke server not responding to Registration messgages

Post by Rakesh »

Earlier after disabling the firewall V3.3.5.8 (Evaluation) , SIP server was working fine. But now again the same issue of SIP server not responding to registratiom messages has cropped up.

What other changes do you suggest for this version with firewall setting disabled ?
What could be the reason for the SIP server not responding now , since it was working fine earlier ?
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

Check the SIP Server's Interface address at the [Status] page.
Is it the IP address you sent REGISTER packet to?
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Brekeke server not responding to Registration messgages

Post by Rakesh »

Yes the IP address is the same.
Able to capture the Register requests on the same PC where SIP server is installed , but the Server is not responding to register messages.

One more interesting point I noticed is, the SIP server is repsonding to register requests from few User agents , but not for the other User agents.
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

Which SIP client product are you using?
Does the same issue happen even if you use Linphone or X-Lite?
Do you have any DialPlan rules which catch REGISTER?
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

We are using Vendor specific SIP User agents.
Haven't tried with Linphone or X-Lite yet.
We have dial plan rules set for Invite, nothing set for Register.


Note: The same user agents which were working earlier with the same number registered , is not working now.
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

One more point which I noticed now is, if the IP of the same UA is changed, than the SIP Server is responding to the registration requests sent by the UA.

Request for your reviews on the observed behaviour.
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

Are there any IP addresses listed in the [Block List]->[Blocked IP Address] page?

How about the IP address of the SIP client?

If so, the SIP Server blocked them.
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

The blocked list had the list of the IP's of the user agents for which we were facing the issue. Not sure what made them to get blocked.

Anyways, thanks Harold for your valuable inputs.
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

Forgot to mention, after clearing the blocked list its working fine.
Thanks once again
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

The BlockList may block your UA's IP addresses again.

so let you add them in the [Filtering Policy] as allowed IP address.
or tweak "Attempt Monitoring" at the [Settings] page.

http://wiki.brekeke.com/wiki/BlockList
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Brekeke server sending 403 Forbidden

Post by Rakesh »

Hi,

When the registration requests from User agent is coming with Domain name, the Brekeke SIP server is responding with 403 Forbidden message.
But when the registraion requests has domain name as IP address , the server is responding to the requests properly.

Note: Have entered the correct domain name in the Server.
Configuration-->SIP-->Realm(Ex:Domain name) tab.

Please let me know if any other setting is required for the server to respond to the domain names as URI.

Thanks,
Rakesh
llucy
Posts: 52
Joined: Fri Jan 31, 2014 1:08 am

Post by llucy »

I don't think you need to set Realm to use your domain.

I think the SIP server does not consider the domain as its own domain. Can you try adding the domain as an interface at [Configuration]?

Lucy
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

Thanks for the inputs. Its working now.
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

Hi,

The issue has again cropped up , even after adding the domain as an interface at [Configuration].

The registration requests from User agent is coming with Domain name, and the Brekeke SIP server is responding with 403 Forbidden message.

As mentioned earlier,when the registraion requests has domain name as IP address , the server is responding to the requests properly.

Please let me know if any other setting is required for the server to respond to the domain names as URI.

Thanks,
Rakesh
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

Is the SIP server located behind NAT?
Is the doman's IP address always same?
Does the issue happen if you use SIP Auth for REGISTER?

Explain the issue clearly.
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

Is the SIP server located behind NAT?

User Agent, SIP Server are in the same subnet. NAT is not required.

Is the doman's IP address always same? Yes

Does the issue happen if you use SIP Auth for REGISTER? Yes, Issue occurs even when the SIP Auth is On/Off.
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

Does the SIP Server use own global IP address?
Is the SIP Server's domain name associated with this IP address?

Does the SIP client UA use own global IP address?

What kind of SIP client UA are you using?
Does the same issue happen if you use another SIP client such as X-Lite?
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

Does the SIP Server use own global IP address?

This is a lab setup, which has localised subnet. SIP Server, UA's are within the same subnet. SIP Server has its own adress


Is the SIP Server's domain name associated with this IP address? Yes

Does the SIP client UA use own global IP address? Yes, UA has its own address with resons mentioned in earlier question.

What kind of SIP client UA are you using? ONT's which has SIP UA running on it.

Does the same issue happen if you use another SIP client such as X-Lite? Haven't tried.

Note: The same setup was working earlier , when the domain was added as an interface at [Configuration].
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

Why do you use a domain in SIP request?
Since SIP server and SIP UA are on the same LAN, you don't have to use a domain.

It seems domain is associated with a global IP not local IP.
Rakesh
Posts: 23
Joined: Wed Nov 12, 2014 12:26 am

Post by Rakesh »

We are using Domain name as part of testing the UA functionalities
This is a localised lab setup.
Post Reply