Jignesh, Everything you're asking for is part of Kamailio's core functionality:
1. Most useful applications of Kamailio involve stateful relay, and the stock included configurations are stateful.
2. The loose-routing section of the configuration, and, more broadly, RFC 3261 in general, take care of routing in-dialog requests (ACKs, reinvites, BYEs, etc.) to the appropriate dialog party.
3. Load-balancing/distribution among Asterisk instances can be done with the 'dispatcher' module; there are many examples floating around, as it's one of the most common applications for Kamailio.
-- Alex -- Alex Balashov | Principal | Evariste Systems LLC 1447 Peachtree Street NE, Suite 700 Atlanta, GA 30309 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users