[OpenSIPS-Users] Understanding statefuli proxy mode opensips.
Liviu Chircu
liviu at opensips.org
Mon Jun 24 11:04:29 EDT 2019
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190624/92402913/attachment.html>
More information about the Users
mailing list