[OpenSIPS-Users] send_reply vs t_reply

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jul 2 19:36:52 CEST 2015


nothing :) ....as the transaction state machine does not "see" any 
stateless replies you send from script.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02.07.2015 19:20, Podrigal, Aron wrote:
>
> What happens if within a transaction one sends a stateless reply with 
> sl_send_reply() ?
>
> On Jul 2, 2015 10:18 AM, "Bogdan-Andrei Iancu" <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Aron,
>
>     send_reply() is a wrapper over t_reply() and sl_send_reply(). Both
>     functions do the same, but first is doing it transaction stateful,
>     while the second in a stateless way (no transaction state).
>
>     send_reply() simply checks if a transaction was already created
>     (like via t_newtran() ) and calls further the right function.
>
>     Best regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>     On 30.06.2015 19:35, Podrigal, Aron wrote:
>>     I would like to get some details on the difference if one uses
>>     send_reply or t_reply for a sip message.
>>
>>     Is there any major differences where the reply sent from, and
>>     what function is used?
>>
>>     Thank you.
>>
>>     -- 
>>     Aron Podrigal
>>     -
>>     //Be happy :-)
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150702/88e707ba/attachment-0001.htm>


More information about the Users mailing list