TT#44453 fix 'ngcp-dlgcnt-check -r' problem when callID starting with minus(-)

Change-Id: I453c9bd1515ec24ae404f4b280a23a58cb23c296
(cherry picked from commit 2573825216)
changes/33/23833/1
Juergen Fortin 7 years ago committed by Marco Capetta
parent 6891ceca8d
commit 6c9c45d123

@ -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

@ -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

Loading…
Cancel
Save