[OpenSIPS-Users] Dialog hanging at State 5
Răzvan Crainea
razvan at opensips.org
Fri Mar 27 09:34:02 CET 2015
Hi, John!
What do you mean the dialog is hanging in state 5? The dialog is never
deleted from DB/memory?
The dialog starts when the call is completed (the 200 OK is sent), so
you can't "move a dialog" in failure route.
What you can do is to handle the Request failure in failure_route and
route it somewhere else, or drop it and the dialog is closed. To handle
a request in failure_route, you have to engage it before sending the
first request out, using:
t_on_failure("handle_fails");
...
failure_route[handle_fails] {
...
# handle the failed call
...
}
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 03/26/2015 03:55 PM, John Mathew wrote:
> Hi,
>
> Dialog state is hanging at "state 5" when there is no response from
> the destination.
>
> What config we need to add to get the dialog moved to failure_route
> if, opensips is not receiving any response from destination for any
> request sent out.?
>
> Or
>
>
> How can we drop the dialog instead of moving to failure_route?
>
> --
>
> Regards,
> John Mathew
> CEO/Director
> Divox International Inc.
> Contact: +91-9037100001
> Email/MSN: John.Mathew at divoxmedia.com <mailto:John.Mathew at divoxmedia.com>
> WEB: www.divoxmedia.com <http://www.divoxmedia.com/>
>
>
>
>
>
> _______________________________________________
> 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/20150327/69237615/attachment.htm>
More information about the Users
mailing list