[SR-Users] How to get dispatcher list with sercmd command

Mino Haluz mino.haluz at gmail.com
Thu Dec 15 16:17:31 CET 2011


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 at 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 at 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 at 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 at lists.sip-router.org [
>>> mailto:sr-users-bounces at lists.sip-router.org<sr-users-bounces at 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 at 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111215/f400663d/attachment.htm>


More information about the sr-users mailing list