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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Apr 11 16:06:36 CEST 2006


Klaus Darilion wrote:

>
>> 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?

right

>
> 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?

right again.

regards,
bogdan



More information about the Devel mailing list