[Serusers] Registered or not

Luis Vazquez luis at teledata.com.uy
Mon May 17 20:12:53 CEST 2004


Hello all

What could be the problem a SIP user agent:
1) registers correctly with ser,
2) the register is stored correctly in the MySQL Db (I see it my mysql!)
3) "serctl ul show"  shows the user logged-in (among others),
but If I try to call this user I get 480 Temporarily Unavailable back 
from ser in the block:

    alias="ser.ipcontact.com.uy"
    alias="ipcontact.com.uy"
    ........
    if (!lookup("location")) {
        if (does_uri_exist()) {
            log(2,"User not logged\n");
            sl_send_reply("480", "Temporarily Unavailable"); <=== Here
            break;
            } else {
            log(2,"User not found\n");
            sl_send_reply("404", "Not Found");
            break;
            };
        break;
    }

Even stranger:
# serctl ul show pepe //(supose the username is pepe) fails with:
404 Username pepe at ipcontact.com.uy in table location not found

but if I run

# serctl ul show
pepe is shown ...
...Record(0x402f7d20)...
domain: 'location'
aor   : 'pepe at 192.168.2.176' (192.168.2.176 is the IP for the sip server)

This only happens with the CVS version, but I need to use this version.

Any help please??!

Luis





More information about the sr-users mailing list