[asterisk-dev] Print Asterisk Realtime Peer

Chandrakant Solanki solanki.chandrakant at gmail.com
Thu Apr 26 05:53:08 CDT 2012


Hi All,

I would like to create asterisk cli function like "sip show realtime all",
which will display all table value (table sipfriends) on asterisk CLI.

I have configured following way,

*cat /etc/asterisk/extconfig.conf*
[settings]
sipusers => mysql,general,sipfriends
sippeers => mysql,general,sipfriends

*cat /etc/asterisk/res_mysql.conf*
[general]
dbhost=172.18.100.115
dbname=asterisk
dbuser=root
dbpass=password
dbport=3306
dbsock=/var/lib/mysql/mysql.sock


I had tried with ast_load_realtime/realtime_all but didn't get result.

If anyone have idea, please let me know or help me.

-- 
Regards,

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


More information about the asterisk-dev mailing list