[sr-dev] git:master:6ada2d4f: kemix: added from uri user and host functions to exports structure
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jun 19 08:46:46 CEST 2019
Module: kamailio
Branch: master
Commit: 6ada2d4f04fd5439eb7b424dfaae422ff1bc203c
URL: https://github.com/kamailio/kamailio/commit/6ada2d4f04fd5439eb7b424dfaae422ff1bc203c
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-06-19T08:46:04+02:00
kemix: added from uri user and host functions to exports structure
---
Modified: src/modules/kemix/kemix_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/6ada2d4f04fd5439eb7b424dfaae422ff1bc203c.diff
Patch: https://github.com/kamailio/kamailio/commit/6ada2d4f04fd5439eb7b424dfaae422ff1bc203c.patch
---
diff --git a/src/modules/kemix/kemix_mod.c b/src/modules/kemix/kemix_mod.c
index a01a72f7a3..aef7fc75d1 100644
--- a/src/modules/kemix/kemix_mod.c
+++ b/src/modules/kemix/kemix_mod.c
@@ -460,6 +460,36 @@ static sr_kemi_t sr_kemi_kx_exports[] = {
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
+ { str_init("kx"), str_init("get_ruser"),
+ SR_KEMIP_XVAL, ki_kx_get_ruser,
+ { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
+ { str_init("kx"), str_init("getw_ruser"),
+ SR_KEMIP_XVAL, ki_kx_getw_ruser,
+ { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
+ { str_init("kx"), str_init("gete_ruser"),
+ SR_KEMIP_XVAL, ki_kx_gete_ruser,
+ { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
+ { str_init("kx"), str_init("get_rhost"),
+ SR_KEMIP_XVAL, ki_kx_get_rhost,
+ { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
+ { str_init("kx"), str_init("getw_rhost"),
+ SR_KEMIP_XVAL, ki_kx_getw_rhost,
+ { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
+ { str_init("kx"), str_init("gete_rhost"),
+ SR_KEMIP_XVAL, ki_kx_gete_rhost,
+ { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
{ str_init("kx"), str_init("get_ouri"),
SR_KEMIP_XVAL, ki_kx_get_ouri,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
@@ -470,38 +500,38 @@ static sr_kemi_t sr_kemi_kx_exports[] = {
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
- { str_init("kx"), str_init("get_turi"),
- SR_KEMIP_XVAL, ki_kx_get_turi,
+ { str_init("kx"), str_init("get_fuser"),
+ SR_KEMIP_XVAL, ki_kx_get_fuser,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
- { str_init("kx"), str_init("get_ruser"),
- SR_KEMIP_XVAL, ki_kx_get_ruser,
+ { str_init("kx"), str_init("getw_fuser"),
+ SR_KEMIP_XVAL, ki_kx_getw_fuser,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
- { str_init("kx"), str_init("getw_ruser"),
- SR_KEMIP_XVAL, ki_kx_getw_ruser,
+ { str_init("kx"), str_init("gete_fuser"),
+ SR_KEMIP_XVAL, ki_kx_gete_fuser,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
- { str_init("kx"), str_init("gete_ruser"),
- SR_KEMIP_XVAL, ki_kx_gete_ruser,
+ { str_init("kx"), str_init("get_fhost"),
+ SR_KEMIP_XVAL, ki_kx_get_fhost,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
- { str_init("kx"), str_init("get_rhost"),
- SR_KEMIP_XVAL, ki_kx_get_rhost,
+ { str_init("kx"), str_init("getw_fhost"),
+ SR_KEMIP_XVAL, ki_kx_getw_fhost,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
- { str_init("kx"), str_init("getw_rhost"),
- SR_KEMIP_XVAL, ki_kx_getw_rhost,
+ { str_init("kx"), str_init("gete_fhost"),
+ SR_KEMIP_XVAL, ki_kx_gete_rhost,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
- { str_init("kx"), str_init("gete_rhost"),
- SR_KEMIP_XVAL, ki_kx_gete_rhost,
+ { str_init("kx"), str_init("get_turi"),
+ SR_KEMIP_XVAL, ki_kx_get_turi,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
More information about the sr-dev
mailing list