Hi Julien,

Indeed, from script level you cannot remove a contact - but will not be hard to add something like that. Nevertheless, may I ask how do you figure out from script level if a registration must be removed ? (socket related evens are not visible from the script level)

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 02/12/2013 11:02 AM, Julien Chavanton wrote:
Hi, I have a case where is would be helpful to delete a binding from the location database.

For example, when we receive a socket reset or time-out while trying to use it.

I believe it can be done trough the MI :

ul rm <username> [<contact URI>].... delete user's usrloc entries

But I just wanted to confirm that currently it can not be done directly from the routing script ?


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to