[Devel] non-invite server transactions are terminated too fast

Klaus Darilion klaus.mailinglists at pernau.at
Tue Apr 11 16:00:21 CEST 2006


> try placing:
>    t_newtran();
>    t_release();
> 
> before save("location") in your script. It will consume all 
> retransmissions.


I have now:

     if (method=="REGISTER") {
       if (t_newtran()) {
         t_release();
         # Uncomment this if you want to use digest authentication
         if (!www_authorize("", "subscriber")) {
           www_challenge("", "0");
           exit;
         };

         save("location");
         exit;
       } else sl_reply_error();
     };

Is it correct that the authentication and save() is still stateless, but 
the created transaction absorbs the retransmission?

What happens with retransmission of the replies (407, 200 OK w/ 
contacts, ...). I guess as the replies are stateless, there wont be any 
retransmitted replies - correct?

regards
klaus



More information about the Devel mailing list