I have an Azure VM with a public IP of 1x5.2x6.1x8.1x3 and a local IP of 10.0.0.4. The SIP message received looks like this: INVITE sip:750046850780334@1x5.2x6.1x8.1x3:5060 SIP/2.0
Will Kamailio handle this SIP message, or will it ignore it? Right now, Kamailio is not doing anything with these messages. If it’s supposed to handle them, can someone help me fix this issue?
You have to advertise it https://github.com/kamailio/kamailio-wiki/blob/main/docs/cookbooks/5.8.x/cor...
On Wed, Jun 4, 2025, 12:02 Fernando Lopes via sr-users < sr-users@lists.kamailio.org> wrote:
I have an Azure VM with a public IP of 1x5.2x6.1x8.1x3 and a local IP of 10.0.0.4. The SIP message received looks like this: INVITE sip:750046850780334@1x5.2x6.1x8.1x3:5060 SIP/2.0
Will Kamailio handle this SIP message, or will it ignore it? Right now, Kamailio is not doing anything with these messages. If it’s supposed to handle them, can someone help me fix this issue? __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Missed the link to advertised_address and put adverised_port instead. However do "find" by "advertise" word
On Wed, Jun 4, 2025, 12:04 Yuriy G ovoshlook@gmail.com wrote:
You have to advertise it
https://github.com/kamailio/kamailio-wiki/blob/main/docs/cookbooks/5.8.x/cor...
On Wed, Jun 4, 2025, 12:02 Fernando Lopes via sr-users < sr-users@lists.kamailio.org> wrote:
I have an Azure VM with a public IP of 1x5.2x6.1x8.1x3 and a local IP of 10.0.0.4. The SIP message received looks like this: INVITE sip:750046850780334@1x5.2x6.1x8.1x3:5060 SIP/2.0
Will Kamailio handle this SIP message, or will it ignore it? Right now, Kamailio is not doing anything with these messages. If it’s supposed to handle them, can someone help me fix this issue? __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
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:kamailio@10.0.0.4;tag=a1745d152aa5696fb4c9575d03ef65c9-c87f87cc#015#012CSeq: 10 OPTIONS#015#012Call-ID: 3697af2c371834bb-1772762@10.0.0.4#015#012Max-Forwards: 70#015#012Content-Length: 0#015#012User-Agent: kamailio (5.7.4 (x86_64/linux))#015#012#015#012
Use it via advertise option for listen
https://github.com/kamailio/kamailio-wiki/blob/main/docs/cookbooks/5.8.x/cor...
On Wed, Jun 4, 2025, 12:33 Fernando Lopes via sr-users < sr-users@lists.kamailio.org> 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:kamailio@10.0.0.4;tag=a1745d152aa5696fb4c9575d03ef65c9-c87f87cc#015#012CSeq: 10 OPTIONS#015#012Call-ID: 3697af2c371834bb-1772762@10.0.0.4#015#012Max-Forwards http://3697af2c371834bb-1772762@10.0.0.4#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 -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
It still didn't work. The weird part is that it's not even entering the route block.
It won't if it doesn't match anything kamailio associated with.
However advertise keyword works normally within the configuration.
On Wed, Jun 4, 2025, 13:05 Fernando Lopes via sr-users < sr-users@lists.kamailio.org> wrote:
It still didn't work. The weird part is that it's not even entering the route block. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!