Module: kamailio
Branch: master
Commit: 0ad7fb46f633b8f710c4bab299121fe993ed03c5
URL:
https://github.com/kamailio/kamailio/commit/0ad7fb46f633b8f710c4bab299121fe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-11-21T11:49:50+01:00
dispatcher: set the proper internal id for $dsv(reason)
---
Modified: src/modules/dispatcher/dispatcher.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0ad7fb46f633b8f710c4bab299121fe…
Patch:
https://github.com/kamailio/kamailio/commit/0ad7fb46f633b8f710c4bab299121fe…
---
diff --git a/src/modules/dispatcher/dispatcher.c b/src/modules/dispatcher/dispatcher.c
index 7e25e37e54..b4080168f5 100644
--- a/src/modules/dispatcher/dispatcher.c
+++ b/src/modules/dispatcher/dispatcher.c
@@ -1222,7 +1222,7 @@ static int pv_parse_dsv(pv_spec_p sp, str *in)
break;
case 6:
if(strncmp(in->s, "reason", 6)==0)
- sp->pvp.pvn.u.isname.name.n = 2;
+ sp->pvp.pvn.u.isname.name.n = 1;
else goto error;
break;
default: