[OpenSIPS-Users] [OpenSIPS-Devel] [RFD] Unified way of sending SIP replies from modules
dan at ag-projects.com
Thu Oct 9 15:15:44 CEST 2008
Calling t_newtran() followed by sl_send_reply() shouldn't even be an
error. If a transaction is created and not used, it should be
automatically discarded and no error should be reported.
Bogdan-Andrei Iancu wrote:
> Hi Phil,
> Yes, this is a good point - the function will be available also both
> from script and code.
> Phil Vandry wrote:
>> On Tue, Oct 07, 2008 at 07:51:40PM +0300, Bogdan-Andrei Iancu wrote:
>>> The solution will be to have a new module that comes as a wrapper over
>>> tm and sl modules and offers one function to be called by the modules
>>> that want to send a reply. To solve the problem above, the module will
>> Hi Bogdan,
>> I think it is a good idea. Furthermore, the new "reply" function should
>> be callable directly from the script and should become the recommended
>> way to send replies directly from the script. Doing so will help avoid
>> errors in the script such as t_newtran() followed by sl_send_reply().
> Devel mailing list
> Devel at lists.opensips.org
More information about the Users