Hello,

 

have a look here https://kamailio.org/docs/tutorials/5.5.x/kamailio-install-guide-git/

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of bayu p
Sent: Friday, February 18, 2022 10:10 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: [SR-Users] compiling SIP server source

 

Hello Expert, 

Please help to compiling SIP source code, install the code since I cannot found kamailio sbin file (to operate the package after installation)

 

 

Thanks & Regards

 

---------- Forwarded message ---------
Dari: bayu p <bayupmail@gmail.com>
Date: Kam, 17 Feb 2022 pukul 12.31
Subject: Re: [SR-Users] SIP server port service cannot be changed from default value (5060)
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>

 

Sorry, I left attachment the client port configuration, here it is the same as the SIP server port:

 

SIP server:

listen=udp:127.0.0.1:9060

voicemail.srv_port = "9060" desc "VoiceMail Port"

 

Pada tanggal Rab, 16 Feb 2022 pukul 19.18 Patrick Karton <patrickarton@hotmail.com> menulis:

There is no need to change source code for that.

 

 

First you have to change kamailio default port liké said before.

 

Second you restart kamailio.

 

Third you make sure your client connects kamailio on the new port you provided and not the default one.

 

Use sngprep to troubleshoot.

 

Le 16 févr. 2022 13:00, bayu p <bayupmail@gmail.com> a écrit :

When I changed the kamailio.cfg, then I performed tcpdump to tracing, found that "Type: 3 (Destination unreachable) Code: 3 (Port unreachable)".

That means, the defined port is cannot be reached by the client sip server side.

Any other process to change the port ?

 

 

Thanks & Regards

 

 

 

Pada tanggal Rab, 16 Feb 2022 pukul 18.53 bayu p <bayupmail@gmail.com> menulis:

It is my basic process, that  changes default port in kamailio.cfg, then I share this problem here. 

Does need more procedure to change the port besides assign other port in kamailio.cfg ?

How to compile the source, because there are many parameter use 5060 port in the source, it may need more changes further.

 

Pada tanggal Rab, 16 Feb 2022 pukul 15.59 Patrick Karton <patrickarton@hotmail.com> menulis:

you have to explicitly set the new port you want.

 

listen=udp:127.0.0.1:7070 


De : sr-users <sr-users-bounces@lists.kamailio.org> de la part de bayu p <bayupmail@gmail.com>
Envoyé : mercredi 16 février 2022 09:16
À : sr-users@lists.kamailio.org <sr-users@lists.kamailio.org>
Objet : [SR-Users] SIP server port service cannot be changed from default value (5060)

 

 

Hello Experts,

Please help me to change port service from default 5060 port into other port due to security reason. Since I have change port in kamailio.cfg file, but services cannot fly normally that shown client unable login online (status not online).

Besides, I need to run the kamailio services after install default kamailio, I have not found where procedure found in this installation process on github.com/kamailio

Could you please share if there another steps of compiling Kamailio source, install, deploy process, and running command for this specific installation process?

Thanks
Gb

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

 

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users