Module: kamailio
Branch: master
Commit: 8960a3e7aa52f706676806c175e70d228cc11549
URL:
https://github.com/kamailio/kamailio/commit/8960a3e7aa52f706676806c175e70d2…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-03-19T18:01:41+01:00
dialplan: use PV_IDX_ITR
---
Modified: modules/dialplan/dp_repl.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8960a3e7aa52f706676806c175e70d2…
Patch:
https://github.com/kamailio/kamailio/commit/8960a3e7aa52f706676806c175e70d2…
---
diff --git a/modules/dialplan/dp_repl.c b/modules/dialplan/dp_repl.c
index 5c63ef1..bfeda07 100644
--- a/modules/dialplan/dp_repl.c
+++ b/modules/dialplan/dp_repl.c
@@ -156,7 +156,7 @@ int dpl_detect_avp_indx(const pv_elem_p elem, pv_elem_p *avp)
for(e=elem, num=num_avp_all=0; e!=NULL; e=e->next, num++) {
if(e->spec!=NULL && e->spec->type==PVT_AVP &&
- e->spec->pvp.pvi.type==PV_IDX_ALL)
+ e->spec->pvp.pvi.type==PV_IDX_ITR)
{
*avp = e;
num_avp_all++;