I tested and it works fine for me. Have you enabled that part of config by defining WITH_VOICEMAIL?

Here is the debug output:

$ ./utils/kamctl/kamctl rpc cfg.sets voicemail srv_ip "1.2.3.4"

20(78364) DEBUG: jsonrpcs [jsonrpcs_fifo.c:445]: jsonrpc_fifo_server(): preparing to execute fifo jsonrpc [{"jsonrpc": "2.0", "method": "cfg.sets", "params": ["voicemail", "srv_ip", "1.2.3.4"], "reply_name": "kamailio_receiver_78376", "id": 78376}]
20(78364) INFO: <core> [core/cfg/cfg_ctx.c:615]: cfg_set_now(): INFO: cfg_set_now(): voicemail.srv_ip has been changed to "1.2.3.4"
20(78364) DEBUG: jsonrpcs [jsonrpcs_fifo.c:457]: jsonrpc_fifo_server(): command executed - result: [kamailio_receiver_78376] [200] [0x7fa543501660] [{
    "jsonrpc":    "2.0",
    "result":    {
    },
    "id":    78376
}]
{
  "jsonrpc":  "2.0",
  "result": {
  },
  "id": 78376
}

Cheers,
Daniel


On 10/01/2017 17:24, Daniel-Constantin Mierla wrote:

Not much info there, I will have to reproduce it myself ...

Cheers, Daniel


On 10/01/2017 14:44, Annus Fictus wrote:

Jan 10 08:41:31 sip10 /sbin/kamailio[5424]: DEBUG: ctl [../../io_wait.h:380]: io_watch_add(): DBG: io_watch_add(0x7fd2e37d4300, 10, 3, 0x2353100), fd_no=1
Jan 10 08:41:31 sip10 /sbin/kamailio[5424]: DEBUG: ctl [io_listener.c:442]: handle_new_connect(): handle_stream read: new connection (1) on /var/run/kamailio//kamailio_ctl

Thank you

Raegards

El 10/01/2017 a las 08:35, Daniel-Constantin Mierla escribió:

Hello,

can you provide the log messages when executing the command with debug=3 in kamailio.cfg?

Cheers,
Daniel


On 10/01/2017 13:55, Annus Fictus wrote:

Hi,

kamcmd cfg.sets voicemail srv_ip "1.2.3.4"

return

error: 400 - Failed to set the variable

Thank you

Regards

El 10/01/2017 a las 06:01, Daniel-Constantin Mierla escribió:
kamcmd cfg.sets voicemail srv_ip "1.2.3.4"



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com