From lfurrea@simplecs.net Tue Aug 28 02:34:36 2012 From: Luis Fernando Urrea To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] DROUTING nub question Date: Mon, 27 Aug 2012 18:34:30 -0600 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1492036223==" --===============1492036223== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I see there is a transformation to return the string value of an integer but I can't seem to find the opposite one. {s.int} Return integer value of a string-represented number On Mon, Aug 27, 2012 at 6:22 PM, Luis Fernando Urrea wrote: > Thanks Daniel, > > That got me started, however, it seems that the return value > from $(rU{s.len}) is actually an integer and therefore could not be > concatenated to $rU string ? > > 4(18194) ERROR: pv [pv_core.c:1798]: str value required to set R-URI user > 14(18194) ERROR: [lvalue.c:354]: setting pvar failed > 14(18194) ERROR: [lvalue.c:407]: assignment failed at pos: > (906,8-906,25) > 14(18194) ERROR: *** cfgtrace: c=3D[/usr/local/etc/kamailio/kamailio.cfg] > l=3D907 a=3D26 n=3Dxlog > 14(18194) ERROR: