[sr-dev] git:master: modules_s/domain: is_local can now be called from BRANCH_ROUTE

Juha Heinanen jh at tutpro.com
Mon Jul 13 14:32:26 CEST 2009


Module: sip-router
Branch: master
Commit: a86fdc96c147c584836d44fb41c92176338bfa8d
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a86fdc96c147c584836d44fb41c92176338bfa8d

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Mon Jul 13 15:28:59 2009 +0300

modules_s/domain: is_local can now be called from BRANCH_ROUTE

- Added BRANCH_ROUTE to list of routes for is_local function after
  no one answered to my question on if it would cause any trouble.

---

 modules_s/domain/domain_mod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules_s/domain/domain_mod.c b/modules_s/domain/domain_mod.c
index 30766da..8121285 100644
--- a/modules_s/domain/domain_mod.c
+++ b/modules_s/domain/domain_mod.c
@@ -128,7 +128,7 @@ static domain_t dom_buf[2];
  * Exported functions
  */
 static cmd_export_t cmds[] = {
-    {"is_local",      is_local,              1, fixup_var_str_1,     REQUEST_ROUTE|FAILURE_ROUTE },
+    {"is_local",      is_local,              1, fixup_var_str_1,     REQUEST_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE },
     {"lookup_domain", lookup_domain,         2, lookup_domain_fixup, REQUEST_ROUTE|FAILURE_ROUTE },
     {"get_did",       (cmd_function)get_did, 0, 0,                   0},
     {0, 0, 0, 0, 0}




More information about the sr-dev mailing list