Author |
Message |
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Wed Nov 12, 2014 12:35 am Post subject: Brekeke Server not repsonding to regisrtration requests |
|
|
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. |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Wed Nov 12, 2014 11:46 am Post subject: |
|
|
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? |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Thu Nov 13, 2014 12:27 am Post subject: |
|
|
Thanks for the inputs.
After disabling the firewall on the PC, Server is responding to registration requests. |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
|
Back to top |
|
KentC Brekeke Guru
Joined: 09 Dec 2011 Posts: 108
Location: rw-rw-rw-
|
Posted: Fri Nov 14, 2014 4:55 pm Post subject: |
|
|
Here's the needed details if you wish to use XP with Firewall : RECOMMENDED
BREKEKE WIKI LINK:
http://wiki.brekeke.com/wiki/Using-Brekeke-product-with-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. |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Mon Dec 08, 2014 11:22 pm Post subject: Brekeke server not responding to Registration messgages |
|
|
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 ? |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Tue Dec 09, 2014 1:13 am Post subject: |
|
|
Check the SIP Server's Interface address at the [Status] page.
Is it the IP address you sent REGISTER packet to? |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Tue Dec 09, 2014 2:33 am Post subject: Brekeke server not responding to Registration messgages |
|
|
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. |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Tue Dec 09, 2014 2:53 am Post subject: |
|
|
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? |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Tue Dec 09, 2014 4:10 am Post subject: |
|
|
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. |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Tue Dec 09, 2014 4:17 am Post subject: |
|
|
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. |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Tue Dec 09, 2014 11:17 am Post subject: |
|
|
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. |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Wed Dec 10, 2014 12:43 am Post subject: |
|
|
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. |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Wed Dec 10, 2014 12:44 am Post subject: |
|
|
Forgot to mention, after clearing the blocked list its working fine.
Thanks once again |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Wed Dec 10, 2014 12:10 pm Post subject: |
|
|
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 |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Tue Dec 23, 2014 10:52 pm Post subject: Brekeke server sending 403 Forbidden |
|
|
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 |
|
Back to top |
|
llucy Brekeke Talented
Joined: 31 Jan 2014 Posts: 52
|
Posted: Wed Dec 24, 2014 12:42 pm Post subject: |
|
|
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 |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Fri Dec 26, 2014 12:07 am Post subject: |
|
|
Thanks for the inputs. Its working now. |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Thu Jan 29, 2015 12:09 am Post subject: |
|
|
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 |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Thu Jan 29, 2015 12:48 am Post subject: |
|
|
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. |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Thu Jan 29, 2015 3:35 am Post subject: |
|
|
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. |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Thu Jan 29, 2015 4:27 pm Post subject: |
|
|
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? |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Thu Jan 29, 2015 11:26 pm Post subject: |
|
|
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]. |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Fri Jan 30, 2015 1:51 am Post subject: |
|
|
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. |
|
Back to top |
|
Rakesh Brekeke Member
Joined: 12 Nov 2014 Posts: 23
|
Posted: Mon Feb 09, 2015 5:22 am Post subject: |
|
|
We are using Domain name as part of testing the UA functionalities
This is a localised lab setup. |
|
Back to top |
|
|