<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
font-size:11.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:567419214;
mso-list-type:hybrid;
mso-list-template-ids:1871581178 470351887 470351897 470351899 470351887 470351897 470351899 470351887 470351897 470351899;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-ZA" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi there,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We’re encountering a curious issue with SIPREC in upgrading from 3.2 to 3.4.4 and I was hoping someone would be able to shed some light on it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">There are two symptoms:<o:p></o:p></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo1"><span lang="EN-US">Errors in the opensips log<o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo1"><span lang="EN-US">SIPREC invite with correct SDP details (as per rtpengine log) but stream metadata missing from the XML metadata<o:p></o:p></span></li></ol>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The errors in the log are as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Apr 22 21:33:50 vltelcceprd211 /usr/sbin/opensips[902536]: ERROR:rtp_relay:rtp_relay_copy_offer: rtp not established!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Apr 22 21:33:50 vltelcceprd211 /usr/sbin/opensips[902536]: ERROR:siprec:src_start_recording: could not start recording!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Apr 22 21:33:50 vltelcceprd211 /usr/sbin/opensips[902536]: ERROR:siprec:tm_start_recording: cannot start recording!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The curious part is that the above error happens before the 200 OK is received. The relevant SIP trace is:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">12 21:33:50.208348 10.1.17.15 5060 10.249.224.9 54204 SIP/SDP 1125 Request: INVITE
<a href="sip:1125@10.249.224.9:54204;ob">sip:1125@10.249.224.9:54204;ob</a> |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">…Snip…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">21 21:33:53.262560 10.1.17.15 5060 10.1.17.12 5060 SIP/SDP 1073 Status: 200 OK (INVITE) |
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The SIPREC invite is still generated though but is missing stream details (participant details masked with +27XXXXXXXXX for privacy):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Session Initiation Protocol (SIP as raw text)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> INVITE <a href="sip:10.1.17.24:5060">
sip:10.1.17.24:5060</a> SIP/2.0 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Via: SIP/2.0/UDP 10.1.17.15:5060;branch=z9hG4bK0235.aca30813.0
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> To: <a href="sip:10.1.17.24:5060">sip:10.1.17.24:5060</a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> From: <a href="sip:10.1.17.24:5060">sip:10.1.17.24:5060</a>;tag=c5d35275eae8a009626d3007dc8441a2-ce21
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> CSeq: 2 INVITE <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Call-ID: B2B.364.22430.1713814432.535273629
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Max-Forwards: 70 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Content-Length: 1995 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> User-Agent: OpenSIPS (3.4.4 (x86_64/linux))
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Require: siprec <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Content-Type: multipart/mixed;boundary=OSS-unique-boundary-42
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Contact: <a href="sip:10.1.17.15:5060">
sip:10.1.17.15:5060</a>;+sip.src <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> --OSS-unique-boundary-42 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Content-Type: application/sdp <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> v=0 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> o=- 7360776941148045834 7360776941148045834 IN IP4 10.1.17.8
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> s=rtpengine-12-3-1-2-0-mr12-3-1-2-1-el9
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> t=0 0 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> m=audio 31432 RTP/AVP 8 101 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> c=IN IP4 10.1.17.8 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=label:0 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=rtpmap:8 PCMA/8000 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=rtpmap:101 telephone-event/8000 <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=fmtp:101 0-16 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=ssrc:1120210035 cname:060168be20ab122b
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=sendonly <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=rtcp:31433 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> m=audio 36760 RTP/AVP 8 101 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> c=IN IP4 10.1.17.8 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=label:1 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=rtpmap:8 PCMA/8000 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=rtpmap:101 telephone-event/8000 <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=fmtp:101 0-16 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=sendonly <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=rtcp:36761 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a=ptime:20 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> --OSS-unique-boundary-42 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Content-Type: application/rs-metadata+xml
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Content-Disposition: recording-session
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <?xml version="1.0" encoding="UTF-8"?>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <recording xmlns='urn:ietf:params:xml:ns:recording:1'>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <datamode>complete</datamode> <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <session session_id="bjfrXRxoRe26JWSzzS2Cag==">
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <sipSessionID>2d409cb6-b066-4579-8c49-c6e6a7b9d600</sipSessionID>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </session> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <participant participant_id="FYGs/tYNSeym0Ty1p+NTIw==">
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <nameID aor=<a href="sip:+27XXXXXXXXX@10.1.17.12">sip:+27XXXXXXXXX@10.1.17.12</a>>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <name>+27XXXXXXXXX</name> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </nameID> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </participant> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <participant participant_id="F2NjJh6eQBmXVzUNZUDmMA==">
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <nameID aor=<a href="sip:1125@sipcce.metmom.mmih.biz">sip:1125@sipcce.metmom.mmih.biz</a>/>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </participant> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <sessionrecordingassoc session_id="bjfrXRxoRe26JWSzzS2Cag==">
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <associate-time>2024-04-22T21:33:50+0200</associate-time>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </sessionrecordingassoc> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <participantsessionassoc participant_id="FYGs/tYNSeym0Ty1p+NTIw==" session_id="bjfrXRxoRe26JWSzzS2Cag==">
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <associate-time>2024-04-22T21:33:50+0200</associate-time>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </participantsessionassoc> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <participantsessionassoc participant_id="F2NjJh6eQBmXVzUNZUDmMA==" session_id="bjfrXRxoRe26JWSzzS2Cag==">
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <associate-time>2024-04-22T21:33:50+0200</associate-time>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </participantsessionassoc> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <participantstreamassoc participant_id="FYGs/tYNSeym0Ty1p+NTIw==">
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </participantstreamassoc> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <participantstreamassoc participant_id="F2NjJh6eQBmXVzUNZUDmMA==">
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </participantstreamassoc> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </recording> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> --OSS-unique-boundary-42-- <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a configuration item we’re missing perhaps?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-ZA">Kind regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-ZA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-ZA">Luis Leal<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>