<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">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");</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">sip-core01.n2net.net:5060</a>";</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="gmail_signature"><div dir="ltr">-------------<div>Jim DeVito</div></div></div>
</div></div>