[OpenSIPS-Users] t_forward_nonack failed

Oleg Podguyko podguiko at mail.ru
Sun Apr 5 10:29:57 EST 2020


 
Opensips works like a proxy. Gets an Invite. In the process of processing it, opensips makes a request via http (rest_client module) and receives a response. 
Adds the received information to Invite (as X-header) and sends through the dispatcher module to freeswitch.
Everything is working fine.
However, there is a scenario in which everything goes a little wrong.
Opensips receives an Invite, starts processing it, sends a request via http. At this time, Cancel arrives at Invite. The transaction is being destroyed. Opensips sends 200 Cancelling, and then 487. And here comes the response via HTTP, but since the transaction is no longer there, this call ends with an error 500 no route to destination when the t_relay function is executed. In this case, a message appears in the log
/ usr / sbin / opensips [5577]: ERROR: tm: w_t_relay: t_forward_nonack failed.
How to correctly handle such cases in order to prevent such errors in the logs?
 
--
Oleg Podguyko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200405/d27d33ec/attachment.html>


More information about the Users mailing list