Hey Oleg,
When processing a SIP request, you can create the SIP transaction (go
stateful)
using either t_newtran() [1] or t_relay() [2]. Replies will be
automatically
intercepted, matched and handled afterwards. To obtain script-level
access to
them, you must install a t_on_reply() [3] route callback.
Regards,
[1]: https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_newtran
[2]: https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_relay
[3]: https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_on_reply
<https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_relay>
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 23.06.2019 12:13, Олег Подгуйко via Users wrote:
How to make opensips when accepting INVITE immediately start working
as a statefull proxy?
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users