[sr-dev] mi set_gflag fails

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Jul 15 23:02:23 CEST 2009


On Jul 14, 2009 at 19:32, Juha Heinanen <jh at tutpro.com> wrote:
> Andrei Pelinescu-Onciul writes:
> 
>  > try mi set_gflag s:1024.
> 
> that helped, but the same problem exist with xmlrpc mi command args.  it
> is quite a hassle to change all ints to strings.  would it be possible
> to change something in mi_rpc or xmlrpc module so that giving an
> int argument would work?

Should work now for all the mi commands.

Auto-conversion can also be turned on globally for all the rpcs 
(not recommended, but it's your only chance it you want to avoid fixing your 
clients).
E.g.: modparam("xmlrpc", "autoconversion", 1)
      modparam("ctl",    "autoconversion", 1)


Andrei



More information about the sr-dev mailing list