in auth module readme, there is this kind of example code in
section 1.3.3. nonce_count:

        # go stateful and catch retransmissions
        if (!t_newtran())
                drop; # retransmission

based on tm source comment, the #retransmission comment is not correct:

/** if no transaction already exists for the message, create a new one.
 * atomic "new_tran" construct; it returns:
 *
 * @return <0   on error
 *          +1  if a request did not match a transaction
 *           0  on retransmission

that is, if t_newtran() returns false, there has been an error.  drop
happens automatically in case of retransmission.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to