<div dir="ltr">Surely there must be a better way.<div>For example, if you are a good client for your provider, you can ask him to forward all calls to your IP. This way, Kamailio will accept all calls and forward them to multiple Asterisk boxes for processing.</div>
<div>Also - you can put one Asterisk to do only one thing - accept all calls (from provider), and forward them (to other Asterisk boxes, or to Kamailio). </div><div>May be there are better ways, but in this moment, I cannot imagine more.</div>
<div>PS</div><div>There are many providers, and some of them can forward calls. It is good idea to see if your provider can or cannot really forward calls to your IP.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jun 25, 2013 at 8:24 AM, 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">
Stoyan thanks for your reply, i've been doing some research before replying (which has taken a while) and there's something I don't understand. I apologize in advance if I'm asking something that makes no sense.<br>

<br>
my provider does in fact requires registration, and they provide a single sip that accepts hundreds of concurrent calls.<br>
<br>
If I have a kamailio in front of several pbx servers, in order to have redundancy (if server fails) and be able to handle thousands of calls, but have to route all outgoint (pstn) calls to a single asterisk/freeswitch server that's actually registered with my provider, wouldn't I loose all my redundancy and concurrency capability??<br>

<br>
Is there a better way??<br>
<br>
thanks in advance<div class="im"><br>
<br>
<br>
On 2013-06-19 13:19, Stoyan Mihaylov wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
It depends.<br>
I can imagine next scenarios:<br>
1. Under SIP trunks you mean calls from your provider to you<br>
A) In case your provider can send calls to you - then you can use<br>
Kamailio, accepting all calls from your provider - based on IP.<br>
B) In case your provider expects registration from your system - then,<br>
at least I - dont know how to do only with Kamailio - Asterisk can<br>
register easily to every provider.<br>
2. Under SIP trunks you mean calls from you to World through your<br>
provider.<br>
A) Your provider can accept all calls from you based on IP - Kamailio<br>
can directly forward calls to your provider.<br>
B) Your provider expects authentication - then again I dont know how<br>
this can be done through Kamailio, but Asterisk can do it easily.<br>
<br>
My suggestion is - you can use Kamailio for registration of users and<br>
load balancing, and asterisk servers for everything else. <br>
<br></div>
On Wed, Jun 19, 2013 at 7:30 PM, Jose Suero <<a href="mailto:ms@mstn.com" target="_blank">ms@mstn.com</a> [3]> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<div class="im"><br>
<br>
Im planning to set kamailio in front of an farm of pbx servers<br></div>
(havent decided on freeswitch or asterisk) theres a million<br>
tutorials on how to do this, what I havent found is what part of my<div class="im"><br>
setup actually handles the sip trunks my phone company provides me<br>
with.<br>
<br></div>
Whats the best practice when It comes to this?<div class="im"><br>
<br>
Is kamailio going to be receiving the calls from the trunk and<br>
passing them to the PBX or is it the other way around?<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<br>
list<br>
</div><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a> [1]<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> [2]<br>
</blockquote>
<br>
<br>
<br>
Links:<br>
------<br>
[1] mailto:<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-<u></u>router.org</a><br>
[2] <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>
[3] mailto:<a href="mailto:ms@mstn.com" target="_blank">ms@mstn.com</a><br>
</blockquote><div class="HOEnZb"><div class="h5">
<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>
</div></div></blockquote></div><br></div>