Kamailio and asterisk

i want to install kamailio just for asterisk sip proxy server and putting up behind NAT.
users in ip phone set kamailio ip address for proxy server and asterisk ip for domain server
Asterisk is my registration server and kamailio is just proxy server
i have 4 asterisk servers and i want used kamailio for proxy server.
kamailio not be my register server.
my first question : kamailio can do this job?
what modules of kamailio i need for this project?
can i have sample code?

I would recommend asking your questions on a Kamailio forum or mailing list.

Take a look at the asipto knowledgebase, think it will help you.


Good luck.