[OpenSIPS-Users] send_reply vs t_reply

Podrigal, Aron aronp at guaranteedplus.com
Thu Jul 2 18:20:39 CEST 2015


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> 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 Developerhttp://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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150702/a3438864/attachment-0001.htm>


More information about the Users mailing list