Thanks a lot, Bogdan. The flag has been implemented and works as expected. Best regards, Yuri
On Wed, May 4, 2016 at 4:26 AM, Bogdan-Andrei Iancu <bog...@opensips.org> wrote: > Hi Yuri, > > That 477 is a result of a failed send (opensips was not able to send out > the requests) ; failure route is triggered by negative replies after the > request was sent out (this is why you do not see it there). > > But, if you use the 0x02 flag in t_relay() > http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294529 > > you can see the failure in the script (t_relay() will return with negative > code) and you can do your own replying there. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 04.05.2016 06:19, Yuri Ritvin wrote: > > Hi, > I'm looking into a way to convert a response code "477 Send failed" into > "404". > It looks like the failure_route doesn't take care of the "477" cases (at > least in ver.2.2). > Is it by design or something is missing in the picture ? > > Thank you. > > > _______________________________________________ > Users mailing > listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users > > >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users