[SR-Users] set cfg variables via sercmd

Morten Isaksen misak at misak.dk
Tue Oct 19 16:34:47 CEST 2010


Thanks. I forgot to load the cfg_rpc module.

On Tue, Oct 19, 2010 at 4:17 PM, marius zbihlei <marius.zbihlei at 1and1.ro> wrote:
> On 10/19/2010 05:12 PM, Morten Isaksen wrote:
>>
>> Kamailio 3.0.3.
>>
>> I am trying to change a variable (in the cfg variable framwork) from
>> sercmd, but I get an error
>>
>> [root at sip-core-1 ~]# sercmd cfg.set_now_int recording enabled 1
>> error: 500 - command cfg.set_now_int not found
>>
>> I have installed readline and ncurses which seems to be needed by
>> looking at sercmd.c.
>>
>> Any ideas what I am missing?
>>
>>
>
> Hello
>
> Have you loaded the ctl and cfg_rpc modules via loadmodule?!
>
> Marius
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



-- 
Morten Isaksen



More information about the sr-users mailing list