<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Oleg,<div><br></div><div>What about choosing the dispatcher group based on a hash </div><div><br></div><div><a href="https://kamailio.org/docs/modules/5.2.x/modules/cfgutils.html#cfgutils.f.core_hash">https://kamailio.org/docs/modules/5.2.x/modules/cfgutils.html#cfgutils.f.core_hash</a></div><div><br></div><div>over a SIP attribute that is tied to the source IP of the inbound SBC, such as $si or $fd?</div><div><br></div><div><a href="https://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#si_-_source_ip_address">https://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#si_-_source_ip_address</a></div><div><br></div><div><a href="https://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#fd_-_from_uri_domain">https://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#fd_-_from_uri_domain</a></div><div><br></div><div>— Alex<br><br><div dir="ltr">—<div>Sent from mobile, with due apologies for brevity and errors.</div></div><div dir="ltr"><br><blockquote type="cite">On Oct 7, 2019, at 5:43 AM, Oleg Belousov <obelousov@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">Hello.<br>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.<br><br><div>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<br>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.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">--<br><a href="http://obelousov.tel" target="_blank">obelousov.tel</a></div></div></div></div>
<span>_______________________________________________</span><br><span>Kamailio (SER) - Users Mailing List</span><br><span>sr-users@lists.kamailio.org</span><br><span>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</span><br></div></blockquote></div></body></html>