From muslihk00@gmail.com Wed May 31 06:12:55 2023 From: MUSLIH K To: sr-users@lists.kamailio.org Subject: [SR-Users] Re: Knowing about the uac module with primary and secondary proxy setting Date: Wed, 31 May 2023 11:40:42 +0530 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1520632850==" --===============1520632850== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit *uac_block* #!KAMAILIO loadmodule "uac.so" loadmodule "db_sqlite.so" modparam("uac", "reg_contact_addr", UAC_CONTACT_ADD) modparam("uac", "reg_db_url", "sqlite:///etc/kamailio/dbs/uac_reg.db") modparam("uac", "reg_retry_interval", 10) *dispatcher_block* #!KAMAILIO loadmodule "dispatcher.so" modparam("dispatcher", "force_dst", 1) modparam("dispatcher", "flags", 2) modparam("dispatcher", "xavp_dst", "dsdst") modparam("dispatcher", "xavp_dst_mode", 0) modparam("dispatcher", "ds_probing_mode", 1) modparam("dispatcher", "ds_ping_interval", 15) #modparam("dispatcher", "ds_ping_reply_codes", "class=2;class=3;class=4") modparam("dispatcher", "list_file", "/etc/kamailio/dispatcher.list") *route_block* event_route[dispatcher:dst-down] { xlog("L_ERR", "Destination down: $rm $ru ($du)\n"); $var(status) = uac_reg_status("+91XXX6"); xlog("L_NOTICE", "+91XXX_state : $var(status)\n\r"); if(uac_reg_request_to("+91XXX", 0)) { xlog("L_NOTICE", "Found remote user [$rU] on [$rd] via [$du]"); t_on_failure("REMOTE_AUTH"); $du="sip:10.*.32.1:5060"; t_relay(); } } failure_route[REMOTE_AUTH] { if ($T_reply_code == 401 or $T_reply_code == 407) { xlog("L_NOTICE", "Remote asked for authentication"); uac_auth(); } } *i am getting following error * 17(26) ERROR: