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

Daniel-Constantin Mierla miconda at gmail.com
Fri Dec 16 12:45:02 CET 2011


Hello,

On 12/15/11 4:17 PM, Mino Haluz wrote:
> Only this worked:
>
> sercmd -s unixs:/tmp/kamailio_ctl system.listMethods
for 3.2.0, sercmd used a different default control socket, so the one 
used by kamailio has to be given as parameter. in 3.2.1 that is fixed.

So, now if you do:

sercmd -s unixs:/tmp/kamailio_ctl dispatcher.list

it should work.

Cheers,
Daniel

>
> core.arg
> core.echo
> core.flags
> core.info <http://core.info>
> core.kill
> core.printi
> core.prints
> core.ps <http://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 
> <mailto: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 <mailto: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 <mailto: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>
>>>             [mailto: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 list
>>>             sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>>>             http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>             -- 
>>             Daniel-Constantin Mierla --http://www.asipto.com
>>             http://linkedin.com/in/miconda  -- http://twitter.com/miconda
>>
>>
>
>         -- 
>         Daniel-Constantin Mierla --http://www.asipto.com
>         http://linkedin.com/in/miconda  -- http://twitter.com/miconda
>
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://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/20111216/205332af/attachment-0001.htm>


More information about the sr-users mailing list