[OpenSIPS-Users] delete a binding in location database from the routing script

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Feb 12 16:46:52 CET 2013


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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130212/c279f3c1/attachment-0001.htm>


More information about the Users mailing list