<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Jim,<br>
<br>
We will try to replicate the scenario to see if we can reproduce
the error. If not, we will provide some patch for extra debugging,
so you can run it on your end.<br>
<br>
Thanks and 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>
OpenSIPS Summit May 2017 Amsterdam
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
<div class="moz-cite-prefix">On 04/26/2017 07:15 PM, Jim DeVito
wrote:<br>
</div>
<blockquote
cite="mid:CAAcmnhmZGfT3oxhh17kDF9WimwbKQ=Lq72Cdzcbzurr+KZcVhw@mail.gmail.com"
type="cite">
<div dir="ltr">Correct. Assuming all the destinations that the
load balancer module send to gives me a negative reply I turn
around and send the 600 to my upstream. </div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Apr 26, 2017 at 12:13 PM,
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>So, your call is
actually proxied out (to a switch), but the 600 reply is
generated by you in failure route (upon a 408 timeout ?)</tt><br>
<pre class="m_-3428584694754322531moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="m_-3428584694754322531moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit May 2017 Amsterdam
<a moz-do-not-send="true" class="m_-3428584694754322531moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html" target="_blank">http://www.opensips.org/<wbr>events/Summit-2017Amsterdam.<wbr>html</a>
</pre>
<div class="m_-3428584694754322531moz-cite-prefix">On 04/26/2017 07:10 PM, Jim DeVito
wrote:
</div>
<blockquote type="cite">
<div dir="ltr">Every time. Just routing the number to a non
existent destination in my class 5 switch so that it ends up
hitting the failure route. </div>
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Apr 26, 2017 at 12:08 PM,
Bogdan-Andrei Iancu <span dir="ltr"><<a moz-do-not-send="true" class="m_-3428584694754322531moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>And I suppose
you can reproduce such funky records, right ?</tt>
<pre class="m_-3428584694754322531m_7231015295778211746moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit May 2017 Amsterdam
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html" target="_blank">http://www.opensips.org/events<wbr>/Summit-2017Amsterdam.html</a>
</pre>
<div class="m_-3428584694754322531m_7231015295778211746moz-cite-prefix">On 04/26/2017 06:50 PM, Jim DeVito
wrote:
</div>
<blockquote type="cite">
<div dir="ltr">Correct.
<div>
</div>
<div>do_accounting("db", "cdr|failed|missed", "acc");
</div>
<div>
</div>
<div>And I meant the username part of the R-URI so it has an 11
digit phone number in it.</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Apr 26, 2017 at 11:48 AM,
Bogdan-Andrei Iancu <span dir="ltr"><<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>OK, thanks.
I suppose you have the "failed" flag set in
do_accounting() ?
And before ending the INVITE processing, do you change
the RURI (you mentioned it originally has a username) ?
Regards,
</tt>
<pre class="m_-3428584694754322531m_7231015295778211746m_852131761981779591moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit May 2017 Amsterdam
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html" target="_blank">http://www.opensips.org/events<wbr>/Summit-2017Amsterdam.html</a>
</pre>
<div class="m_-3428584694754322531m_7231015295778211746m_852131761981779591moz-cite-prefix">On 04/26/2017 06:33 PM, Jim DeVito
wrote:
</div>
<blockquote type="cite">
<div dir="ltr">Yes. And correct the script is rejecting the call
at this point and returning the 600 to my upstream.</div>
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Apr 26, 2017 at 11:28 AM,
Bogdan-Andrei Iancu <span dir="ltr"><<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Again, does the
strange text correspond to the to_tn extra value ?
And the call is rejected by you from script ? it not
ever proxied further, right ?
Regards,
</tt>
<pre class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit May 2017 Amsterdam
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html" target="_blank">http://www.opensips.org/events<wbr>/Summit-2017Amsterdam.html</a>
</pre>
<div class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858moz-cite-prefix">On 04/26/2017 06:25 PM, Jim DeVito
wrote:
</div>
<blockquote type="cite">
<div dir="ltr">Hi Bogdan,
<div>
</div>
<div>Sorry forgot the mention I am using 2.2.3 the latest stable
from the repo. I put a log line just after
send_reply("600","Busy Everywhere"); and $rU looks good there.
Is there another place I should put a log line to see the
value of $rU?</div>
<div>
</div>
<div>Thanks!! </div>
<div>
</div>
<div>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Apr 26, 2017 at 11:16 AM,
Bogdan-Andrei Iancu <span dir="ltr"><<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:
<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 Jim,
What OpenSIPS version do you use ?
Is the x00 string corresponding to the to_tn extra field
? If yes, is there any chance to have the $rU null (no
username in RURI) ?
Regards,
</tt>
<pre class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858m_6042594407964197049moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858m_6042594407964197049moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit May 2017 Amsterdam
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858m_6042594407964197049moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html" target="_blank">http://www.opensips.org/events<wbr>/Summit-2017Amsterdam.html</a>
</pre>
<div class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858m_6042594407964197049moz-cite-prefix">On 04/26/2017 05:43 PM, Jim DeVito
wrote:
</div>
<blockquote type="cite">
<div dir="ltr">Hi All,
<div>
</div>
<div>So I am seeing the below record in the ACC output that is
causing me problems else where. Notice the
\x00\x00\x00\x00\x00\x00\x00\x<wbr>00\x00\x00 part. </div>
<div>
</div>
<div>INVITE|gK0c48d4aa||1464632400_<wbr>16750753@REDACTED|600|Busy
Everywhere|1493217263|\x00\x00<wbr>\x00\x00\x00\x00\x00\x00\x00\x<wbr>00|+1REDACTED|sip-proxy03|from<wbr>-PSTN|REDACTED||8877||
</div>
<div>
</div>
<div>In every other ACC entry the value is to be the user part
of the request URI as described here...</div>
<div>
</div>
<div>modparam("acc", "db_extra", "to_tn=$rU; (etc....)</div>
<div>
</div>
<div>Except when the call goes through the below failure route.</div>
<div>
</div>
<div>
</div>
<div>
<div>failure_route[orig_load_balanc<wbr>e_fail] {</div>
<div>
</div>
<div> if (t_was_cancelled()) { </div>
<div> exit();</div>
<div> }</div>
<div>
</div>
<div> if (t_check_status("[56][0-9][0-9<wbr>]") ||
t_local_replied("all")) {</div>
<div>
</div>
<div> if (lb_next()) {</div>
<div>
t_on_failure("orig_load_balanc<wbr>e_fail");</div>
<div> t_relay();</div>
<div> exit();</div>
<div> } else { </div>
<div> send_reply("600","Busy
Everywhere");</div>
<div> exit();</div>
<div> }</div>
<div> }</div>
<div>} </div>
</div>
<div> </div>
<div>
</div>
<div>Thoughts?</div>
<div>
</div>
<div>Thanks!!</div>
<div>
</div>
<div>Jim D. </div>
</div>
<fieldset class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858m_6042594407964197049mimeAttachmentHeader"></fieldset>
<pre>______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858m_6042594407964197049moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858m_6042594407964197049moz-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><span class="m_-3428584694754322531m_7231015295778211746HOEnZb"><font color="#888888"><span class="m_-3428584694754322531m_7231015295778211746m_852131761981779591HOEnZb"><font color="#888888">
</font></span></font></span></pre><span class="m_-3428584694754322531m_7231015295778211746HOEnZb"><font color="#888888"><span class="m_-3428584694754322531m_7231015295778211746m_852131761981779591HOEnZb"><font color="#888888">
</font></span></font></span></blockquote><span class="m_-3428584694754322531m_7231015295778211746HOEnZb"><font color="#888888"><span class="m_-3428584694754322531m_7231015295778211746m_852131761981779591HOEnZb"><font color="#888888">
</font></span></font></span></div><span class="m_-3428584694754322531m_7231015295778211746HOEnZb"><font color="#888888"><span class="m_-3428584694754322531m_7231015295778211746m_852131761981779591HOEnZb"><font color="#888888">
</font></span></font></span></blockquote></div><span class="m_-3428584694754322531m_7231015295778211746HOEnZb"><font color="#888888"><span class="m_-3428584694754322531m_7231015295778211746m_852131761981779591HOEnZb"><font color="#888888">
<div>
</div>--
<div class="m_-3428584694754322531m_7231015295778211746m_852131761981779591m_811395599744840858gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-------------<div>Jim DeVito</div><div>Mobile <a moz-do-not-send="true" href="tel:%28216%29%20507-9497" value="+12165079497" target="_blank">216.507.9497</a></div></div></div><span class="m_-3428584694754322531HOEnZb"><font color="#888888">
</font></span></font></span></font></span></div><span class="m_-3428584694754322531HOEnZb"><font color="#888888"><span class="m_-3428584694754322531m_7231015295778211746HOEnZb"><font color="#888888">
</font></span></font></span></blockquote><span class="m_-3428584694754322531HOEnZb"><font color="#888888"><span class="m_-3428584694754322531m_7231015295778211746HOEnZb"><font color="#888888">
</font></span></font></span></div></blockquote></div><span class="m_-3428584694754322531HOEnZb"><font color="#888888"><span class="m_-3428584694754322531m_7231015295778211746HOEnZb"><font color="#888888">
<div>
</div>--
<div class="m_-3428584694754322531m_7231015295778211746m_852131761981779591gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-------------<div>Jim DeVito</div><div>Mobile <a moz-do-not-send="true" href="tel:%28216%29%20507-9497" value="+12165079497" target="_blank">216.507.9497</a></div></div></div><span class="HOEnZb"><font color="#888888">
</font></span></font></span></font></span></div><span class="HOEnZb"><font color="#888888"><span class="m_-3428584694754322531HOEnZb"><font color="#888888">
</font></span></font></span></blockquote><span class="HOEnZb"><font color="#888888"><span class="m_-3428584694754322531HOEnZb"><font color="#888888">
</font></span></font></span></div></blockquote></div><span class="HOEnZb"><font color="#888888"><span class="m_-3428584694754322531HOEnZb"><font color="#888888">
<div>
</div>--
<div class="m_-3428584694754322531m_7231015295778211746gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-------------<div>Jim DeVito</div><div>Mobile <a moz-do-not-send="true" href="tel:%28216%29%20507-9497" value="+12165079497" target="_blank">216.507.9497</a></div></div></div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
</font></span></div></blockquote></div><span class="HOEnZb"><font color="#888888">
<div>
</div>--
<div class="m_-3428584694754322531gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-------------<div>Jim DeVito</div><div>Mobile <a moz-do-not-send="true" href="tel:%28216%29%20507-9497" value="+12165079497" target="_blank">216.507.9497</a></div></div></div>
</font></span></div>
</blockquote>
</div></blockquote></div>
<div>
</div>--
<div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-------------<div>Jim DeVito</div><div>Mobile 216.507.9497</div></div></div>
</div>
</blockquote>
</body></html>