<div dir="ltr">Hi I try mid register module in Opensips 2.3 <div><br></div><div>My very simple config is:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">mhomed=1
</span><br>
<br>listen=udp:<a href="http://10.23.96.193:5060">10.23.96.193:5060</a> # CUSTOMIZE ME
<br>listen=udp:<a href="http://192.168.100.200:5060">192.168.100.200:5060</a> # CUSTOMIZE ME
<br>
<br><br>
</span><span style="font-family:monospace"><span style="color:rgb(0,0,0)"> if (is_method("REGISTER"))
</span><br> {
<br>mid_registrar_save("location");
<br> switch ($retcode) {
<br> case 1:
<br> xlog("L_INFO", "forwarding REGISTER to main registrar...\n");
<br> $ru = "sip:<a href="http://192.168.100.100:5070">192.168.100.100:5070</a>";
<br> if (!t_relay()) {
<br> send_reply("500", "Server Internal Error 1");
<br> }
<br> <br> break;
<br> case 2:
<br> xlog("L_INFO", "REGISTER has been absorbed!\n");
<br> break;
<br> default:
<br> xlog("L_ERR", "mid-registrar error!\n");
<br> send_reply("500", "Server Internal Error 2");
<br> }<br><br></span></div><div><span style="font-family:monospace">But REGISTER message is'nt </span><font face="monospace"> relayed to 192.168.100.100</font><span style="font-family:monospace"> </span></div></div>