From denys.pozniak@gmail.com Tue Feb 26 16:24:36 2019 From: Denys Pozniak To: sr-users@lists.kamailio.org Subject: [SR-Users] Dispatcher with parameter use_default=1 Date: Tue, 26 Feb 2019 17:24:01 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0679403577==" --===============0679403577== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello! I use dispatcher with algorithm=1 (hashing over from URI) with module parameter use_default=1. So I am expecting that last string in dispatcher.list for specific set will be the "last hope" for call routing. dispatcher.list .. 4 sip:10.6.3.122:5060 4 sip:10.6.3.1:5060 4 sip:10.6.3.2:5060 4 sip:10.6.3.3:5060 4 sip:10.6.3.4:5060 4 sip:10.6.3.5:5060 But as I see from logs dispatcher module takes first string as the "last hope": xlog("L_WARN", "TEST-- $(avp(AVP_DST)[0]) $(avp(AVP_DST)[1]) $(avp(AVP_DST)[2]) $(avp(AVP_DST)[3]) $(avp(AVP_DST)[4]) $(avp(AVP_DST)[5]) $(avp(AVP_DST)[6]) \n"); Feb 26 16:11:39 kamailio-2 /usr/sbin/kamailio[28156]: WARNING: