diff --git a/scripts/ngcp-dlgcnt-check b/scripts/ngcp-dlgcnt-check index 307dd13..731492f 100755 --- a/scripts/ngcp-dlgcnt-check +++ b/scripts/ngcp-dlgcnt-check @@ -47,9 +47,9 @@ while read -r i ; do then printf "CallID:[%s] unknown\n" "$i" if $REMOVE ; then - ngcp-dlgcnt-clean "$i" || true + ngcp-dlgcnt-clean "--" "$i" || true if grep -q "list:$i" "$REDIS_CALLIDS" ; then - ngcp-dlglist-clean "$i" || true + ngcp-dlglist-clean "--" "$i" || true fi fi fi diff --git a/tests/fixtures/koredis.cmd b/tests/fixtures/koredis.cmd index 96bf4d3..27e8c98 100644 --- a/tests/fixtures/koredis.cmd +++ b/tests/fixtures/koredis.cmd @@ -1,3 +1,3 @@ -ngcp-dlgcnt-clean f81f8a33-2dbd-1235-018c-0090fb484030:5060-pbx_1 -ngcp-dlgcnt-clean f81f8a33-2dbd-1235-018c-0090fb484030:5060 -ngcp-dlglist-clean f81f8a33-2dbd-1235-018c-0090fb484030:5060 +ngcp-dlgcnt-clean -- f81f8a33-2dbd-1235-018c-0090fb484030:5060-pbx_1 +ngcp-dlgcnt-clean -- f81f8a33-2dbd-1235-018c-0090fb484030:5060 +ngcp-dlglist-clean -- f81f8a33-2dbd-1235-018c-0090fb484030:5060