SMS related additions
This commit is contained in:
@@ -252,6 +252,13 @@ route{
|
||||
route(register);
|
||||
}
|
||||
|
||||
if (is_method("NOTIFY") && search("^(Event|o)([ \t]*):([ \t]*)reg")) {
|
||||
if (!t_relay()) {
|
||||
sl_reply_error();
|
||||
}
|
||||
exit;
|
||||
}
|
||||
|
||||
if (is_method("INVITE|SUBSCRIBE|MESSAGE|INFO|PUBLISH|CANCEL")) {
|
||||
route(initial_request);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user