[OpenSIPS-Devel] [pres-rules] active_watchers has entries with status = 3 ("terminated") and reason "rejected" (it shouldn't)

Iñaki Baz Castillo ibc at aliax.net
Tue Aug 25 16:04:07 CEST 2009


Hi Anca :)

I've blocked a watcher by inserting it in a "blocked" section of my
pres-rules. Inmedaitelly OpenSIPS sends a NOTIFY
"terminated;status=deactivated", right.
The watcher subscribes again and it should receive "pending" but it
receives "terminated;status=rejected". Because it, the watcher doesn't
try to subscribe anymore.
At this time, there are two entries in active_watchers for this
watcher and same presentity, both with status 3 and reason "rejected".

Wouldn't be better to remove entries with status 3 from the
active_watcher table and reply "pending"?


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Devel mailing list