As hot fix on kamailio hosts is created script
```
#!/bin/sh
DB_FILE=/etc/kazoo/kazoo-configs-kamailio/kamailio/db/kazoo.db
clean_dialogs() {
local TIMESTAMP=$1
sqlite3 $DB_FILE "update presentity SET expires=(received_time+900)
where expires=0 and event='dialog' and instr(body,
'direction=\"recipient\"><state>early</state><local><identity display') > 0;"
}
TIMESTAMP=$(date +%s)
clean_dialogs "$TIMESTAMP"
exit 0
```
And added to `/etc/crontab` this record
```
0,15,30,45 * * * * kamailio /usr/local/bin/clean_blf.sh
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1489#issuecomment-388040183_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev