> On Jun 4, 2025, at 11:59 AM, Fernando Lopes via sr-users > <sr-users@lists.kamailio.org> wrote: > > Kamailio isn’t working on my Azure VM, even though it’s set up to use port > 5060. The network rules on Azure have both inbound and outbound traffic open > for all protocols. I also tried using advertised_address, but that didn’t > help either. It looks like no traffic is even hitting Kamailio — none of the > routing blocks are triggered. > > > Kamailio.cfg > alias=<PUBLIC-IP> > listen=udp:10.0.0.4:5060 advertise <PUBLIC-IP>:5060 > listen=tcp:10.0.0.4:5060 advertise <PUBLIC-IP>:5060 > > Sip Message: > 2025/06/04 15:50:37.870679 64.16.250.10:5060 -> 10.0.0.4:5060 > INVITE sip:+351200600020@<PUBLIC-IP>:5060 SIP/2.0 > Record-Route: <sip:64.16.250.10;r2=on;lr;ftag=DpHvv09240egQ> > Record-Route: <sip:10.255.0.2;r2=on;lr;ftag=DpHvv09240egQ> > Via: SIP/2.0/UDP > 64.16.250.10;branch=z9hG4bKd59a.fb67bf395ea20488a7a5ebf76b9b5685.0 > v:SIP/2.0/UDP > 10.239.196.24:6000;received=10.239.196.24;rport=6000;branch=z9hG4bKy9ZvBZcgretvr > Max-Forwards:48 > f:"+351908020050"<sip:+351908020...@sip.telnyx.com>;tag=DpHvv09240egQ > t:<sip:+351200600020@<PUBLIC-IP>:5060> > i:122d71bb-4f3d-473f-8853-9137023f1f14 > CSeq:99972326 INVITE > m:<sip:mod_sofia@10.239.196.24:6000> > Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REFER,NOTIFY > k:timer,path > u:talk,hold,conference,refer > Privacy:none > c:application/sdp > Content-Disposition:session > l:202 > P-Asserted-Identity:"+351908020050"<sip:+351908020...@sip.telnyx.eu;verstat=No-TN-Validation> > > v=0 > o=Telnyx 1749019739 1749019740 IN IP4 50.114.147.4 > s=Telnyx > c=IN IP4 50.114.147.4 > t=0 0 > m=audio 32498 RTP/AVP 9 > a=rtpmap:9 G722/8000 > a=sendrecv > a=rtcp:32499 IN IP4 50.114.147.4 > a=ptime:20
I’d suggest you increase logging as well as make sure that the system is even seeing the traffic. Something like sngrep will let you see that the NIC is seeing it. You will then need to confirm nothing is blocking kamailio (ufw,iptables,etc) from seeing the packets. And then, if Kamailio is seeing it, advise of the error and or message. Fred Posner Tel: +1 (352) 664-3733 Alt: +1 (224) 334-3733 Contact info at https://fredp.xyz __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!