Académique Documents
Professionnel Documents
Culture Documents
nano /sys/class/backlight/acpi_video0/brightness
How to decrease increas brightness:
I was able to fix it by adding a file (if it didn't already exist) called bright
ness to the folder /sys/class/backlight/intel_backlight, and putting a value in
the file lower than that of the value in the file /sys/class/backlight/intel_bac
klight/max_brightness. On your system, the folder may not be called "intel_backl
ight", so just use whatever folder is there.
sudo nano /sys/class/backlight/intel_backlight/brightness
sudo nano /sys/class/backlight/intel_backlight/max_brightness
--------------------------------------------------------------------------------------------------------------------------------------------Installing asterisk:
sudo apt-get install asterisk
sudo asterisk -r
-------------------------------------------------------------------------------------------------------------------------------------------Creating a SIP account (Asterisk + Zoiper)
To add SIP accounts follow this procedure:
1. Open terminal to your Asterisk server
2. Open for editing your sip.conf, which is located in /etc/asterisk/ by using y
our favorite editor.
3. On the bottom of the file add the account information:
[sip.zoiper2]
username=sip.zoiper2
secret=my_pass234
context=zoiper_tests
type=friend
host=dynamic
callerid=8765431
4. When you are ready save the file and reload Asterisk SIP configuration by:
#service asterisk restart
or
#asterisk -rx "core restart now"
------------------------Asterisk commands
sip show peers -> Shows registered users
dialplan reload -> Reloads dialplan
dialplan show users -> shows the dialplan
To ensure that your SIP phones are registered, type sip show peers at the Asteri
sk CLI.
To see which context your SIP phones will send calls to, type sip show users.
To ensure that you've created the extensions correctly in the [users] context in
the dialplan, type dialplan show users.
To see which extension will be executed when you dial extension 6002, type dialp
lan show 6002@users.