Hello,

 

Kamailio IP: 172.21.1.108, listening on port 5060

Asterisk IP’s: 172.21.1.97, and 172.21.1.124 both listening on port 5060

 

Here is a tcpdump which has the issue in it.  I did a MicroSip call, which did work, and the Error I am speaking of did happen.  Note: In this dump, I am running a cluster of 2 Asterisk Servers, however, this Error occurs even if I have only one Asterisk server with no dispatching, and rtpproxy turned off.  However if rtpproxy is on, after each call, I do see an additional error =>

 

Nov 14 08:45:08 vadev2 /usr/local/sbin/kamailio[20525]: ERROR: rtpproxy [rtpproxy.c:2536]: force_rtp_proxy(): incorrect port 0 in reply from rtp proxy

 

In trying to further understand Kamailio –

 

Also, if anyone has any input on my second question I would really appreciate it.

 

Thank you for looking at this,

 

-Steve

 

From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Sergey Safarov
Sent: Tuesday, November 14, 2017 1:33 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] Kamailio questions

 

Need to capture network traffic and analyse by wireshark.
Command to capture traffic

tcpdump -ni any host 172.1.1.13 -s 0 -w /tmp/traffic.pcap

 

вт, 14 нояб. 2017 г., 3:14 Wilkins, Steve <swwilkins@mitre.org>:

Hello,

 

I am new to Kamailio and to the Kamailio Mailing list and hope I am using it appropriately.

 

I am using Kamailio version 5.0.3 (x86_64/linux), and it is installed and working on a Centos 7 Sever.  I use Kamailio as a SIP Proxy Server for Asterisk and things seem to work fine, however, I do have an issue and a question for which I am trying to understand and am hoping someone can help me with.

 

For the sake of the argument, my server name is myServer, and it’s IP Address is 172.1.1.13; Asterisk is on a different server.

 

Issue:  Every 10 seconds I get an Error message in the Kamailio log which says =>

 

Nov 13 18:10:55 myServer /usr/local/sbin/kamailio[29188]: ERROR: <core> [core/tcp_main.c:2660]: tcpconn_1st_send(): connect 172.1.1.13:59794 failed (RST) Connection refused.

 

I do not know what triggers this error, and as mentioned, things do seem to work; I can make calls and use sip tools which pass requests through the Kamailio to Asterisk.  Does anyone know what could be causing this Error?  I do not understand what is trying to connect to what at such a high port.

 

 

Question: The way I understand it, rtpproxy is needed to pass video/audio through Kamailio to Asterisk.  However, even without rtpproxy running, I get video through to Asterisk and the video plays with no issues on a sip device (e.g. MicroSIP).  I am confused what I need rtpproxy for.

Note: Even with no rtpproxy, I get the same error mentioned above in the Issue section.

 

Thank you,

 

 

 

 

 

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users