It depends.
I can imagine next scenarios:
1. Under SIP trunks you mean calls from your provider to you
A) In case your provider can send calls to you - then you can use Kamailio, accepting all calls from your provider - based on IP.
B) In case your provider expects registration from your system - then, at least I - dont know how to do only with Kamailio - Asterisk can register easily to every provider.
2. Under SIP trunks you mean calls from you to World through your provider.
A) Your provider can accept all calls from you based on IP - Kamailio can directly forward calls to your provider.
B) Your provider expects authentication - then again I dont know how this can be done through Kamailio, but Asterisk can do it easily.

My suggestion is - you can use Kamailio for registration of users and load balancing, and asterisk servers for everything else. 


On Wed, Jun 19, 2013 at 7:30 PM, Jose Suero <ms@mstn.com> wrote:
Hi

I'm planning to set kamailio in front of an farm of pbx servers (haven't decided on freeswitch or asterisk) there's a million tutorials on how to do this, what I haven't found is what part of my setup actually handles the sip trunks my phone company provides me with.

What's the best practice when It comes to this?

Is kamailio going to be receiving the calls from the trunk and passing them to the PBX or is it the other way around?


please advice

Thanks in advance

Jose Suero

_______________________________________________
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