[SR-Users] Dialog Profiles
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jun 24 10:45:11 CEST 2020
Hello,
if there is a rpc command for it, then maybe you can leverage the
jsonrpc_exec() from jsonrpcs module and walk through json using jansson.
If not, then such feature has to be added within the c code and exported
as function to config.
Cheers,
Daniel
On 18.06.20 13:44, Ilie Soltanici wrote:
> Hello,
>
> Is there any way in Kamailio to get the profile values the current
> dialog is part of?
>
> For example, I have one dialog with the following profiles:
>
> profiles: {
> {
> test: abcd
> }
> test: 1234
> }
>
> I need in the reply route to get the values for the test dialog
> profile. (abcd, 1234). I know I can use get_profile_size, but that
> will give the number of profiles of the current dialog, but I need the
> values to loop through.
>
> Thanks.
>
> _______________________________________________
> 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
Funding: https://www.paypal.me/dcmierla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200624/f626868f/attachment.html>
More information about the sr-users
mailing list