[OpenSIPS-Users] Presence route[handle_presence]
campusvtv
campusvtv at gmail.com
Tue Feb 24 17:03:57 CET 2015
Hello,
thank you for your response.
Maybe I have to read the RFC6665 :)
Regards
El 22/02/2015 a las 06:05, Podrigal, Aron escribió:
> The reason for the transaction is because of re-transmission.
> Otherwise, In the case where the original reply from opensips has
> been lost on the network. the client will re-transmit the SUBSCRIBE
> and will be seen as duplicate CSEQ by
> presence module with 412 error code.
>
> On Sat, Feb 21, 2015 at 8:33 PM, campusvtv <campusvtv at gmail.com
> <mailto:campusvtv at gmail.com>> wrote:
>
> Hello,
>
> a basic question.
>
> In this block:
>
> route[handle_presence] {
> if (!t_newtran()) {
> sl_reply_error();
> exit;
> }
>
> if(is_method("PUBLISH")) {
> handle_publish();
> }
> else
> if( is_method("SUBSCRIBE")) {
> handle_subscribe();
> }
> exit;
> }
>
> whic is the meaning of:
>
> if (!t_newtran()) {
> sl_reply_error();
> exit;
> }
>
> in other words why I have to use t_newtran function.
>
> Thank you.
>
> Regards
>
>
>
> _______________________________________________
> 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/20150224/7b2219b5/attachment.htm>
More information about the Users
mailing list