How can i store my Peer IP on mysql DB

Hi,

I have configured a server using Asterisk.

30 Agents are there.
Using Asterisk 1.4.30
Digium card
Centos 5.5
Mysql

In my asterisk console, I can see my 30 agents and their IP adress Using ‘sip show peers’ command.
So i want to store their IP addresses on mysql DB.

Any help…

Thanks,

Criz

Take a look voip-info.org/wiki/view/Aste … alTime+Sip