Thanks. It should have been fixed a while agon with commit 67fa31e3f01c4d70ad9561949bca4aaa230d0f46

Cheers,
Daniel

On 16/08/14 08:53, Kelvin Chua wrote:
forgot to give feedback on this issue, here's a patch.

--- modules/htable/htable.c2014-08-15 23:49:34.064455715 -0700
+++ modules/htable.c 2014-08-15 23:50:17.640626126 -0700
@@ -1105,7 +1105,7 @@
 }
 rpc_export_t htable_rpc[] = {
-{"htable.dump", htable_rpc_dump, htable_dump_doc, 0},
+{"htable.dump", htable_rpc_dump, htable_dump_doc, RET_ARRAY},
{"htable.delete", htable_rpc_delete, htable_delete_doc, 0},
{"htable.get", htable_rpc_get, htable_get_doc, 0},
{"htable.sets", htable_rpc_sets, htable_sets_doc, 0},


Kelvin Chua


On Wed, Apr 2, 2014 at 2:32 PM, Juha Heinanen <j...@tutpro.com <mailto:j...@tutpro.com>> wrote:

    Kelvin Chua writes:

    > i was able to apply the RET_ARRAY fix to htable.dump in 4.0.5
    > however unable to share the patch as htable_rpc[] is nowhere to
    be found on
    > trunk
    > was there any changes from 4.0.x to trunk with regards to rpc?

    see

    rpc_export_t htable_rpc[] = {
            {"htable.dump", htable_rpc_dump, htable_dump_doc, 0},
            {"htable.delete", htable_rpc_delete, htable_delete_doc, 0},
            {"htable.get", htable_rpc_get, htable_get_doc, 0},
            {"htable.sets", htable_rpc_sets, htable_sets_doc, 0},
            {"htable.seti", htable_rpc_seti, htable_seti_doc, 0},
            {"htable.listTables", htable_rpc_list, htable_list_doc, 0},
            {"htable.reload", htable_rpc_reload, htable_reload_doc, 0},
            {"htable.stats", htable_rpc_stats, htable_stats_doc, 0},
            {0, 0, 0, 0}
    };

    in htable.c.

    if you don't have write access to the repo, make the change and if it
    works in your tests, i can apply the patch.

    -- juha

    _______________________________________________
    SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
    list
    sr-users@lists.sip-router.org <mailto: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
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA

_______________________________________________
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

Reply via email to