This is an old revision of the document!
Show extensions, phones and firmware:
asterisk -rx "database show registrar" | cut -d, -f7,12
Show PJSIP extensions:
asterisk -rx "pjsip show endpoints"
Get MAC for phone:
arp -a |grep 192.168.110.xxx
Sometimes, with some firewalls, with IP routed trunks, the outbound trunk can become Unavailable
. It seems this can happen after an Internet outage or trunk provider maintenance window.
Adjusting the PJSIP trunk advanced settings can definitely help.
May bring trunk back online:
/usr/sbin/asterisk -rx 'pjsip qualify vitel-outbound'
May save you a reboot:
/usr/sbin/asterisk -rx 'core reload' # no down time /usr/sbin/asterisk -rx 'core restart now' # some down time /usr/sbin/asterisk -rx "core restart when convenient" # safer