From volga629@skillsearch.ca Mon Dec 26 18:14:09 2016 From: Slava Bendersky To: sr-users@lists.kamailio.org Subject: [SR-Users] location Date: Mon, 26 Dec 2016 12:13:49 -0500 Message-ID: <710270642.16309705.1482772429123.JavaMail.zimbra@skillsearch.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1766639694==" --===============1766639694== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Everyone,=20 Why save location will ignore on pv var when trying save on reply 200 OK.=20 if(is_method("REGISTER") && fnmatch("$rs", "200")) {=20 xlog("L_INFO", "OnReply: Registration is $rs OK saving --> $avp(rcvcontact) i= n db\n");=20 $var(oar) =3D "sip:" + $tU + "@" + $(avp(rcvcontact){uri.host}) + ":" + $(avp= (rcvcontact){uri.port});=20 if(!save("location", "0x04", "$var(oar)")) {=20 xlog("L_INFO", "Error saving the location\n");=20 }=20 Dec 26 11:43:20 cavprx00 kamailio: 4(5546) ERROR: *** cfgtrace:onreply_route= =3D[LOCATION_REPLY] c=3D[/etc/kamailio/kamailio-prod.cfg] l=3D619 a=3D26 n=3D= xlog=20 Dec 26 11:43:20 cavprx00 kamailio: 4(5546) INFO: