If I run top without any parameter I get '400: Invalid parameter value'. According to the docs, HOT is used as default. Then the command should return a 200, not a 400.
If I run it with param 'blah', it returns '200: OK'. According to the docs, possible values are 'HOT' and 'ALL'. For unknown parameters, it should return '400: Invalid parameter value'. -ovidiu On Thu, Dec 20, 2012 at 12:53 PM, Olle E. Johansson <[email protected]> wrote: > Module: sip-router > Branch: master > Commit: 3ad60fe1e229b3c1fc3a854d57eac223094294ad > URL: > http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3ad60fe1e229b3c1fc3a854d57eac223094294ad > > Author: Olle E. Johansson <[email protected]> > Committer: Olle E. Johansson <[email protected]> > Date: Thu Dec 20 18:51:52 2012 +0100 > > pike: Import pike.top rpc call from modules_s/pike > > Thanks to Ovidiu for pointers in the right direction. > > --- > > modules_k/pike/README | 42 +++++++- > modules_k/pike/doc/pike.xml | 2 +- > modules_k/pike/doc/pike_rpc.xml | 35 +++++++ > modules_k/pike/ip_tree.c | 57 +++++++++++- > modules_k/pike/ip_tree.h | 11 ++ > modules_k/pike/pike.c | 8 ++ > modules_k/pike/pike_rpc.c | 193 > +++++++++++++++++++++++++++++++++++++++ > modules_k/pike/pike_rpc.h | 9 ++ > modules_k/pike/pike_top.c | 91 ++++++++++++++++++ > modules_k/pike/pike_top.h | 28 ++++++ > 10 files changed, 468 insertions(+), 8 deletions(-) > > Diff: > http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=3ad60fe1e229b3c1fc3a854d57eac223094294ad > > _______________________________________________ > sr-dev mailing list > [email protected] > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev -- VoIP Embedded, Inc. http://www.voipembedded.com _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
