Look at your alias. If you have an alias with your local IP address, ser
will test true no if(src_ip==myself).
g-)
Steffen Waldmann wrote:
hi there,
i have a question about routing between SER and asterisk:
I run SER and * on the same machine, so i configured * to listen on port
5070 (sip.conf: bindport 5070).
Now i want to route all numbers that are not found in SER to *,
therefore i wrote to ser.cfg in the main route section:
if (!lookup("location")) {
#sl_send_reply("404", "nicht gefunden");
rewritehostport("192.168.2.183:5070");
route(1);
break;
};
route(1) is the following:
route[1] {
# -----------------------------------------------------------------
# Default Message Handler
# -----------------------------------------------------------------
if (!t_relay()) {
sl_reply_error();
};
}
i have two SER-users: 1000 and 1001
i have one * user: 1002
when i dial 1002 i get immediately 'User not found'
does anyone have a hint?
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers