Module: kamailio
Branch: master
Commit: c4754f60f010b8ad55a3785ea362dfeeda008300
URL:
https://github.com/kamailio/kamailio/commit/c4754f60f010b8ad55a3785ea362dfe…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: 2017-05-15T19:02:21+03:00
modules/lcr: forgot to copy new versions of lcr *.h files to k master
- thanks to Travis CI
---
Modified: src/modules/lcr/hash.h
Modified: src/modules/lcr/lcr_mod.h
---
Diff:
https://github.com/kamailio/kamailio/commit/c4754f60f010b8ad55a3785ea362dfe…
Patch:
https://github.com/kamailio/kamailio/commit/c4754f60f010b8ad55a3785ea362dfe…
---
diff --git a/src/modules/lcr/hash.h b/src/modules/lcr/hash.h
index 33c8b58..f09e379 100644
--- a/src/modules/lcr/hash.h
+++ b/src/modules/lcr/hash.h
@@ -36,7 +36,8 @@ int rule_hash_table_insert(struct rule_info **hash_table,
unsigned int lcr_id, unsigned int rule_id,
unsigned short prefix_len, char *prefix,
unsigned short from_uri_len, char *from_uri,
- pcre *from_uri_re, unsigned short request_uri_len,
+ pcre *from_uri_re, unsigned short mt_tvalue_len,
+ char *mt_tvalue, unsigned short request_uri_len,
char *request_uri, pcre *request_uri_re,
unsigned short stopper);
diff --git a/src/modules/lcr/lcr_mod.h b/src/modules/lcr/lcr_mod.h
index 9d4e6f2..89e20ff 100644
--- a/src/modules/lcr/lcr_mod.h
+++ b/src/modules/lcr/lcr_mod.h
@@ -47,6 +47,7 @@
#define MAX_USER_LEN 64
#define MAX_PARAMS_LEN 64
#define MAX_NO_OF_REPLY_CODES 15
+#define MAX_MT_TVALUE_LEN 128
typedef enum sip_protos uri_transport;
@@ -56,6 +57,8 @@ struct rule_info {
unsigned short prefix_len;
char from_uri[MAX_URI_LEN + 1];
unsigned short from_uri_len;
+ char mt_tvalue[MAX_MT_TVALUE_LEN + 1];
+ unsigned short mt_tvalue_len;
pcre *from_uri_re;
char request_uri[MAX_URI_LEN + 1];
unsigned short request_uri_len;