[OpenSIPS-Users] Custom field in dialog list (dlg_list)

solarmon solarmon at one-n.co.uk
Fri Dec 17 16:57:11 UTC 2021


Hi Giovanni,

I personally use PHP to parse the JSON formatted data - but most scripting
and programming languages will have a way of doing it.

I would assume you could use the opensipsctrl (or opensips-cli) and MI JSON
commands to get a script to control opensips - so it will be dependent on
what control you have using those commands. You can be creative using
shared variables that can be set using the opensipsctl/opensips-cli
commands, to control the opensips configuration/logic.


On Fri, 17 Dec 2021 at 16:47, Giovanni Maruzzelli <gmaruzz at gmail.com> wrote:

> On Fri, Dec 17, 2021 at 5:11 PM Giovanni Maruzzelli <gmaruzz at gmail.com>
> wrote:
>
>> On Fri, Dec 17, 2021 at 5:08 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
>> wrote:
>>
>>> You can attach $dlg_val()'s to the dialog. These dialog vals are printed
>>> by the dlg_list_ctx MI cmd.
>>>
>>>
>> I piggyback on this thread:
>> other than the https://opensips.org/docs/modules/3.1.x/json.html there
>> are docs, scripts, hints on advanced (eg, non trivial) json processing in
>> OpenSIPS?
>>
>> do it uses a library with extensive docs? or anything else to read?
>>
>>
> answer to myself:
> https://github.com/rbtylee/tutorial-jsonc/blob/master/tutorial/index.md
>
> but... not sure it answers my questions about advanced usage INTO opensips
> (from the script)
>
> -giovanni
>
>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211217/ee1bf414/attachment-0001.html>


More information about the Users mailing list