From david.villasmil.work@gmail.com Tue Oct 8 15:00:38 2019 From: David Villasmil To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Error parsing parameter value Date: Tue, 08 Oct 2019 14:00:23 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0933718896==" --===============0933718896== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I ask because the output looks good, you=E2=80=99re escaping the double quote= s with \ and on the other, no escaping is needed because you=E2=80=99re using single quotes. On Tue, 8 Oct 2019 at 13:55, David Villasmil wrote: > What=E2=80=99s the expected outcome? > > On Tue, 8 Oct 2019 at 12:39, Duarte Rocha wrote: > >> Greetings, >> >> >> >> I'm testing some parameters actions and i found a weird behaviour >> >> >> >> This is my code for the test : >> >> >> >> $var(Parameter_List) =3D "blue=3Dtwelve;green=3Dtwe\"lve\";yellow=3D\"twel= ve\""; >> >> xerr("Parameter List =3D $var(Parameter_List)"); >> >> xerr("Value of Parameter blue =3D >> $(var(Parameter_List){param.value,blue})"); >> >> xerr("Value of Parameter green =3D >> $(var(Parameter_List){param.value,green})"); >> >> xerr("Value of Parameter yellow =3D >> $(var(Parameter_List){param.value,yellow})"); >> >> >> >> >> >> The printed logs are the following : >> >> ERROR: