<div dir="ltr">thanks Fred.<div><br></div><div>Second question. What happens if I have more than one trunk with same priority? Back to my example:</div><div><br></div><div>primary trunk - 1 sip trunk</div><div>secondary trunk - 4 sip trunk</div><div><br></div><div>so secondary trunk have same priority across the 4 trunks</div><div><br></div><div>Thanks again.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 31, 2019 at 9:24 AM Fred Posner <<a href="mailto:fred@palner.com">fred@palner.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The algorithm uses priority based (high value to low value). First <br>
destination is that destination with the highest value priority.<br>
<br>
You can also use groups for custom handling:<br>
<a href="https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.f.ds_select_routes" rel="noreferrer" target="_blank">https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.f.ds_select_routes</a><br>
<br>
Fred Posner<br>
<a href="https://qxork.com" rel="noreferrer" target="_blank">https://qxork.com</a><br>
<br>
<br>
On 1/31/19 8:27 AM, Andrew Chen wrote:<br>
> Hey all,<br>
> <br>
> I need some more clarification on dispatcher alg 8:<br>
> <br>
> “8” - use first destination (good for failover).<br>
> <br>
> What is meant by "first destination"? How is that defined if I have <br>
> more than one carrier.<br>
> <br>
> More specifically in our case for some PSTN locations we have this setup:<br>
> <br>
> primary carrier - 1 sip trunk<br>
> backup carrier - 4 sip trunks<br>
> <br>
> or<br>
> <br>
> primary carrier - 4 sip trunks<br>
> backup carrier - 1 sip trunk<br>
> <br>
> the one that have 4 sip trunks is it going to round-robin through it?<br>
> <br>
> this is setup on our old 4.1.5 release.<br>
> <br>
> thanks<br>
> <br>
> -- <br>
> Andy Chen<br>
> achen@ <mailto:<a href="mailto:achen@thinkingphones.com" target="_blank">achen@thinkingphones.com</a>><a href="http://fuze.com" rel="noreferrer" target="_blank">fuze.com</a> <<a href="http://fuze.com" rel="noreferrer" target="_blank">http://fuze.com</a>><br>
> <br>
> <br>
> *Confidentiality Notice: The information contained in this e-mail and any<br>
> attachments may be confidential. If you are not an intended recipient, you<br>
> are hereby notified that any dissemination, distribution or copying of this<br>
> e-mail is strictly prohibited. If you have received this e-mail in error,<br>
> please notify the sender and permanently delete the e-mail and any<br>
> attachments immediately. You should not retain, copy or use this e-mail or<br>
> any attachment for any purpose, nor disclose all or any part of the<br>
> contents to any other person. Thank you.*<br>
> <br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
> <br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="font-size:12.8px">Andy Chen</div><div dir="ltr" style="font-size:12.8px"><div>Sr. Telephony Lead Engineer</div><div>415 516 5535 (M)</div><div><a href="mailto:achen@thinkingphones.com" target="_blank">achen@</a><a href="http://fuze.com" target="_blank">fuze.com</a></div><div><br></div></div></div></div></div></div>
<br>
<span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality Notice: The information contained in this e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments may be confidential. If you are not an intended recipient, you</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are hereby notified that any dissemination, distribution or copying of this</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail is strictly prohibited. If you have received this e-mail in error,</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please notify the sender and permanently delete the e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments immediately. You should not retain, copy or use this e-mail or</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any attachment for any purpose, nor disclose all or any part of the</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents to any other person. Thank you.*</span>