I found the answer.
I just added lookup("aliases");
# -----------------------------------------------------------------
# Call Type Processing Section
# -----------------------------------------------------------------
lookup("aliases");
if (uri==myself) {
if (method=="INVITE") {
route(3);
break;
} else if (method=="REGISTER") {
route(2);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
route(1);
};
LA> Hi,
LA> I'm just playing around with OnSIP NatHelper/RTPproxy ser.cfg
LA> and came across this problem.
LA> if I add an user "joe" and add also an alias "1000"
LA> I'm not able to call the alias "1000" and get reply from SER
LA> 404 User not found.
LA> What should I add to my ser.cfg?
LA> Thanks,
LA> Lada
LA> _______________________________________________
LA> Serusers mailing list
LA> serusers(a)lists.iptel.org
LA>
http://lists.iptel.org/mailman/listinfo/serusers