[sr-dev] git:master: pike: Import pike.top rpc call from modules_s/pike
Olle E. Johansson
oej at edvina.net
Fri Dec 21 08:32:47 CET 2012
20 dec 2012 kl. 19:07 skrev Ovidiu Sas <osas at voipembedded.com>:
> 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'.
>
Will check. Thanks.
Is this different from the old module? I don't think I changed the logic, only
include files and missing functions, but if the functions they call have changed,
it may cause issues.
/O
>
> -ovidiu
>
> On Thu, Dec 20, 2012 at 12:53 PM, Olle E. Johansson <oej at edvina.net> 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 <oej at edvina.net>
>> Committer: Olle E. Johansson <oej at edvina.net>
>> 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
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
>
> --
> VoIP Embedded, Inc.
> http://www.voipembedded.com
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
More information about the sr-dev
mailing list