[OpenSIPS-Users] delete a binding in location database from the routing script
jchavanton at gmail.com
Tue Feb 12 17:20:18 CET 2013
With Opensips we can use timeout, for example after sending an INVITE if we
do not receive any provisional responses after 32 seconds, this
registration binding should be refreshed / recreated.
Some equipments are generating 503 when they face a transport layer
failure, we found out that this is quite reliable.
In our case it would be best to delete the binding to avoid loosing time
trying to use when we know is is not working.
Is there a way to detecting transport layer failure in Opensips ? (TCP RST)
184.108.40.206 Transaction Layer Errors
In some cases, the response returned by the transaction layer will
not be a SIP message, but rather a transaction layer error. When a
timeout error is received from the transaction layer, it MUST be
treated as if a 408 (Request Timeout) status code has been received.
If a fatal transport error is reported by the transport layer
(generally, due to fatal ICMP errors in UDP or connection failures in
TCP), the condition MUST be treated as a 503 (Service Unavailable)
On Tue, Feb 12, 2013 at 4:46 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>wrote:
> 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)
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users