Can someone suggest a way to store and update Reg.contact information of all peers in seperate mysql database without using realtime asterisk. Now I am able to see contact information when I type command “sip show peer xxxx” for a specific peer.
Where can I get Reg.Contact information for all peers at once and store it mysql database . astdb.sqlite3 is storing peer information in SIP/Registry key temporarily when a peer comes on line but it clears the entry as soon as peer goes offline . I want to have persistent entries somewhere and keep updating it when changes happen. Can I save Reg.contact information using AMI event listener . I found only basic information like below without contact information.