[SR-Users] dispatcher alg - 8

Andrew Chen achen at fuze.com
Thu Jan 31 17:37:53 CET 2019


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 at 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 at 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 at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> >
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen at thinkingphones.com>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.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190131/2efc1bb8/attachment.html>


More information about the sr-users mailing list