<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p><br>
</p>
<p>thanks for spotting it! You can make yourself an account on the
wiki and add there. If not convenient for you, open a bug report
to not forget about and someone else will pick it up from there.</p>
<p><br>
</p>
<p>Cheers,<br>
Daniel</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 09.01.19 09:08, YAS0 CANER wrote:<br>
</div>
<blockquote type="cite"
cite="mid:HE1PR0401MB2442FA144C6973AEC090A45DEF8B0@HE1PR0401MB2442.eurprd04.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hello, </div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
i saw a transformation on PUA_JSON module about json.parse
transformation. i think it is missing on cookbook
transformation.</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Kind regards</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<table style="box-sizing: border-box; border-collapse: collapse;
border-spacing: 0px; tab-size: 8; color: rgb(36, 41, 46);
font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Helvetica, Arial, sans-serif, "Apple Color
Emoji", "Segoe UI Emoji", "Segoe UI
Symbol"; font-size: 14px; background-color: rgb(255, 255,
255)">
<tbody style="box-sizing: border-box">
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
...</td>
</tr>
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
color: rgba(27, 31, 35, 0.3); cursor: pointer;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, Courier, monospace; font-size: 12px;
line-height: 20px; min-width: 50px; text-align: right;
user-select: none; vertical-align: top; width: 50.4px">
<br>
</td>
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
event_route[xhttp:request] {</td>
</tr>
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
color: rgba(27, 31, 35, 0.3); cursor: pointer;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, Courier, monospace; font-size: 12px;
line-height: 20px; min-width: 50px; text-align: right;
user-select: none; vertical-align: top; width: 50.4px">
<br>
</td>
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
$var(call-id) = $(rb{<u><b>json.parse,Call-ID</b></u>});</td>
</tr>
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
color: rgba(27, 31, 35, 0.3); cursor: pointer;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, Courier, monospace; font-size: 12px;
line-height: 20px; min-width: 50px; text-align: right;
user-select: none; vertical-align: top; width: 50.4px">
<br>
</td>
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
if ($(rb{json.parse,Event-Package}) == "dialog")
{</td>
</tr>
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
color: rgba(27, 31, 35, 0.3); cursor: pointer;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, Courier, monospace; font-size: 12px;
line-height: 20px; min-width: 50px; text-align: right;
user-select: none; vertical-align: top; width: 50.4px">
<br>
</td>
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
xlog("L_INFO",
"$var(call-id)|log|received $(rb{json.parse,Event</td>
</tr>
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
color: rgba(27, 31, 35, 0.3); cursor: pointer;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, Courier, monospace; font-size: 12px;
line-height: 20px; min-width: 50px; text-align: right;
user-select: none; vertical-align: top; width: 50.4px">
<br>
</td>
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
-Package}) update for $(rb{json.parse,From})");</td>
</tr>
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
color: rgba(27, 31, 35, 0.3); cursor: pointer;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, Courier, monospace; font-size: 12px;
line-height: 20px; min-width: 50px; text-align: right;
user-select: none; vertical-align: top; width: 50.4px">
<br>
</td>
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
pua_json_publish($rb);</td>
</tr>
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
color: rgba(27, 31, 35, 0.3); cursor: pointer;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, Courier, monospace; font-size: 12px;
line-height: 20px; min-width: 50px; text-align: right;
user-select: none; vertical-align: top; width: 50.4px">
<br>
</td>
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
}</td>
</tr>
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
color: rgba(27, 31, 35, 0.3); cursor: pointer;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, Courier, monospace; font-size: 12px;
line-height: 20px; min-width: 50px; text-align: right;
user-select: none; vertical-align: top; width: 50.4px">
<br>
</td>
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
}</td>
</tr>
<tr style="box-sizing: border-box">
<td style="box-sizing: border-box; padding: 0px 10px;
color: rgba(27, 31, 35, 0.3); cursor: pointer;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, Courier, monospace; font-size: 12px;
line-height: 20px; min-width: 50px; text-align: right;
user-select: none; vertical-align: top; width: 50.4px">
<br>
</td>
<td style="box-sizing: border-box; padding: 0px 10px;
line-height: 20px; vertical-align: top; font-family:
SFMono-Regular, Consolas, "Liberation Mono",
Menlo, Courier, monospace; font-size: 12px">
...</td>
</tr>
</tbody>
</table>
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<a
href="https://www.kamailio.org/wiki/cookbooks/devel/transformations"
id="LPlnk645955" moz-do-not-send="true">https://www.kamailio.org/wiki/cookbooks/devel/transformations</a><br>
</div>
<div
id="LPBorder_GTaHR0cHM6Ly93d3cua2FtYWlsaW8ub3JnL3dpa2kvY29va2Jvb2tzL2RldmVsL3RyYW5zZm9ybWF0aW9ucw.."
class="LPBorder565181" style="width: 100%; margin-top: 16px;
margin-bottom: 16px; position: relative; max-width: 800px;
min-width: 424px;" contenteditable="false">
<table id="LPContainer565181" role="presentation"
style="padding: 12px 36px 12px 12px; width: 100%;
border-width: 1px; border-style: solid; border-color: rgb(200,
200, 200); border-radius: 2px;">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td style="width: 100%;">
<div id="LPTitle565181" style="font-size: 21px;
font-weight: 300; margin-right: 8px; font-family:
wf_segoe-ui_light, "Segoe UI Light",
"Segoe WP Light", "Segoe UI",
"Segoe WP", Tahoma, Arial, sans-serif;
margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor565181"
href="https://www.kamailio.org/wiki/cookbooks/devel/transformations"
style="text-decoration: none; color:
var(--themePrimary);" moz-do-not-send="true">cookbooks:devel:transformations
[Kamailio SIP Server Wiki]</a></div>
<div id="LPDescription565181" style="font-size: 14px;
max-height: 100px; color: rgb(102, 102, 102);
font-family: wf_segoe-ui_normal, "Segoe UI",
"Segoe WP", Tahoma, Arial, sans-serif;
margin-bottom: 12px; margin-right: 8px; overflow:
hidden;">
Main author: Daniel-Constantin Mierla <miconda (at)
gmail.com> Transformation is basically a function
that is applied to a pseudo-variable (PV) to get a
property of it. The value of PV is not affected at
all. Transformations are implemented by various
modules, most of them being in pv module.. The
transformations are intended to facilitate access to
different attributes of PV (like strlen of ...</div>
<div id="LPMetadata565181" style="font-size: 14px;
font-weight: 400; color: rgb(166, 166, 166);
font-family: wf_segoe-ui_normal, "Segoe UI",
"Segoe WP", Tahoma, Arial, sans-serif;">
<a class="moz-txt-link-abbreviated" href="http://www.kamailio.org">www.kamailio.org</a></div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
</body>
</html>