Only this worked:
sercmd -s unixs:/tmp/kamailio_ctl system.listMethods
core.arg core.echo core.flags core.info core.kill core.printi core.prints core.ps core.psx core.pwd core.sctp_info core.sctp_options core.shmmem core.tcp_info core.tcp_options core.udp4_raw_info core.uptime core.version ctl.connections ctl.listen ctl.who dispatcher.list dispatcher.reload dispatcher.set_state dns.add_a dns.add_aaaa dns.add_srv dns.debug dns.debug_all dns.delete_a dns.delete_aaaa dns.delete_all dns.delete_all_force dns.delete_cname dns.delete_ebl dns.delete_naptr dns.delete_ptr dns.delete_srv dns.delete_txt dns.lookup dns.mem_info dns.view dst_blacklist.add dst_blacklist.debug dst_blacklist.delete_all dst_blacklist.mem_info dst_blacklist.view mi mi_dg mi_fifo mi_xmlrpc pkg.stats sl.stats system.listMethods system.methodHelp system.methodSignature tm.cancel tm.hash_stats tm.reply tm.stats tm.t_uac_start tm.t_uac_wait
On Thu, Dec 15, 2011 at 4:14 PM, Mino Haluz mino.haluz@gmail.com wrote:
Do I have to load some specific module ?
ERROR: connect_unix_sock: connect(/tmp/sercmd_ctl): No such file or directory [2]
On Thu, Dec 15, 2011 at 3:55 PM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
On 12/15/11 3:45 PM, Mino Haluz wrote:
kamctl dispatcher dump
did the thing.
that is using fifo file and MI command.
sercmd is doing the RPC command. Can you give the output of:
sercmd system.listMethods
Cheers, Daniel
kamailio 3.2.0.
On Thu, Dec 15, 2011 at 3:38 PM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
Hello,
On 12/15/11 2:50 PM, Timo Klecker wrote:
Hi Mino
Try
Sercmd dispatcher list
Without the dot. This works with kamctl, haven’t used sercmd.
in sercmd should be dispatcher.list with dot, but the command is available starting with v3.2.0. What is your kamailio version?
Cheers, Daniel
Greetings
Timo
*Von:* sr-users-bounces@lists.sip-router.org [ mailto:sr-users-bounces@lists.sip-router.orgsr-users-bounces@lists.sip-router.org] *Im Auftrag von *Mino Haluz *Gesendet:* Donnerstag, 15. Dezember 2011 14:31 *An:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List *Betreff:* [SR-Users] How to get dispatcher list with sercmd command
Hi,
# sercmd dispatcher.list error: 500 - command dispatcher.list not found
The module is loaded, dispatcher.list file exists. Am I doing something wrong ? Thanks.
Mino.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda
-- Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda