[OpenSIPS-Users] Dialog hanging at State 5

John Mathew john.mathew at divoxmedia.com
Fri Mar 27 16:06:26 CET 2015


Hi,

Normally how do we handle the situation, when we do not receive any
response from destination for any request?

On Fri, Mar 27, 2015 at 2:10 PM, John Mathew <john.mathew at divoxmedia.com>
wrote:

> 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
>> WEB: www.divoxmedia.com
>>
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
> --
> Sent from iPhone 6
>



-- 

Regards,
John Mathew
CEO/Director
Divox International Inc.
Contact: +91-9037100001
Email/MSN: John.Mathew at divoxmedia.com
WEB: www.divoxmedia.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150327/caa74429/attachment.htm>


More information about the Users mailing list