<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:"\@MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></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="DE" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">I am not that familiar with the MSRP module, but have you tried to just log/access the $fU and $tU in the event_route[msrp:frame-in]?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Henning<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">-- <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Henning Westerholt –
</span><span style="mso-fareast-language:EN-US"><a href="https://skalatan.de/blog/"><span lang="EN-GB" style="color:#0563C1">https://skalatan.de/blog/</span></a></span><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Kamailio services –
</span><span style="mso-fareast-language:EN-US"><a href="https://gilawa.com/"><span lang="EN-GB" style="color:#0563C1">https://gilawa.com</span></a></span><span style="mso-fareast-language:EN-US">
<span lang="EN-GB"><o:p></o:p></span></span></p>
</div>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org>
<b>On Behalf Of </b>BOEINGNG<br>
<b>Sent:</b> Friday, September 17, 2021 10:57 AM<br>
<b>To:</b> sr-users@lists.kamailio.org<br>
<b>Subject:</b> [SR-Users] How to get $fU and $tU from MSRP module?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;margin-left:35.4pt;background:white">
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#313B45">Hello!<br>
I want to get $fU and $tU from event_route[msrp:frame-in] in order to filter out MSRP messages sent by a specific sender and received by a specific receiver, I know I can get message content from $msrp(buf), the message content is like this:<o:p></o:p></span></p>
<blockquote style="margin-left:0cm;margin-right:0cm;margin-bottom:12.0pt;box-sizing: border-box;color:var(--color-fg-muted);border-left:var(--color-border-default);font-variant-ligatures: normal;orphans: 2;widows: 2;text-decoration-thickness: initial">
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt;background:white;box-sizing: border-box">
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:black">MSRP 7a57f552155926c0 SEND<br>
To-Path: <a href="msrp://172.18.0.14:6060/9d8da4a34dc2102959e7;tcp">msrp://172.18.0.14:6060/9d8da4a34dc2102959e7;tcp</a>
<a href="msrp://172.18.0.12:5060/msrp-6142fc2b-84-1;tcp">msrp://172.18.0.12:5060/msrp-6142fc2b-84-1;tcp</a>
<a href="msrp://172.18.0.2:34862/2a67b54ae0750b7d82aa;tcp">msrp://172.18.0.2:34862/2a67b54ae0750b7d82aa;tcp</a><br>
From-Path: <a href="msrp://172.18.0.14:6060/c71ae3675e114d08216b;tcp">msrp://172.18.0.14:6060/c71ae3675e114d08216b;tcp</a>
<a href="msrp://172.18.0.12:5060/msrp-6142fc2b-83-1;tcp">msrp://172.18.0.12:5060/msrp-6142fc2b-83-1;tcp</a>
<a href="msrp://172.18.0.2:34858/8baea7c52ba8755322fd;tcp">msrp://172.18.0.2:34858/8baea7c52ba8755322fd;tcp</a><br>
Byte-Range: 1-197/197<br>
Failure-Report: yes<br>
Success-Report: yes<br>
Message-ID: c792c94039b8a969<br>
Content-Type: message/cpim</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt;background:white;box-sizing: border-box">
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:black">From:
<a href="sip:alice@ims.mnc001.mcc001.3gppnetwork.org">sip:alice@ims.mnc001.mcc001.3gppnetwork.org</a><br>
To: <a href="sip:bob@ims.mnc001.mcc001.3gppnetwork.org">sip:bob@ims.mnc001.mcc001.3gppnetwork.org</a><br>
DateTime: 2021-09-16T09:23:49.339805+00:00</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt;background:white;box-sizing: border-box">
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:black">MIME-Version: 1.0<br>
Content-Type: text/plain</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:black">hello<br>
-------7a57f552155926c0$</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></p>
</div>
</blockquote>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt;background:white;box-sizing: border-box;font-variant-ligatures: normal;orphans: 2;widows: 2;text-decoration-thickness: initial">
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#313B45">I want to get alice and bob from the content below</span><span style="font-size:10.5pt;font-family:"MS Gothic";color:#313B45">:</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#313B45"><o:p></o:p></span></p>
<blockquote style="margin-left:0cm;margin-right:0cm;margin-bottom:12.0pt;box-sizing: border-box;color:var(--color-fg-muted);border-left:var(--color-border-default);font-variant-ligatures: normal;orphans: 2;widows: 2;text-decoration-thickness: initial">
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:black">From:
<a href="sip:alice@ims.mnc001.mcc001.3gppnetwork.org">sip:alice@ims.mnc001.mcc001.3gppnetwork.org</a><br>
To: <a href="sip:bob@ims.mnc001.mcc001.3gppnetwork.org">sip:bob@ims.mnc001.mcc001.3gppnetwork.org</a><br>
DateTime: 2021-09-16T09:23:49.339805+00:00</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></p>
</div>
</blockquote>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt;background:white;box-sizing: border-box;font-variant-ligatures: normal;orphans: 2;widows: 2;text-decoration-thickness: initial">
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#313B45">someone can suggest some method. In other route like request_route we can use $fU and $tU to access them.<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#313B45">Regrads<br>
HANG LI<o:p></o:p></span></p>
</div>
</div>
</body>
</html>