Hi, In your case1, you have to put (destination uri) $du = "sip:192.168.100.100:5070";
Srigo Sent from my iPhone > On 15 Jan 2018, at 11:27, Kirill Galinurov <[email protected]> wrote: > > Hi I try mid register module in Opensips 2.3 > > My very simple config is: > > mhomed=1 > > listen=udp:10.23.96.193:5060 # CUSTOMIZE ME > listen=udp:192.168.100.200:5060 # CUSTOMIZE ME > > > if (is_method("REGISTER")) > { > mid_registrar_save("location"); > switch ($retcode) { > case 1: > xlog("L_INFO", "forwarding REGISTER to main registrar...\n"); > $ru = "sip:192.168.100.100:5070"; > if (!t_relay()) { > send_reply("500", "Server Internal Error 1"); > } > > break; > case 2: > xlog("L_INFO", "REGISTER has been absorbed!\n"); > break; > default: > xlog("L_ERR", "mid-registrar error!\n"); > send_reply("500", "Server Internal Error 2"); > } > > But REGISTER message is'nt relayed to 192.168.100.100 > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
