|
|
@ -42,8 +42,8 @@ REDIS_CALLIDS_FILTER=$(mktemp)
|
|
|
|
egrep -v '^list:' "$REDIS_CALLIDS" > "$REDIS_CALLIDS_FILTER" || true
|
|
|
|
egrep -v '^list:' "$REDIS_CALLIDS" > "$REDIS_CALLIDS_FILTER" || true
|
|
|
|
|
|
|
|
|
|
|
|
while read -r i ; do
|
|
|
|
while read -r i ; do
|
|
|
|
if ! ngcp-sercmd proxy dlg.dlg_list "$i"| \
|
|
|
|
if ! ngcp-sercmd proxy dlg.dlg_list -- "$i"| \
|
|
|
|
awk '/call-id:/ { print $NF}'| grep -q "$i"
|
|
|
|
awk '/call-id:/ { print $NF}'| grep -q -- "$i"
|
|
|
|
then
|
|
|
|
then
|
|
|
|
printf "CallID:[%s] unknown\n" "$i"
|
|
|
|
printf "CallID:[%s] unknown\n" "$i"
|
|
|
|
if $REMOVE ; then
|
|
|
|
if $REMOVE ; then
|
|
|
|