<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>The routing of requests within dialog should not be affected by
      masking call id. Can you get the debug messages printed by
      kamailio with debug=3 in kamailio.cfg?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 02.08.20 21:48, mohsen khashei
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALC6B6EGpGtvrf5mn=Th-xnC9dncpMkaUiPHHVXgx9B3B9jDdQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="rtl">ّI know this is because of masking call-id .but
          what is the solution?</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sun, Aug 2, 2020 at 3:35 PM
          Mark Boyce <<a href="mailto:mark@darkorigins.com"
            moz-do-not-send="true">mark@darkorigins.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="overflow-wrap: break-word;">Hi
            <div><br>
            </div>
            <div>I was seeing something similar using topos. All seemed
              to be ok until the far end (Asterisk) sent a BYE.  At
              which point kamailo passed the message to WITHINDLG, in
              which loose_route came up false (-1) and the BYE got
              missed, falling through to the “404 Not here” at the end
              of WITHINDLG. .. I never did work out what caused it.
              However what I then did was start with the latest kamailo
              5.4 cfg file and step forward adding my customisations
              back in, looking for what caused the issue.  As you do
              with these things I cleaned my code up as I went.  All I
              can say is that when I’d added everything back it was
              still working.</div>
            <div><br>
            </div>
            <div>Mark</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>
              <div><br>
                <blockquote type="cite">
                  <div>On 2 Aug 2020, at 11:46, mohsen khashei <<a
                      href="mailto:mkhashei@gmail.com" target="_blank"
                      moz-do-not-send="true">mkhashei@gmail.com</a>>
                    wrote:</div>
                  <br>
                  <div>
                    <div dir="ltr">Hi all.
                      <div>I use topoh module for topology hiding and
                        this is my config for topoh:</div>
                      <div>modparam("topoh", "mask_key", "my key")<br>
                         modparam("topoh", "mask_callid", 1)<br>
                         modparam("topoh", "callid_prefix", "!!:")<br>
                         modparam("topoh", "sanity_checks", 1)<br>
                         modparam("topoh", "mask_ip", "x.x.x.x")<br>
                         modparam("topoh", "uri_prefix_checks", 1)<br>
                         modparam("topoh", "uparam_name", "line")<br>
                         modparam("topoh", "uparam_prefix", "sr-")<br>
                         modparam("topoh", "vparam_name", "branch")<br>
                         modparam("topoh", "vparam_prefix",
                        "z9hG4bKsr-")<br>
                      </div>
                      <div>and also i use:</div>
                      <div>modparam("dialog", "lreq_callee_headers",
                        "TH: dlh\r\n")<br>
                      </div>
                      <div>for dialog module.</div>
                      my calls come from asterisk and routed to the
                      carrier(sip trunk) and vice versa,<br>
                      when i make a call from asterisk every thing works
                      fine until the call hanged up from the carrier. at
                      that modemt the kamailio send an 481 call/leg
                      transaction does not exist.<br>
                      if call dropped bye the asterisk user everything
                      works fine.<br>
                      how can i solve this?
                      <div><span style="font-size:14px"></span></div>
                    </div>
                    _______________________________________________<br>
                    Kamailio (SER) - Users Mailing List<br>
                    <a href="mailto:sr-users@lists.kamailio.org"
                      target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
                    <a
                      href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                      target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                  </div>
                </blockquote>
              </div>
              <br>
              <div>
                <div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
                  <div>-- </div>
                  <div>Mark Boyce</div>
                  <div>Dark Origins Ltd</div>
                  <div><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<br>
          Kamailio (SER) - Users Mailing List<br>
          <a href="mailto:sr-users@lists.kamailio.org" target="_blank"
            moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
          <a
            href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </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>