Hello, If you can't key by R-URI, perhaps then just store a list of routes in a database table or similar?
> 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: -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800 __________________________________________________________ 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: