<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Hello,</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.</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.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 12.03.21 10:30, Nicki Otte wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:AM9P192MB0967233489A631C81D4D7586A26F9@AM9P192MB0967.EURP192.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@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;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}div.WordSection1
        {page:WordSection1;}</style>
      <div class="WordSection1">
        <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>
            <o:p></o:p></span></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<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>