Hi Oleg, What about choosing the dispatcher group based on a hash
https://kamailio.org/docs/modules/5.2.x/modules/cfgutils.html#cfgutils.f.core_hash over a SIP attribute that is tied to the source IP of the inbound SBC, such as $si or $fd? https://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#si_-_source_ip_address https://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#fd_-_from_uri_domain — Alex — Sent from mobile, with due apologies for brevity and errors. > On Oct 7, 2019, at 5:43 AM, Oleg Belousov <obelou...@gmail.com> wrote: > > > Hello. > In our setup kamailio perfoms some logic depending on call direction, inbound > or outbound. Call direction is identified by 2 SBC IP > (IP_inbound/IP_outbound), we currently use for that 2 dispatcher groups and > that is working fine. > > Now number of peer nodes increased from one SBC till few tens, but we still > need to keep SIP-links adjacency, meaning that call which arrived from SBC_N > IP_inbound > need to be submitted via same SBC_N IP_outbound and vice versa. There could > be few approaches to implement that requirement, I'm wondering if can use > existing dispatcher function/select destination logic to support SIP-links > adjacency. > -- > obelousov.tel > _______________________________________________ > 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