Skip to content

Add information about profiles #14

@MosinAnton

Description

@MosinAnton

Can you add information about profiles?

getting names and types of profile:

(opensips-cli): mi list_all_profiles 
{
    "Profiles": [
        {
            "name": "call",
            "has value": false
        },
        {
            "name": "incoming",
            "has value": true
        }
    ]
}

if profiles without values - publish only count:

(opensips-cli): mi profile_get_size call
{
    "Profile": {
        "name": "call",
        "value": null,
        "count": 100,
        "shared": "no",
        "replicated": "no"
    }
}

if profile with values - publush values with count:

(opensips-cli): mi profile_get_values incoming
[
    {
        "value": "5550001",
        "count": 1
    },
    {
        "value": "5550002",
        "count": 2
    }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions