<div dir="ltr">It depends.<div>I can imagine next scenarios:</div><div>1. Under SIP trunks you mean calls from your provider to you</div><div>A) In case your provider can send calls to you - then you can use Kamailio, accepting all calls from your provider - based on IP.</div>
<div>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.</div><div>2. Under SIP trunks you mean calls from you to World through your provider.</div>
<div>A) Your provider can accept all calls from you based on IP - Kamailio can directly forward calls to your provider.</div><div>B) Your provider expects authentication - then again I dont know how this can be done through Kamailio, but Asterisk can do it easily.</div>
<div><br></div><div>My suggestion is - you can use Kamailio for registration of users and load balancing, and asterisk servers for everything else. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 7:30 PM, Jose Suero <span dir="ltr"><<a href="mailto:ms@mstn.com" target="_blank">ms@mstn.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
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.<br>

<br>
What's the best practice when It comes to this?<br>
<br>
Is kamailio going to be receiving the calls from the trunk and passing them to the PBX or is it the other way around?<br>
<br>
<br>
please advice<br>
<br>
Thanks in advance<br>
<br>
Jose Suero<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</blockquote></div><br></div>