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 & RegardsPada 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