On Tue, 2006-12-05 at 10:54 +0100, Martin
Hoffmann wrote:
I think a function "t_go_stateful()" might be enough (and use t_reply()
in the registrar). The function checks if a transaction for the request
exists and if so, ends processing right away. Otherwise it creates a
transaction in a prelimary state.
With Ottendorf you can use t_newtran() to start the transaction and
further in the script use functions of tm module like t_relay(),
t_reply() - it does not complain any longer, that the transaction was
started from the script earlier.
That takes care of INVITEs. Now a version of save() that uses t_reply()
instead of sl_send_reply() is needed. I seem to remember that that isn't
too hard.
Regards,
Martin