[asterisk-dev] Print Asterisk Realtime Peer

Terry Wilson twilson at digium.com
Thu Apr 26 10:56:48 CDT 2012


> > > I would like to create asterisk cli function like "sip show
> > > realtime all", which will display all table value (table
> > > sipfriends) on asterisk CLI.
> > That's why you have database management tools... I don't see the
> > benefit of such a command.
> > 
> > Use any mysql tool to manage your database :-)
> 
> You can also use the "realtime load" CLI command. I haven't tested,
> but you should be able to do something similar to:
> 
> CLI> realtime load sipfriends "name LIKE" %
> 
> or something. It may work, anyway.

or not. looks like the CLI command is designed to just show one result.



More information about the asterisk-dev mailing list