|
@@ -18,14 +18,14 @@ route{
|
|
|
return;
|
|
|
};
|
|
|
if (method == "REGISTER") {
|
|
|
- if!(cr_rewrite_uri("register", "call_id")) {
|
|
|
+ if(!cr_route("default", "register", "$rU", "$rU", "call_id", "crc32")) {
|
|
|
sl_send_reply("403", "Not allowed");
|
|
|
}
|
|
|
sl_send_reply("200", "OK");
|
|
|
return;
|
|
|
}
|
|
|
if (method == "INVITE") {
|
|
|
- if!(cr_rewrite_uri("proxy", "call_id")) {
|
|
|
+ if(!cr_route("default", "proxy", "$rU", "$rU", "call_id", "crc32")) {
|
|
|
sl_send_reply("403", "Not allowed");
|
|
|
}
|
|
|
sl_send_reply("100", "Trying");
|