Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Cannot add registered clients
Author Message
tcares
Brekeke Junior Member


Joined: 10 Jul 2015
Posts: 8
Location: San Diego

PostPosted: Fri Jul 10, 2015 9:11 am    Post subject: Cannot add registered clients Reply with quote

1. Brekeke Product Name and Version: SIP Server 3.4.6.3

2. Java version:1.7.0.79

3. OS type and the version: Linux

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

5. Your problem:

User manual says you can add registered clients on the "New Client" page. I do not see that page in my admin tool. There is just a Registered Clients page with no users displayed.

_________________
Tim
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Fri Jul 10, 2015 2:50 pm    Post subject: Reply with quote

You need to register a SIP client by sending REGISTER packet from a SIP client.

Brekeke removed "New Client" page from recent versions because a user may not know the actual SIP port number of the client.

If your SIP client doesn't send REGISTER, use the DialPlan to specify the IP address/port of the client.


FYI:
If you put the following line in the [Configuration]->[Advanced] page, the [Manual Register] page will be shown under [Registered Clients].
----------------------------------
sipadmin.reg.manual=true
----------------------------------
Back to top
View user's profile
tcares
Brekeke Junior Member


Joined: 10 Jul 2015
Posts: 8
Location: San Diego

PostPosted: Fri Jul 10, 2015 3:29 pm    Post subject: Reply with quote

Okay, thank you James. They should really update their user manual then, especially if they removed that feature several versions ago.

Our intention is to pre-add several thousand SIP clients before they actually are communicating. So, sending the REGISTER packet from the client will not work for us.

But it sounds like we can put in that line in the Configuration, we can do this? Is there a way to do a mass import (say from an external file) of clients?

_________________
Tim
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Fri Jul 10, 2015 5:25 pm    Post subject: Reply with quote

Which transport are they using? (TCP, TLS, UDP??)
Do you know an IP address of each SIP client?
Do you know a local SIP port of each SIP client?

If you don't know them, a manual registration doesn't work.

If you know them, you can do a mass import to the database directly.
The Register Table is "t_registered".
http://www.brekeke.com/doc/sip/3rd_party_database.pdf
Back to top
View user's profile
tcares
Brekeke Junior Member


Joined: 10 Jul 2015
Posts: 8
Location: San Diego

PostPosted: Tue Jul 14, 2015 9:18 am    Post subject: Reply with quote

Anticipate the clients will use TLS for security purposes.
We don't know the IP address of each client as they will be inside an LTE network (thus, there is no public IP accessible). But that should not matter as long as the client has a specified sip: address.
We will probably just use the default 5060 port. Or 5061, which I guess i the standard for TLS.

Thanks for the info on the database.

_________________
Tim
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Tue Jul 14, 2015 10:32 am    Post subject: Reply with quote

Since a client is behind an LTE network, the SIP sever doesn't know the reachable port number of the client. (because LTE's NAT manages a port mapping.)

To avoid this issue, a client needs to send REGISTER to the SIP Server.
With a REGISTER sent from a client, the SIP Server uses the remote IP address/port for reaching the client.

Adding client records to the database without REGISTER will not work in your case.
Back to top
View user's profile
tcares
Brekeke Junior Member


Joined: 10 Jul 2015
Posts: 8
Location: San Diego

PostPosted: Tue Jul 14, 2015 11:09 am    Post subject: Reply with quote

Okay, if that is the case, we may not be able to use the Brekeke SIP Server. I will need to investigate further if we can send a REGISTER as part of the on-boarding process of the devices.
_________________
Tim
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Tue Jul 14, 2015 2:04 pm    Post subject: Reply with quote

Even if you use another protocol, you may need to send a packet from a client first if a client is behind NAT (or doesn't have a public IP address.)

With this packet, LTE's NAT creates a port-mapping which allows to reach the client from the server.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1