<p></p>
<h3 dir="auto">Description</h3>
<p dir="auto">This issue has already been reported in the past both on GitHub ( Issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="821853960" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2659" data-hovercard-type="issue" data-hovercard-url="/kamailio/kamailio/issues/2659/hovercard" href="https://github.com/kamailio/kamailio/issues/2659">#2659</a> ) and on the <a href="https://lists.kamailio.org/pipermail/sr-users/2022-April/114620.html" rel="nofollow">mailing list</a>.<br>
We are experiencing some issues with UPDATE messages being sent by the PSTN after an early media announcement.<br>
To reproduce the issue we can call a specific number that has an early media announcement, since it's a paid phone number it has to announce how much it would cost before picking up the call. In this initial part the call is being negotiated in g711a.<br>
As soon as the announcement ends, the PSTN sends an UPDATE message containing the new desired codec (g729) for the actual call.<br>
Kamailio doesn't route the UPDATE message to the destination and it instead replies with a 404 message.</p>
<p dir="auto">If topos is disabled the update message gets routed correctly.</p>
<h4 dir="auto">SIP Traffic</h4>
<p dir="auto">I've attached a pcap with anonymized IPs to make it harder for bots.<br>
Here is a legend for the IPs:</p>
<ul dir="auto">
<li>12.34.123.123 is Kamailio</li>
<li>62.23.19.74 is the PSTN</li>
<li>1.2.130.40 is the client making the call</li>
</ul>
<p dir="auto"><a href="https://github.com/kamailio/kamailio/files/8522365/errorupdate_anon.zip">errorupdate_anon.zip</a></p>
<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.5.4 (x86_64/linux)
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_BLOCKLIST, 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: unknown
compiled with gcc 10.2.1
</code></pre>
<ul dir="auto">
<li><strong>Operating System</strong>:</li>
</ul>
<pre><code>Linux 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) 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/3090">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNUEXSG6HD3FLOPFVTVGAIGDANCNFSM5T4HXDRQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZOYHDF7KWIXCHGJ4BLVGAIGDA5CNFSM5T4HXDR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4SA3WNIQ.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/3090</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/3090",
"url": "https://github.com/kamailio/kamailio/issues/3090",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>