I am running asterisk realtime configuration on asterisk 1.8
I want to check sip status of that which sip user are connected and which are not, like we use “sip show peers” command to check non-realtime sip users.
Is there any configuration that “sip show users” command can show the realtime sip status as well.
I found another solution, I enabled “rtcachefriends=yes” option in sip.conf, so it start caching the users which are getting registered on server. and on running command “sip show peers” it show those users as well which are based on realtime database.
is not a good solution because with rtcachefriends=yes you cant edit your peers in realtime, for example, to change context you must made reload. With rtcachefriends=no it will be changed immidiately.