[OpenSIPS-Users] Opensips mid registar module 2 interface configuration
Srigo Kanapathipillai
ksrigo at gmail.com
Wed Jan 24 03:15:03 EST 2018
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 <k.galinurov at gmail.com> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180124/16e7e456/attachment.html>
More information about the Users
mailing list