Number of *successful* SIP registrations from FreeSwitch?

Hi.

I’m using FreeSwitch as a SIP client registering to external accounts on
various servers.

I can get a list of all the registrations I have set up using the command:

sofia profile MyRegistrations gwlist

How can I get a list (or just a summary number would be sufficient) of the ones
which have successfully registered, rather than encountering a connectivity or
authentication problem?

Thanks,

Antony.

Do you mean inbound or outbound registrations?

/b

I mean FreeSwitch registering as a client (like a telephone) to external PBXs
in order to receive calls from the PBX.

I am not talking about anything registering in to FreeSwitch.

Antony.

Have you tried ‘sofia status’?

I have now :slight_smile:

Thanks - this gives me just what I need. I had been expecting to have to tell
it which profile I was asking about, but no. It works nicely.

Thanks,

Antony.

You can also do it ‘sofia status as xml’ I believe and get something thats parseable.

/b

Thanks, that’s helpful. I’m always surprised to learn about the things which
are possible with Freeswitch which I failed to find in the documentation.

This certainly gives me the information I need for this service check,

Antony.

If you feel like it you can edit the pages and submit pr’s for those changes.

/b

add gwlist down to filter results, see mod_distributor | FreeSWITCH Documentation for some hint.