I realized with more tests that my previous commit for core.sockets_list 
38f514064a326f759e0e88adeffd03b32b35d6c0 is not working. The result is returned 
yes as an array but inside there is still the sockets list as an object (so 
with multiple "socket" keys). Digging more in kamailio json lib I understood 
that to be considered an array the rpc result must be enclosed in "[]". 
I was misled by a wrong test result, sorry for the noise. 
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1187

-- Commit Summary --

  * core: build reply of core.sockets_list as an array

-- File Changes --

    M src/core/core_cmd.c (4)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1187.patch
https://github.com/kamailio/kamailio/pull/1187.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1187
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to