<div dir="ltr">Missed that, thanks Razvaan!<div><br></div><div>Royee</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 15, 2017 at 1:44 PM Răzvan Crainea <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <tt>Hi, Royee!<br>
      <br>
      As you can see in the logs, the route set is shrikend - so
      opensips cannot restore the entire information.<br>
      Taking a look at the trace you have sent, it is clear that the
      client is not sending the second SUBSCRIBE with all the
      information:<br>
      * The 200 OK thinfo param has 154 chars<br>
      * The SUBSCRIBE thinfo has only 55 chars<br>
      <br>
      I would check whyt the client is not using the entire thinfo
      param.<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="m_-5910737938327189396moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="m_-5910737938327189396moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre></div><div text="#000000" bgcolor="#FFFFFF">
    <div class="m_-5910737938327189396moz-cite-prefix">On 12/14/2017 06:41 PM, Royee Tichauer
      via Users wrote:<br>
    </div>
    </div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite">
      <div dir="ltr">I have found something in the opensips.log that
        might shed some light:
        <div><br>
        </div>
        <div>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1">/usr/sbin/opensips[27370]:
              DBG:topology_hiding:topo_no_dlg_seq_handling: extracted
              routes [<sip:54.165.144.73;lr>,<sip:qa7vqblfc1c]
              , ct [] and bind []</span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1">
            </span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1">Dec 14
              16:17:00 <a href="http://qa7vqsbc4.qa7.vocal-qa.com" target="_blank">qa7vqsbc4.qa7.vocal-qa.com</a>
              /usr/sbin/opensips[27370]: ERROR:core:parse_nameaddr: no
              > found</span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1"><br>
            </span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1">I also
              see this when initially doing the topology hiding:</span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1">/usr/sbin/opensips[27370]:
              DBG:topology_hiding:topo_no_dlg_encode_contact: Trying to
              propagate username [blf]</span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1">/usr/sbin/opensips[27370]:
              DBG:core:parse_headers: flags=ffffffffffffffff</span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1">/usr/sbin/opensips[27370]:
              DBG:core:print_rr_body: current rr is <sip:<a href="http://qa7vqblfc1ctrl1.qa7.vocal-qa.com" target="_blank">qa7vqblfc1ctrl1.qa7.vocal-qa.com</a>;lr></span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1"> /usr/sbin/opensips[27370]:
              DBG:core:print_rr_body: current rr is
              <sip:54.165.144.73;lr></span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1">
            </span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><span class="m_-5910737938327189396inbox-inbox-s1"> /usr/sbin/opensips[27370]:
              DBG:core:print_rr_body: out rr
              [<sip:54.165.144.73;lr>,<sip:<a href="http://qa7vqblfc1ctrl1.qa7.vocal-qa.com" target="_blank">qa7vqblfc1ctrl1.qa7.vocal-qa.com</a>;lr>]</span></p>
          <p class="m_-5910737938327189396inbox-inbox-p1"><br>
          </p>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Thu, Dec 14, 2017 at 5:45 PM Royee Tichauer
          <<a href="mailto:royee.tichauer@vonage.com" target="_blank">royee.tichauer@vonage.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">Hi,
            <div><br>
            </div>
            <div>I am using opensips 2.1 and I'm experiencing some weird
              behavior with SUBSCRIBE handling on an opensips server
              that is behaving as a SIP proxy. I also use the
              topology_hiding module to hide routing information from
              the clients.</div>
            <div><br>
            </div>
            <div>The proxy receives an initial SUBSCRIBE from a device,
              the SUBSCRIBE doesn't contain a "to tag" so I process it
              like a normal SUBSCRIBE message and route it to the
              correct route which replies with a 200 OK with a "to tag".
              Some time before the expiration of the SUBSCRIBE is passed
              I receive a another SUBSCRIBE, this time with a "to tag"
              so my opensips config file attempts to match it to a
              topology matching but for some reason it fails to match
              it.</div>
            <div><br>
            </div>
            <div>I have this configured:</div>
            <div>
              <pre style="font-family:Menlo;font-size:9pt">modparam("dialog", "dlg_match_mode", 0)</pre>
              <pre style="font-family:Menlo;font-size:9pt">
</pre>
              <pre style="font-family:Menlo;font-size:9pt">Any idea why the second subscribe message is not being matched?</pre>
              <pre style="font-family:Menlo;font-size:9pt">
</pre>
              <pre style="font-family:Menlo;font-size:9pt">Attached is a capture of the initial and following subscribes.</pre>
              <pre style="font-family:Menlo;font-size:9pt">
</pre>
              <pre style="font-family:Menlo;font-size:9pt">Thanks,</pre>
              <pre style="font-family:Menlo;font-size:9pt">Royee</pre>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="m_-5910737938327189396mimeAttachmentHeader"></fieldset>
      <br>
      </blockquote></div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite"><pre>_______________________________________________
Users mailing list
<a class="m_-5910737938327189396moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-5910737938327189396moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>