Module: kamailio Branch: master Commit: d80ae5e88edec8471ade209f9984bef488cbb06f URL: https://github.com/kamailio/kamailio/commit/d80ae5e88edec8471ade209f9984bef4...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-12-08T11:32:16+01:00
htable: set the value for dmq replicate of rm with sw operation
---
Modified: src/modules/htable/htable.c
---
Diff: https://github.com/kamailio/kamailio/commit/d80ae5e88edec8471ade209f9984bef4... Patch: https://github.com/kamailio/kamailio/commit/d80ae5e88edec8471ade209f9984bef4...
---
diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c index d449839c2f..d05cf5227d 100644 --- a/src/modules/htable/htable.c +++ b/src/modules/htable/htable.c @@ -493,6 +493,7 @@ static int ht_rm_items(sip_msg_t* msg, str* hname, str* op, str *val, } return 1; } else if(strncmp(op->s, "sw", 2)==0) { + isval.s = *val; if (ht_dmq_replicate_action(HT_DMQ_RM_CELL_SW, &ht->name, NULL, AVP_VAL_STR, &isval, mkey)!=0) { LM_ERR("dmq relication failed (op %d)\n", mkey);