Module: kamailio Branch: master Commit: d80ae5e88edec8471ade209f9984bef488cbb06f URL: https://github.com/kamailio/kamailio/commit/d80ae5e88edec8471ade209f9984bef488cbb06f
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> 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/d80ae5e88edec8471ade209f9984bef488cbb06f.diff Patch: https://github.com/kamailio/kamailio/commit/d80ae5e88edec8471ade209f9984bef488cbb06f.patch --- 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); _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
