thanks Fred.

Second question.  What happens if I have more than one trunk with same priority?  Back to my example:

primary trunk - 1 sip trunk
secondary trunk - 4 sip trunk

so secondary trunk have same priority across the 4 trunks

Thanks again.

On Thu, Jan 31, 2019 at 9:24 AM Fred Posner <fred@palner.com> wrote:
The algorithm uses priority based (high value to low value). First
destination is that destination with the highest value priority.

You can also use groups for custom handling:
https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.f.ds_select_routes

Fred Posner
https://qxork.com


On 1/31/19 8:27 AM, Andrew Chen wrote:
> Hey all,
>
> I need some more clarification on dispatcher alg 8:
>
> “8” - use first destination (good for failover).
>
> What is meant by "first destination"?  How is that defined if I have
> more than one carrier.
>
> More specifically in our case for some PSTN locations we have this setup:
>
> primary carrier - 1 sip trunk
> backup carrier - 4 sip trunks
>
> or
>
> primary carrier - 4 sip trunks
> backup carrier - 1 sip trunk
>
> the one that have 4 sip trunks is it going to round-robin through it?
>
> this is setup on our old 4.1.5 release.
>
> thanks
>
> --
> Andy Chen
> achen@ <mailto:achen@thinkingphones.com>fuze.com <http://fuze.com>
>
>
> *Confidentiality Notice: The information contained in this e-mail and any
> attachments may be confidential. If you are not an intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> e-mail is strictly prohibited. If you have received this e-mail in error,
> please notify the sender and permanently delete the e-mail and any
> attachments immediately. You should not retain, copy or use this e-mail or
> any attachment for any purpose, nor disclose all or any part of the
> contents to any other person. Thank you.*
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)


*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*