Cannot add registered clients

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
tcares
Posts: 8
Joined: Fri Jul 10, 2015 9:07 am
Location: San Diego

Cannot add registered clients

Post by tcares »

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
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

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
----------------------------------
tcares
Posts: 8
Joined: Fri Jul 10, 2015 9:07 am
Location: San Diego

Post by tcares »

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
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

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
tcares
Posts: 8
Joined: Fri Jul 10, 2015 9:07 am
Location: San Diego

Post by tcares »

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
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

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.
tcares
Posts: 8
Joined: Fri Jul 10, 2015 9:07 am
Location: San Diego

Post by tcares »

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
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

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.
Post Reply