Hi, I'm just playing around with OnSIP NatHelper/RTPproxy ser.cfg and came across this problem. if I add an user "joe" and add also an alias "1000" I'm not able to call the alias "1000" and get reply from SER 404 User not found. What should I add to my ser.cfg?
Thanks, Lada
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@lists.iptel.org LA> http://lists.iptel.org/mailman/listinfo/serusers
Ladislav,
Thanks for the bug report. A new document will be released soon with that fixed.
Regards, Paul
On Apr 9, 2005 7:09 PM, Ladislav Andel ladia6@centrum.cz wrote:
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@lists.iptel.org LA> http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers