I search following function.
When the Peer 3002 come online then call a link (“http://3002.online”) (sample)
and
When Peer 3002 Diconnect (go offline) then call (“http://3002.offline”) (sample)
Anyone have a idea how it works or is it posible to do this?
This is pretty simple, write a bash script using the Linux commands grep,cut and curl. Create a cron job that run every 1 minutes for check the status of the peer.
So you think i can write an app who is running on the same Raspberry pi who asterisk is running. an this app will be connect with the asterisk manager and show the online peers?