ASTERISK & FREEPBX TIPS

LOGON: To logon to the virtual server box (not through the web interface) use “root” (without quotes) as the user ID and use the general password as the password POWER COMMANDS: Shutdown: shutdown or poweroff Restart: reboot EDIT A FILE: At the root, type: nano –w filename (filename = you will need to enter the directory to the file in the filename – Ex: /etc/asterisk/voicemail.conf - where voicemail.conf is the file you are editing) When you have finished editing the file, press CTRL-X on your keyboard to exit. Press Y to save, N to delete changes. If you pressed Y to save, now press ENTER to confirm the save changes.   EDIT VOICEMAIL EMAIL BODY 1) At the root, type: nano –w /etc/asterisk/voicemail.conf 2) Edit the message body 3) Press CTRL-X on your keyboard 4) Press Y on your keyboard to save (or N...
Read More

FreePBX Voicemail User Portal Requires Authentication

Change the following:   /etc/pbx/httpdconf/ari.conf Code: #Only allow access to ARI from trusted subnets <Directory /var/www/html/recordings> Deny from all Allow from 192.168.50.0/255.255.255.0 Allow from 192.168.100.0/255.255.255.0 </Directory> #Allow critical assets for ARI <Directory ~ "^/var/www/html/admin/assets/(js|images|css)"> Satisfy Any Allow from 192.168.50.0/255.255.255.0 Allow from 192.168.100.0/255.255.255.0 </Directory> In the second block, you do need Satisfy Any. Per the Apache docs, Satisfy is only needed when you're using both Require and Allow. And in fact, /etc/pbx/httpdconf/pbx.conf does have a "Require user wwwadmin maint" on the /admin directory. Basically the Satisfy Any is saying you can have access to these specific /admin subdirectories by providing the wwwadmin/maint password OR by coming in from a listed subnet. Satisfy Any is not needed in the first block because there is no other definition for the /recordings folder, i.e. there is no Require directive.   Original Link:  http://pbxinaflash.com/community/index.php?threads/authentication-required-on-user-portal.13204/page-2 Other Link:  http://pbxinaflash.com/community/index.php?threads/voicemail-recordings-menu-link-prompts-for-maint-login.8316/...
Read More

Setup Notes

Re-initialize MAC Address Add audio device Add UTC Time Enable Network 1   Change Passwords: Change Root Password:     passwd Change Maint Password:   passwd-master Change Time Zone:              setup-timezone   Change Network:  change domain – pbx.local   Change Mail file:  /etc/mail/make Mail file:  /etc/mail/sendmail.mc Near bottom:      MASQUERADE_AS(‘domain.com’)dnl      FEATURE(masquerade_envelope)dnl      FEATURE(masquerade_entire_domain)dnl Add:      define(‘confDOMAIN_NAME’,’smtp.domain.com’)dnl Save – CTRL-Shift-X Make Mail:  /etc/mail/make Restart Mail:  service sendmail restart   Change VMail Email Text – in new FreePBX versions this is done in the online portal by selecting “Voicemail Admin – Settings” – change “emailbody”, “emailsubject”, and “fromstring” (frontstring is the name of the email account) ...
Read More