<p></p>
<p dir="auto">Hello dear Kamailio Community. I am faced with the problem. Kamailio perfectly copes with ims server task. But 5 phone call does not work. I used the sngrep to track traffic, found that on the 5th call, instead of UPDATE, there is a CANCEL with Reason: RELEASE_CAUSE ;cause=3 ;text="Media bearer loss". All packets from the start of the call are the same up to this point.</p>
<p dir="auto">Here is a detailed description of the normal call and bad call package.</p>
<p dir="auto">Normal call package</p>
<pre class="notranslate"><code class="notranslate">2022/07/04 08:55:04.887359 192.168.101.3:5060 -> 172.22.0.21:5060
UPDATE sip:1337@192.168.101.2:7700;alias=192.168.101.2~7700~2 SIP/2.0
Max-Forwards: 70
To: <tel:1337;phone-context=ims.mnc001.mcc001.3gppnetwork.org>;tag=aa64262d
From: <sip:1339@ims.mnc001.mcc001.3gppnetwork.org>;tag=908707735
Call-ID: 908707729_2065538424@192.168.101.3
CSeq: 908707731 UPDATE
P-Access-Network-Info: 3GPP-E-UTRAN-FDD; utran-cell-id-3gpp=0010100010019B01
Content-Length: 463
Via: SIP/2.0/TCP 192.168.101.3:5060;branch=z9hG4bK495826873
Route: <sip:mo@172.22.0.21;transport=tcp;r2=on;lr=on;ftag=908707735;rm=8;did=e99.70a>,<sip:mo@172.22.0.21;r2=on;lr=on;ftag=908707735;rm=8;did=e99.70a>,<sip:mo@172.22.0.20:6060;transport
cp;r2=on;lr=on;ftag=908707735;did=e99.83e1>,<sip:mo@172.22.0.20:6060;r2=on;lr=on;ftag=908707735;did=e99.83e1>,<sip:mt@172.22.0.20:6060;lr=on;ftag=908707735;did=e99.93e1>,<sip:mt@172.22.
21;r2=on;lr=on;ftag=908707735;rm=7;did=e99.80a>,<sip:mt@172.22.0.21:5100;transport=tcp;r2=on;lr=on;ftag=908707735;rm=7;did=e99.80a>
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,PRACK,MESSAGE,REFER,NOTIFY,INFO,OPTIONS
User-Agent: XXXX
Content-Type: application/sdp
Require: precondition
Contact: <sip:XXXX@192.168.101.3:5060>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";audio;video
</code></pre>
<p dir="auto">Broken Call Package</p>
<pre class="notranslate"><code class="notranslate">2022/07/04 08:55:21.187316 192.168.101.3:5060 -> 172.22.0.21:5060
CANCEL tel:1337;phone-context=ims.mnc001.mcc001.3gppnetwork.org SIP/2.0
Content-Length: 453
Content-Type: application/sdp
Reason: RELEASE_CAUSE ;cause=3 ;text="Media bearer loss"
From: <sip:1339@ims.mnc001.mcc001.3gppnetwork.org>;tag=908718152
To: <tel:1337;phone-context=ims.mnc001.mcc001.3gppnetwork.org>
Call-ID: 908718145_2063316408@192.168.101.3
Max-Forwards: 70
CSeq: 908718145 CANCEL
Via: SIP/2.0/TCP 192.168.101.3:5060;branch=z9hG4bK1317538702;rport=5060
Route: <sip:172.22.0.21:5060;lr>,<sip:orig@scscf.ims.mnc001.mcc001.3gppnetwork.org:6060;lr>
User-Agent: XXXX
</code></pre>
<p dir="auto">I was looking for the reason in p-cscf, but I came to a dead end.<br>
Please tell me what the reasons for this "Media bearer loss" may be or what documentation is worth reading.<br>
I didn't find anything on the official documentation</p>

<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/3176">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPW3O2UKGKPKGBGXADVST4QDANCNFSM52YFPQ3Q">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZIEE5OOFPQF6FBJNFDVST4QDA5CNFSM52YFPQ32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4TJRGTGA.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/3176</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/3176",
"url": "https://github.com/kamailio/kamailio/issues/3176",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>