[OpenSIPS-Users] Dialog hanging at State 5

John Mathew john.mathew at divoxmedia.com
Fri Mar 27 09:40:36 CET 2015


Hi Razvan,

I mean dialog not deleted from memory and they are at state 5. This happens
only for calls where, destination not responding for Register and Invite
requests. And they are not deleted from memory.

I guess i am missing some timer related configuration.

On Friday, 27 March 2015, Răzvan Crainea <razvan at opensips.org> wrote:

>  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 Solutionswww.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
> <javascript:_e(%7B%7D,'cvml','John.Mathew at divoxmedia.com');>
> WEB: www.divoxmedia.com
>
>
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.org <javascript:_e(%7B%7D,'cvml','Users at lists.opensips.org');>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>

-- 
Sent from iPhone 6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150327/35be1c6a/attachment.htm>


More information about the Users mailing list