[SR-Users] json.parse transformation documentation

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 9 09:48:51 CET 2019


Hello,


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.


Cheers,
Daniel


On 09.01.19 09:08, YAS0 CANER wrote:
> Hello, 
>
> i saw a transformation on PUA_JSON module about json.parse
> transformation. i think it is missing on cookbook transformation.
>
> Kind regards
>
> ...
>
> 	event_route[xhttp:request] {
>
> 	        $var(call-id) = $(rb{_*json.parse,Call-ID*_});
>
> 	        if ($(rb{json.parse,Event-Package}) == "dialog") {
>
> 	                xlog("L_INFO", "$var(call-id)|log|received
> $(rb{json.parse,Event
>
> 	-Package}) update for $(rb{json.parse,From})");
>
> 	                pua_json_publish($rb);
>
> 	        }
>
> 	}
>
> 	...
>
>
>
> https://www.kamailio.org/wiki/cookbooks/devel/transformations
> cookbooks:devel:transformations [Kamailio SIP Server Wiki]
> <https://www.kamailio.org/wiki/cookbooks/devel/transformations>
> 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 ...
> www.kamailio.org
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190109/6f7168cd/attachment.html>


More information about the sr-users mailing list