[SR-Users] SIP server port service cannot be changed from default value (5060)

bayu p bayupmail at gmail.com
Fri Feb 18 23:40:44 CET 2022


I tried for couple time, it still not working/fly kamailio by changing
kamailio.cfg, and port SIP client. As captured previously.

On Thu, Feb 17, 2022, 12:31 bayu p <bayupmail at gmail.com> wrote:

> Sorry, I left attachment the client port configuration, here it is the
> same as the SIP server port:
> [image: image.png]
>
> 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 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> 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>
>> 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> menulis:
>>
>> you have to explicitly set the new port you want.
>>
>> listen=udp:127.0.0.1:7070
>> ------------------------------
>> *De :* sr-users <sr-users-bounces at lists.kamailio.org> de la part de bayu
>> p <bayupmail at gmail.com>
>> *Envoyé :* mercredi 16 février 2022 09:16
>> *À :* sr-users at lists.kamailio.org <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).
>> [image: image]
>> <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.
>>
>> 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 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
>>
>>
>> __________________________________________________________
>> 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220219/131a4358/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7900 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220219/131a4358/attachment.png>


More information about the sr-users mailing list