<p></p>

<h3 dir="auto">Description</h3>

<p dir="auto">I set up Kamailio IMS , in the end everything turned out great, calls are made, and I decided to check how Kamailio copes with the load. I am creating load using sipp application. There is no problem with a low call generation rate, but if you raise the call generation to more than 20 calls per second, some of the calls fail.</p>
<h3 dir="auto">Troubleshooting</h3>
<p dir="auto">Challenges are always dropped sequentially<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/92918808/161745286-264d6e9b-47bb-4fcb-923a-1f5ded4cd999.png"><img src="https://user-images.githubusercontent.com/92918808/161745286-264d6e9b-47bb-4fcb-923a-1f5ded4cd999.png" alt="image" style="max-width: 100%;"></a><br>
I compared the calls and saw that the ICSCF does not send a 180 Ringing message towards the SCSCF.<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/92918808/161745354-2f97f8d1-2eb4-4a53-a9b0-2cb9d9d536d6.png"><img src="https://user-images.githubusercontent.com/92918808/161745354-2f97f8d1-2eb4-4a53-a9b0-2cb9d9d536d6.png" alt="image" style="max-width: 100%;"></a><br>
Below is an example of a successful call.<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/92918808/161745412-20f0ecc6-3952-4e01-9c74-4f6fa6cfd3c8.png"><img src="https://user-images.githubusercontent.com/92918808/161745412-20f0ecc6-3952-4e01-9c74-4f6fa6cfd3c8.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">CPU, MEM indicators are normal. I increased the shr_mem and pkg_mem parameters.<br>
S-CSCF and I-CSCF communicate over UDP, but reside on the same server. It doesn't look like the packets are dropping or suffering from collisions.<br>
10.21.4.226 external IP P-CSCF<br>
10.10.0.1 IP P-CSCF<br>
10.10.0.2 IP S/I-CSCF</p>
<h4 dir="auto">Reproduction</h4>

<p dir="auto">Using the sipp application, generate 100 calls at a generation rate greater than 20 calls per second.</p>
<h4 dir="auto">Debugging Data</h4>

<pre><code>none
</code></pre>
<h4 dir="auto">Log Messages</h4>

<pre><code>attached below
</code></pre>
<p dir="auto"><a href="https://github.com/kamailio/kamailio/files/8417659/logs.zip">logs.zip</a></p>
<h4 dir="auto">SIP Traffic</h4>

<pre><code>attached below

</code></pre>
<p dir="auto"><a href="https://github.com/kamailio/kamailio/files/8417640/call_rejected.zip">call_rejected.zip</a></p>
<h3 dir="auto">Possible Solutions</h3>

<h3 dir="auto">Additional Information</h3>
<ul dir="auto">
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>version: kamailio 5.3.2 (x86_64/linux) 42be5d
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 42be5d 
compiled on 10:39:53 Dec 27 2021 with gcc 9.3.0
</code></pre>
<ul dir="auto">
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>Ubuntu 20.04.3 LTS Linux ims-core 5.4.0-104-generic #118-Ubuntu SMP Wed Mar 2 19:02:41 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3071">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJILGISBFFCL7QO6DLVDQRQHANCNFSM5SSPFSWA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZIFPJTPI7HAHJJNMSLVDQRQHA5CNFSM5SSPFSWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4RY4HFXA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3071</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3071",
"url": "https://github.com/kamailio/kamailio/issues/3071",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>