<div dir="ltr">Hi <span style="white-space:pre-wrap">Liviu,</span><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Confirmed fixed. Thanks for the good / quick work!</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 25, 2017 at 8:49 AM, Liviu Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><tt>Hi Jim,</tt></p>
<p><tt>Thank you for the nice report - just pushed a fix [1] for it
on "master" and "2.3"!</tt></p>
<p><tt>Best regards,</tt></p>
<p><tt>[1]:
<a class="m_3836818335794070209moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/fc5762694201eb" target="_blank">https://github.com/OpenSIPS/<wbr>opensips/commit/fc5762694201eb</a></tt><br>
</p>
<pre class="m_3836818335794070209moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="m_3836818335794070209moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
<div class="m_3836818335794070209moz-cite-prefix">On 24.10.2017 22:42, Jim DeVito wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>Getting into he mid_register module so I could very well be
doing something wrong. Please take a look at the below pasted
info.</div>
<div><br>
</div>
<div><a href="https://pastebin.com/BeLktVpL" target="_blank">https://pastebin.com/BeLktVpL</a></div>
<div><br>
</div>
<div>Seems like it is crashing while parsing the OK back from
the primary registrar. For now I am using the scripting right
out of your tutorial</div>
<div><br>
</div>
<div>Please let me know if you notice something I am doing wrong
or need more info.</div>
<div><br>
</div>
<div>Opensips 2.3.2 built from source. (same as yum) </div>
<div><br>
</div>
<div>Thanks!!</div>
<div><br>
</div>
<div>
<div>if (is_method("REGISTER")) {</div>
<div> mid_registrar_save("location")<wbr>;</div>
<div> switch ($retcode) {</div>
<div> case 1:</div>
<div> xlog("forwarding REGISTER
to main registrar ($$ci=$ci)\n");</div>
<div> $ru = "sip:<a href="http://sip-core01.n2net.net:5060" target="_blank">sip-core01.n2net.net:5060</a><wbr>";</div>
<div> t_relay();</div>
<div> break;</div>
<div> case 2:</div>
<div> xlog("absorbing REGISTER!
($$ci=$ci)\n");</div>
<div> break;</div>
<div> default:</div>
<div> xlog("failed to save
registration! ($$ci=$ci)\n");</div>
<div> }</div>
<div><br>
</div>
<br>
<div class="m_3836818335794070209gmail_signature">
<div dir="ltr">-------------
<div>Jim DeVito</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_3836818335794070209mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_3836818335794070209moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_3836818335794070209moz-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>
<br>
</div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">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-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-------------<div>Jim DeVito</div><div>Mobile 216.507.9497</div></div></div>
</div>