Hello,
use some tools like ngrep, sgrep etc.. to see if the traffic is actually reaching the server. Maybe its not Kamailio fault.
Cheers,
Henning
-----Original Message----- From: Fernando Lopes via sr-users sr-users@lists.kamailio.org Sent: Mittwoch, 4. Juni 2025 17:59 To: sr-users@lists.kamailio.org Cc: Fernando Lopes fernandolopes20003@gmail.com Subject: [SR-Users] Why won't this work
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=z9hG4bKy 9ZvBZcgretvr Max-Forwards:48 f:"+351908020050"sip:+351908020050@sip.telnyx.com;tag=DpHvv0924 0egQ 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,NOT IFY k:timer,path u:talk,hold,conference,refer Privacy:none c:application/sdp Content-Disposition:session l:202 P-Asserted- Identity:"+351908020050"sip:+351908020050@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 __________________________________________________________ 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!