Can some one help even when I try from the CLI tool:
serctl alias add newman sip:newman@<domain>
sip:newman@<domain>
400 Table 'aliases' not found in memory, use save("aliases") or
lookup("aliases"
) in the configuration script first
And I do have the alias configured under the CFG file!
# All REGISTER attempts are processed and must always be authenticated
if (method=="REGISTER") {
# make sure that users don't register infinite loops
if (search("^(Contact|m): .*(a)(10\.1\.2\.3|(proxy\.)?bigu\.edu)")) {
log(1, "LOG: alert: someone trying to set aor==contact\n");
sl_send_reply("476", "No Server Address in Contacts Allowed" );
break;
};
# challenge/response
if (!www_authorize("<Domain>", "subscriber")) {
www_challenge("<Domain>", "0");
break;
};
# only registered users are allowed
if (!is_user("replicator") & !check_to()) {
log(1, "LOG: unregistered user registration attempt\n");
sl_send_reply("403", "Only registered users are allowed");
break;
};
# it is an authenticated request, update Contact database now
if (!save("location")) {
sl_reply_error();
};
break;
};
# process traffic local to BigU and the PSTN
# Find the canonical username
lookup("aliases");
Shiran Guez
Show replies by date