which option is better for get fast and quick extension status response is online or offline ?
Option 1 : pjsip show endpoints
Option 2 : AMI ( Asterisk Manager Interface )
which option is better for get fast and quick extension status response is online or offline ?
Option 1 : pjsip show endpoints
Option 2 : AMI ( Asterisk Manager Interface )
If this is for direct human consumption, and the user already has a terminal session open to asterisk -r, the former my just be better. If this is for machine use, or you intend to process it before feeding it to the human, it is most likely the latter will be better.