Re: Will kamailio handle sip messages if Request contains public Ip

Yuriy G via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <CABSP_VdpRxQxoeezBK+TifzzjZN2hsJNghY65M2QnBBBN=R4tg@mail.gmail.com>
Use it via advertise option for listen

https://github.com/kamailio/kamailio-wiki/blob/main/docs/cookbooks/5.8.x/core.md#listen

On Wed, Jun 4, 2025, 12:33 Fernando Lopes via sr-users <
[email protected]> wrote:

> Sadly didn't work, i have this
> auto_aliases=no
> alias=1x5.2x6.1x8.1x3:5060
> alias=10.0.0.4:5060
>
> # FIXED: Listen on all interfaces to accept traffic to public IP
> listen=udp:10.0.0.4:5060
> listen=tcp:10.0.0.4:5060
> advertised_address=1x5.2x6.1x8.1x3
> but my ping options works internaly, don't know if helps
>  DEBUG: <core> [core/tcp_main.c:2879]: tcpconn_do_send(): buf=#012OPTIONS
> sip:10.0.0.4:5061;transport=tcp SIP/2.0#015#012Via: SIP/2.0/TCP
> 1x5.2x6.1x8.1x3;branch=z9hG4bK2ca3.69a27417000000000000000000000000.0#015#012To:
> <sip:10.0.0.4:5061;transport=tcp>#015#012From: <sip:[email protected]>;tag=a1745d152aa5696fb4c9575d03ef65c9-c87f87cc#015#012CSeq:
> 10 OPTIONS#015#012Call-ID:
> [email protected]#015#012Max-Forwards
> <http://[email protected]#015%23012Max-Forwards>:
> 70#015#012Content-Length: 0#015#012User-Agent: kamailio (5.7.4
> (x86_64/linux))#015#012#015#012
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions --
> [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
>

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.