From renemontilva@gmail.com Fri Oct 11 20:56:43 2013 From: Rene Montilva To: sr-users@lists.kamailio.org Subject: [SR-Users] UAC Module fail to refresh REGISTER Date: Fri, 11 Oct 2013 14:26:37 -0430 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1364370315==" --===============1364370315== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi list i'm testing uac module with a did provider, apparently it works the first register, when it's going to refresh the session the register packed don't send the proxy-authorization header. My kamailio is 4.0, the debian wheezy repository *this is my parameter config:* #!ifdef WITH_UAC #---------- uac params ----------# modparam("uac", "reg_db_url",DBURL) modparam("uac", "reg_timer_interval",60) modparam("uac", "reg_retry_interval",120) modparam("uac", "reg_db_table", "uacreg") modparam("uac","credential","username:domain:password") modparam("uac","auth_realm_avp","$avp(i:10)") modparam("uac","auth_username_avp","$avp(i:11)") modparam("uac","auth_password_avp","$avp(i:12)") modparam("uac","restore_mode","auto") modparam("uac", "reg_contact_addr", "xx.xx.xx:5060") #!endif *this is the route block:* if(uac_reg_request_to("$fU", 1)) { xlog("L_NOTICE", "Found remote user [$rU] on [$rd] via [$du]"); t_on_failure("REMOTE_AUTH"); t_relay(); } * inside route[LOCATION] at the end:* #!ifdef WITH_UAC if(uac_reg_lookup("$rU", "$ru")) { xlog("request from a remote SIP provider [$ou => $ru]\n"); } lookup("location"); #!endif failure_route[REMOTE_AUTH] { if ($T_reply_code == 401 or $T_reply_code == 407) { xlog("L_NOTICE", "Remote asked for authentication"); uac_auth(); } } *this is the error log by syslog* ct 11 13:52:47 rene /usr/sbin/kamailio[7413]: INFO: