|
@@ -211,7 +211,13 @@ route{
|
|
}
|
|
}
|
|
route(1);
|
|
route(1);
|
|
} else {
|
|
} else {
|
|
- sl_send_reply("404","Not here");
|
|
|
|
|
|
+ /* uncomment the following lines if you want to enable presence */
|
|
|
|
+ ##if (is_method("SUBSCRIBE") && $rd == "your.server.ip.address") {
|
|
|
|
+ ## # in-dialog subscribe requests
|
|
|
|
+ ## route(2);
|
|
|
|
+ ##} else {
|
|
|
|
+ sl_send_reply("404","Not here");
|
|
|
|
+ ##}
|
|
}
|
|
}
|
|
exit;
|
|
exit;
|
|
}
|
|
}
|