How to get a list of freeswitch registered accounts

real_yggdrasil picture real_yggdrasil · Mar 21, 2017 · Viewed 7.7k times · Source

I am developing a pjsip application. I am using Freeswitch as SIP server. (this is VOIP)

Is there a command in fs-cli that lists all the registered users in Freeswitch. I need something like that to know which accounts are in a conference and so on.

I am aware of this site: http://voicebundle.com/getting-familiar-with-the-fs_cli-interface-freeswitch-command-line, but it doesnt give me the command i need.

Answer

real_yggdrasil picture real_yggdrasil · Mar 23, 2017

Found the answer! In fs_cli typ:

sofia status profile internal reg

This command will list every registered account in Freeswitch