Dirk,
Why do you need to create new transactions yourself with t_newtran()? Nonexotic applications of Kamailio usually don't require this. A transaction is automatically created after t_relay() is called, and its lifecycle is automatically managed - including destruction - based on the replies received to the transaction-forming request, and based on RFC 3261 rules in cases of timeouts.
-- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Sent from my BlackBerry.