This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
voice:pbx:freepbx:freepbx_cli [2024/02/06 09:56] gcooper created |
voice:pbx:freepbx:freepbx_cli [2024/04/18 13:27] gcooper |
||
---|---|---|---|
Line 5: | Line 5: | ||
< | < | ||
asterisk -rx " | asterisk -rx " | ||
+ | </ | ||
+ | |||
+ | Show PJSIP extensions: | ||
+ | |||
+ | < | ||
+ | asterisk -rx "pjsip show endpoints" | ||
+ | </ | ||
+ | |||
+ | Get MAC for phone: | ||
+ | |||
+ | < | ||
+ | arp -a |grep 192.168.110.xxx | ||
+ | </ | ||
+ | |||
+ | ====== Outbound Trunk Unavailable ====== | ||
+ | |||
+ | Sometimes, with some firewalls, with IP routed trunks, the outbound trunk can become '' | ||
+ | |||
+ | Adjusting the PJSIP trunk advanced settings can definitely help. | ||
+ | |||
+ | May bring trunk back online: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | May save you a reboot: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | This one-liner can be used in cron to check the trunk status, restart Asterisk and notify you: | ||
+ | |||
+ | FIXME Not well tested | ||
+ | |||
+ | < | ||
+ | / | ||
</ | </ |