Module: sip-router
Branch: master
Commit: 69aed0615f5e846203acd4809d1f7fdfd67acb8a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=69aed06…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Fri Apr 22 13:09:44 2011 +0300
modules_k/siputils: added failure route to wrong function
- Credits to Alex Hermann.
---
modules_k/siputils/siputils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/siputils/siputils.c b/modules_k/siputils/siputils.c
index 391907e..104af17 100644
--- a/modules_k/siputils/siputils.c
+++ b/modules_k/siputils/siputils.c
@@ -129,7 +129,7 @@ static cmd_export_t cmds[]={
{"add_uri_param", (cmd_function)add_uri_param, 1, fixup_str_null,
0, REQUEST_ROUTE},
{"tel2sip", (cmd_function)tel2sip, 3, fixup_tel2sip, 0,
- REQUEST_ROUTE|ONREPLY_ROUTE},
+ REQUEST_ROUTE|FAILURE_ROUTE|ONREPLY_ROUTE},
{"is_e164", (cmd_function)is_e164, 1, fixup_pvar_null,
fixup_free_pvar_null, REQUEST_ROUTE|FAILURE_ROUTE|LOCAL_ROUTE},
{"is_uri_user_e164", (cmd_function)is_uri_user_e164, 1, fixup_pvar_null,
@@ -139,7 +139,7 @@ static cmd_export_t cmds[]={
{"decode_contact", (cmd_function)decode_contact, 0, 0,
0, REQUEST_ROUTE},
{"decode_contact_header", (cmd_function)decode_contact_header, 0, 0,
- 0,REQUEST_ROUTE|FAILURE_ROUTE|ONREPLY_ROUTE},
+ 0,REQUEST_ROUTE|ONREPLY_ROUTE},
{"cmp_uri", (cmd_function)w_cmp_uri, 2, fixup_spve_spve,
0, ANY_ROUTE},
{"cmp_aor", (cmd_function)w_cmp_aor, 2, fixup_spve_spve,