How to check which user agents are registered in freepbx using pjsip

how to check which user agents are registered in freepbx using pjsip

Take a look at this post

PJSIP CLI Information - General Help - FreePBX Community Forums

Asterisk*CLI> pjsip show contacts

I might have misunderstood but I thought OP was asking for the user agent of any registered pjsip contacts

pjsip show contacts only show registered extensions.

I want to check their user agents like e.g if they are registered via Zoiper, Linphone, Cisco, etc.

sorry I misunderstood

one reference ive found…

I wasnt able to test Malcoms suggested dial plan but I was able to see the user agent recorded in the asterisk database

If you read the post I mentioned above, you’d see you can run

asterisk -x "database show registrar/contacts"

to get a return in JSON of PJSIP contacts and corresponding user agents. There are other commands you can see in that post that help you filter and make it more readable as well.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.