Hello,
indeed, it makes auto-conversion to integer. You have to prefix with s:,
like:
kamcmd dlg.profile_get_size caller s:004
Cheers,
Daniel
On 05.07.17 10:04, Arek Łazarczyk wrote:
Hi,
I have a problem with kamcmd, for now i use kamctl fifo
profile_get_size to get dialogs count to pass to nrpe and futher to
nagios.
Since fifo is deprecated, and i want to migrate to kamailio v5.0, i
must change my method of counting dialogs to kamcmd dlg.profile_get_size.
Problem is that i have dialog profiles values starting with 0, so
kamctl fifo profile_get_size caller 004 returns correct vaule, but
kamcmd dlg.profile_get_size caller 004 returns 0, i think that kamcmd
converts 004 to just 4 on fly.
Is there any way to prevent such behavior ?
Thx4help in advance.
Best regards,
AŁ.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training -
www.asipto.com
Kamailio World Conference -
www.kamailioworld.com