<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>BYE is a different SIP transaction, so you need to arm the
routes separately.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 02/07/2017 03:08 PM, Daniel Zanutti
wrote:<br>
</div>
<blockquote
cite="mid:CAN0jgiNfu8SThTFC19+1knSG4fqyyrAgVpJ=n_XwdiZ1TW9jvA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi
<div><br>
</div>
<div>No, i didn't set it. After set the onreply, it worked fine.
I didn't know that the BYE is a new request internally. </div>
<div><br>
</div>
<div>Thanks Bogdan<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Feb 7, 2017 at 10:37 AM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi,<br>
<br>
As the 200OK belongs to the BYE request, are you sure
you arm the onreply route when handling the _BYE_
request ?<br>
<br>
Regards,<br>
</tt>
<pre class="m_-6977781585707810965moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="m_-6977781585707810965moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre><div><div class="h5">
<div class="m_-6977781585707810965moz-cite-prefix">On 02/07/2017 01:48 PM, Daniel Zanutti
wrote:
</div>
<blockquote type="cite">
<div dir="ltr">The sip client is working fine, I can confirm that
both BYE and 200 OK are flowing through the proxy, the problem
is I cannot modify the 200 OK message.
<div>
</div>
<div>I need to modify a header on the 200 OK of the BYE but I
cannot since the message doesn't pass to internal
on_reply_route or main Route inside Opensips. It's being
routed internally by Opensips directly to the destination.
<div>
</div>
<div>Do you have any idea?</div>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Feb 7, 2017 at 5:40 AM, Johan
De Clercq <span dir="ltr"><<a moz-do-not-send="true" href="mailto:johan@democon.be" target="_blank">johan@democon.be</a>></span>
wrote:
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Any chance to have a small capture ?
</div>
I tend to agree with Robert, if you use rr consistently
there should be no problem. It can of course also be that
the client does something strange ...
</div>
<div class="m_-6977781585707810965HOEnZb">
<div class="m_-6977781585707810965h5">
<div class="gmail_extra">
<div class="gmail_quote">2017-02-06 21:43 GMT+01:00
Daniel Zanutti <span dir="ltr"><<a moz-do-not-send="true" class="m_-6977781585707810965moz-txt-link-abbreviated" href="mailto:daniel.zanutti@gmail.com" target="_blank">daniel.zanutti@gmail.com</a>></span>:
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Robert
<div>
</div>
<div>Yes, all messages are passing through the
proxy, but when I receive the 200 OK of the
BYE message, it doesn't go to Main Route or
Reply Route. It just go to the destination and
I cannot change anything on it.</div>
<div>
</div>
<div>Any idea?</div>
<div>
</div>
<div>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Feb 6, 2017 at
6:14 PM, Mundkowsky, Robert <span dir="ltr"><<a moz-do-not-send="true" class="m_-6977781585707810965moz-txt-link-abbreviated" href="mailto:rmundkowsky@ets.org" target="_blank">rmundkowsky@ets.org</a>></span>
wrote:
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_-6977781585707810965m_243933028024949809m_9128096075809787119m_242991819654021409WordSection1">
<p class="MsoNormal"><a moz-do-not-send="true" name="m_-6977781585707810965_m_243933028024949809_m_9128096075809787119_m_242991819654021409__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Did
you use “record_route”?
</span></a></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">For
reference:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">
</span><a moz-do-not-send="true" href="http://www.iptel.org/sip/intro/scenarios/rr" target="_blank"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">http://www.iptel.org/sip/intro<wbr>/scenarios/rr</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Robert
Mundkowsky</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
Users [mailto:<a moz-do-not-send="true" class="m_-6977781585707810965moz-txt-link-abbreviated" href="mailto:users-bounces@lists.op" target="_blank">users-bounces@lists.op</a><wbr><a moz-do-not-send="true" href="http://ensips.org">ensips.org</a>]
<b>On Behalf Of </b>Daniel Zanutti
<b>Sent:</b> Monday, February 6,
2017 3:01 PM
<b>To:</b> OpenSIPS users mailling
list <<a moz-do-not-send="true" href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>>
<b>Subject:</b> [OpenSIPS-Users]
Change 200 OK of BYE message</span></p>
<div>
<div class="m_-6977781585707810965m_243933028024949809m_9128096075809787119h5">
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I need to
change something on the 200 OK
of BYE message. Tried
everything on Opensips but
looks like this message
doesn't follow standard
message path. Neither Main
Route or Reply route pass this
message.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Is there
any way to do it? </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks</p>
</div>
</div>
</div>
</div>
</div>
<hr>
<p>This e-mail and any files transmitted
with it may contain privileged or
confidential information. It is solely
for use by the individual for whom it is
intended, even if addressed incorrectly.
If you received this e-mail in error,
please notify the sender; do not
disclose, copy, distribute, or take any
action in reliance on the contents of
this information; and delete it from
your system. Any other use of this
e-mail is prohibited.</p>
<p>Thank you for your compliance.</p>
<hr>
</div>
______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</blockquote>
</div>
</div>
______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</blockquote>
</div>
</div>
</div>
</div>
______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</blockquote>
</div>
</div>
<fieldset class="m_-6977781585707810965mimeAttachmentHeader"></fieldset>
<pre>______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true" class="m_-6977781585707810965moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="m_-6977781585707810965moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div></div></div>
</blockquote></div>
</div>
</blockquote>
</body></html>