[SR-Users] compiling SIP server source

Henning Westerholt hw at gilawa.com
Fri Feb 18 11:45:52 CET 2022


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<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of bayu p
Sent: Friday, February 18, 2022 10:10 AM
To: Kamailio (SER) - Users Mailing List <sr-users at 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 at gmail.com<mailto:bayupmail at 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 at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>>

Sorry, I left attachment the client port configuration, here it is the same as the SIP server port:
[cid:image001.png at 01D824BD.1431DA60]

SIP server:
listen=udp:127.0.0.1:9060<http://127.0.0.1:9060>
voicemail.srv_port = "9060" desc "VoiceMail Port"

Pada tanggal Rab, 16 Feb 2022 pukul 19.18 Patrick Karton <patrickarton at hotmail.com<mailto:patrickarton at 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 at gmail.com<mailto:bayupmail at 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 at gmail.com<mailto:bayupmail at 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 at hotmail.com<mailto:patrickarton at hotmail.com>> menulis:
you have to explicitly set the new port you want.

listen=udp:127.0.0.1:7070<http://127.0.0.1:7070>
________________________________
De : sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> de la part de bayu p <bayupmail at gmail.com<mailto:bayupmail at gmail.com>>
Envoyé : mercredi 16 février 2022 09:16
À : sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org> <sr-users at lists.kamailio.org<mailto:sr-users at 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).
<https://user-images.githubusercontent.com/76675592/154027407-24ab423b-302b-435e-bad4-5dcb22a5ad3d.png>

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. <https://user-images.githubusercontent.com/76675592/154027407-24ab423b-302b-435e-bad4-5dcb22a5ad3d.png>

Could you please share if there another steps of compiling Kamailio source, install, deploy process, and running command for this specific installation process?<https://user-images.githubusercontent.com/76675592/154027407-24ab423b-302b-435e-bad4-5dcb22a5ad3d.png>

Thanks
Gb<https://user-images.githubusercontent.com/76675592/154027407-24ab423b-302b-435e-bad4-5dcb22a5ad3d.png>
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users at 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<https://user-images.githubusercontent.com/76675592/154027407-24ab423b-302b-435e-bad4-5dcb22a5ad3d.png>
 <https://user-images.githubusercontent.com/76675592/154027407-24ab423b-302b-435e-bad4-5dcb22a5ad3d.png>
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users at 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<https://user-images.githubusercontent.com/76675592/154027407-24ab423b-302b-435e-bad4-5dcb22a5ad3d.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220218/2d8b70c3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7900 bytes
Desc: image001.png
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220218/2d8b70c3/attachment.png>


More information about the sr-users mailing list