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
}
]
Can you add information about profiles?
getting names and types of profile:
if profiles without values - publish only count:
if profile with values - publush values with count: