All my extensions are reported as being in use instead of being busy via AMI action
http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+ExtensionState and https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_PJSIPShowEndpoint and in FreePBX GUI http:///admin/config.php?display=asteriskinfo#peers
Regarding the first link, it should be reported as
- in use if “One or more devices INUSE”
- busy if “All devices BUSY”
I have two phones which register to the same PJSIP-Extension. I therefore set “Max Contacts = 2” and rebooted all and should be able to get “In use” if at least one phone is used and busy if both phones are used. In any case, i get “In Use”. I also checked another Extension with “Max Contacts = 1” and one registered phone and should report to be “Busy” AND “In Use”, but it doesn’t !?
I added the following to /etc/asterisk/pjsip.endpoint_custom.conf and reloaded asterisk, but it still reports in use.
I also tried to add it to /etc/asterisk/pjsip.endpoint_custom_post.conf - same result. The AMI action https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_PJSIPShowEndpoint also reports it to be in use instead of busy