6.9 KiB
6.9 KiB
| 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 To enter edit mode, I When done, hit esc To save enter :wq! |
| Voicemail | ls -l /var/spool/asterisk/voicemail/default/2015/INBOX/ |
| find /var/spool/asterisk/voicemail/ -name "*.txt" -delete |
| Commands | |
| SNGREP | |
| Reset FreePBX GUI password | fwconsole unlock |
| 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 |
| Invading Rules in FreePBX | https://vtgus.huducloud.com/kba/969f1cc70770 |
| Whitelisting | https://vtgus.huducloud.com/kba/c9bf21e853df |
| T-Mobile | https://vtgus.huducloud.com/kba/corecontact-tls-tips-79fcf0f1e8c6 - #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