Files
VTG-Vault/General Notes/Commands.md
2026-06-24 17:51:49 -04:00

44 lines
6.9 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
| | |
| ------------------------------ | ----------------------------------- |
| Call Forwarding | asterisk -rx 'database del CF 130' |
| Do Not Disturb | asterisk -x 'database del DND XXXX' |
| Call Waiting | asterisk -x 'database del CW 1022' |
| Call Forwarding (Busy) | asterisk -x 'database del CFB 214' |
| Call Forwarding (Unregistered) | asterisk -x 'database del CFU 214' |
| | |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Remote Phone Book | vi /var/www/html/RemotePhonebook.xml <br><br>To enter edit mode, I <br><br>When done, hit esc <br><br>To save enter :wq! |
| | |
| --------------------------------------------------------- | ------------------------------------------------------- |
| Voicemail | ls -l /var/spool/asterisk/voicemail/default/2015/INBOX/ |
| find /var/spool/asterisk/voicemail/ -name "*.txt" -delete | |
| | |
| ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Commands](https://support.gtiglobalus.com/knowledgebase.php?article=192) | |
| [SNGREP](https://vtgus.huducloud.com/kba/88a56cb9213e) | |
| Reset FreePBX GUI password | fwconsole unlock <putcodeyoucopiedhere> |
| Reset web GUI | Httpd service restart |
| Errors revoking license | /usr/local/fop2/fop2_server --revoke --rp=http |
| Call Recording | [https://vtgus.huducloud.com/kba/b05cc016fec7](https://vtgus.huducloud.com/kba/b05cc016fec7) |
| Invading Rules in FreePBX | [https://vtgus.huducloud.com/kba/969f1cc70770](https://vtgus.huducloud.com/kba/969f1cc70770) |
| Whitelisting | [https://vtgus.huducloud.com/kba/c9bf21e853df](https://vtgus.huducloud.com/kba/c9bf21e853df) |
| T-Mobile | [https://vtgus.huducloud.com/kba/corecontact-tls-tips-79fcf0f1e8c6](https://vtgus.huducloud.com/kba/corecontact-tls-tips-79fcf0f1e8c6) <br><br>- #Firewall > Advanced Settings > Hamburger > Advanced >Custom Firewall Rules |
| Packet Capture | tcpdump -i any -s 0 -w /tmp/capture.pcap |
| Edit Firewall rules VIM | vim /etc/firewall-4.rules |
| Search asterisk for location by IP | asterisk -rx 'pjsip show contacts' \| grep ipyouwhitelisted |
| | Fwconsole firewall restart |
| | |
| | |
| | |
- grep 16162590760 /var/log/asterisk/full 
- then find the section C-XXXXXXX 
- hit enter a few times to make a gap 
-  grep C-000066b4 /var/log/asterisk/full 
- copy that text into hudu, select call analysis