You can set DLG_timeout to 2sec for failure route to work, then also look for ACK in main route to set DLG_timeout to 3600 (for example) if the call was answered.
On Thu, Jul 13, 2023 at 10:28 AM Simon Gajski via Users < [email protected]> wrote: > Hi > > I am running opensips 2.1.1 and have a question regarding accessing > failure_route. > > > In case I send INVITE to some destination where I receive 3xx, 4xx or > 5xx reply, call goes to failure_route and uses next gw from there. > Everything fine so far. > But in some cases it hapens that opensips sends INVITE to a destination > from where there is no reply. > In this case opensips repeatedly sends INVITEs to that destination and > doesn't do failover to failure_route. > > I played so far with $DLG_timeout variable, set to 2 sec. > In this case opensips does failover to failure_route after 2 sec, > however established call via next gw is also terminated after 2 sec. > > > Is there another way to reach failure_route if remote end doesn't replay > in expected time? > > BR > Simon > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
