[asterisk-dev] Print Asterisk Realtime Peer

Chandrakant Solanki solanki.chandrakant at gmail.com
Thu Apr 26 23:55:22 CDT 2012


Hi

I already visited CLI command "CLI> realtime load sippeers colname value"
but it display only one column,

I would like to print all values that belongs to realtime table.

On Thu, Apr 26, 2012 at 9:26 PM, Terry Wilson <twilson at digium.com> wrote:

> > > > 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.
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
Regards,

Chandrakant Solanki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120427/9ef93238/attachment.htm>


More information about the asterisk-dev mailing list