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 <[email protected]> _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
