Hello,<div>Thank you reply, please check the trace it use loose_route() already, but never returned to client.</div><div><br></div><div>volga629<br><br>On Wed, 26 Apr, 2017 at 4:11 AM, Răzvan Crainea <razvan@opensips.org> wrote:<br>
<blockquote type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<tt>Hi, Volga!<br>
<br>
If the NOTIFY is in dialog, you should route it using
loose_route(). The default script should already do this.<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 04/26/2017 07:58 AM,
<a class="moz-txt-link-abbreviated" href="mailto:volga629@networklab.ca">volga629@networklab.ca</a> wrote:<br>
</div>
<blockquote cite="mid:1493182701.4220.7@smtp.networklab.ca" type="cite">
<div>Hello Everyone, </div>
<div>How to handle NOTIFY in dialog when pbx return 202 OK from
SUBSCRIBE and NOTIFY is not routed back to client.</div>
<div>Please see attached trace or fpaste link.</div>
<div><br>
</div>
<div><a moz-do-not-send="true" href="https://paste.fedoraproject.org/paste/zMzLoYIl6bFlSCBuw%7E6u3l5M1UNdIGYhyRLivL9gydE=" style="color: rgb(0, 136, 204);">https://paste.fedoraproject.org/paste/zMzLoYIl6bFlSCBuw~6u3l5M1UNdIGYhyRLivL9gydE=</a></div>
<div><br>
</div>
<div><br>
</div>
<div>I tried </div>
<div><br>
</div>
<div>
<div> if(is_method("NOTIFY")) {</div>
<div> remove_hf("Route");</div>
<div> remove_hf("Record-Route");</div>
<div> $du = $ru;</div>
<div> }</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>volga629</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</blockquote></div>