<html 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=Windows-1252">
<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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-fareast-language:EN-GB;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {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:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="en-DK" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Thanks for the reply!<o:p></o:p></span></p>
<p class="MsoNormal"><br>
<span lang="EN-US">Sad but what I expected. <br>
I’ll find another way around my situation then.<br>
<br>
// Nicki Bo Otte </span><br>
<br>
<o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Daniel-Constantin Mierla <miconda@gmail.com><br>
<b>Date: </b>Friday, 12 March 2021 at 18.37<br>
<b>To: </b>Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>, Nicki Otte <Duckay@live.com><br>
<b>Subject: </b>Re: [SR-Users] Dialog using Recod Route, with an asterisk</span><span style="font-size:12.0pt;color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</div>
<p>Hello,<o:p></o:p></p>
<p>Asterisk is a b2bua and it is normal to create a completely new and different call. It is not only the missing of the record-route, but different call-id, from-tag, etc ... Also, Asterisk can create many outbound calls out of one incoming, for example in
 case of group hunting.<o:p></o:p></p>
<p>If you want to track a single dialog in such case, you have to track only incoming one to asterisk, or the outgoing one.<o:p></o:p></p>
<p>Cheers,<br>
Daniel<o:p></o:p></p>
<div>
<p class="MsoNormal">On 12.03.21 10:30, Nicki Otte wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">Hi everyone<br>
<br>
I have a question regarding the dialog module.<br>
<br>
It uses the RecordRoute header, which seems all fine.<br>
<br>
<br>
</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">The situation:<br>
I have a setup, where the Kamailio proxy, which is running with the dialog module, is talking to an Asterisk.<br>
Now the logic in the Asterisk, is to place a new call, and return in to the Kamailio proxy, which sends it to the PSTN.<br>
<br>
By the logic of the asterisk, it doesn’t persist with the RecordRoute headers. It starts from scratch with a new callId.<br>
Here lies the problem. Because the RecordRoute header isn’t given, then a new “dialog” is made, instead of using the one that is established.<br>
<br>
Here comes my question. <br>
Is it against the standards to make the Asterisk persist with these headers, or am I looking at the wrong solution?
<br>
If not,  I do see the power of the dialog module, when a call bounces between UAS’, but not when an asterisk is in the setup.<br>
Another solution could be to use a custom x- header for the dialog id, but it doesn’t look like that is a possibility.
<br>
<br>
Have any of you run into this situation, and might have a solution?<br>
<br>
Thanks in advance<br>
// Nicki Bo Otte</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Kamailio (SER) - Users Mailing List<o:p></o:p></pre>
<pre><a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><o:p></o:p></pre>
<pre><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></pre>
</blockquote>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla -- <a href="http://www.asipto.com">www.asipto.com</a><o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
<pre>Funding: <a href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a><o:p></o:p></pre>
</div>
</body>
</html>