[OpenSIPS-Users] 404 user not registered

Miha miha at softnet.si
Tue Dec 24 16:13:38 CET 2013


HI,

I am experiencing strange thing.

If I do:

[root at sip1 ~]# opensipsctl ul show xxx53333419
Contact::
<sip:xxx53333419 at xxx.xxx.xxx.xxx:5060>;q=;expires=1880;flags=0x0;cflags=0x0;socket=<udp:yyy.yyy.yyy.yyy:5060>;methods=0xC6F;user_agent=<ARRIS-TM602B
release v.6.1.134T.SIP SN/001DCDBEF89B>

[root at sip1 ~]# opensipsctl ul show xxx53027460
Contact::
<sip:xxx53027460 at xxx.xxx.xxx:5060>;q=;expires=1868;flags=0x0;cflags=0x0;socket=<udp:yy.yyy.yyy.yyy:5060>;methods=0xC6F;user_agent=<ARRIS-TM602B
release v.6.1.134T.SIP SN/001DCDBEF89B>
[root at sip1 ~]# 

You can see that both users are registered but for one user
invite comes to UAC and for other opensips reports "404 not
found" when doing:

if (!lookup("location","m"))
        {
                xlog("ni userja $retcode");

                switch ($retcode){
                        case -1:
                        case -3:
                                t_newtran();
                                t_reply("404", "Not
Found");
                                exit;
                        case -2:
                                sl_send_reply("405",
"Method Not Allowed");
                                exit;
                };
                t_reply("404", "User not registered");
                exit;
        }


But you can see with opensipsctl ul show xxx53027460 that
user was registered other vies it ul show will not be
displayed.

what could be wrong?

tnx!

miha



More information about the Users mailing list