On 06/10/2023 15:23, Alex Balashov via sr-users wrote:
Hello,

If you can't key by R-URI, perhaps then just store a list of routes in a 
database table or similar?

Thanks. The routes are received via an API call, and are dynamic. Trying to avoid the overhead of a database.

-Barry


On 6 Oct 2023, at 08:35, Barry Flanagan via sr-users 
<sr-users@lists.kamailio.org> wrote:

Hi,
Anyone have a clue how the below can be acheived?

Thanks!

-Barry

On Thu, 21 Sep 2023, at 13:52, Barry Flanagan wrote:
Hi

I have a scenario where I need to implement serial forking but each
destination has also a next hop proxy. I can do the forking using
append_branch, but how can I set the destination URI for each branch? In
some cases the R-URI does not change, only the next hop proxy.

Example:

R-URI                         Next Hop
us...@domain.com  XXX.XXX.XXX.XXX
us...@domain.com  YYY.YYY.YYY.YYY
us...@domain.com  XXX.XXX.XXX.XXX

I was thinking I could use a htable to store the next hop using the
R-URI as the key, but as can be seen above there are possibly duplicate
R-URIs with only the next hop changing.

Thanks.

--
-Barry
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

--
-Barry

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to