<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>Using method json_get_field i am able to extract json string. However, this string comes with quotes which cause a hurdle in assigning to various pseudo variables, for example,<br><br>--<br>        json_get_field($redis(r=>value), "to_number",       "$var(wim_to)");<br>        json_get_field($redis(r=>value), "domain",          "$var(wim_domain)");<br><br>        $uac_req(ruri)="sip:" + $var(wim_to) + "@" + $var(wim_domain);<br>--<br><br>This results in $uac_req(ruri) being set as.<br></div><br>sip:"49XXXXXXXX"@"<a href="http://sip.mydomain.com">sip.mydomain.com</a>"<br><br></div>Which is obviously wrong and fails the transaction processing.<br><br></div>Is there any way to get rid of these quotes from json strings? One possible way i can think of is using string transformation "s.substr", but there are a lot of json strings i have in config and it is too hectic to transform all of them. Is there any easier way out of this?<br><br></div>Thank you.<br><div><div><div><div><br><br></div></div></div></div></div>