This Howto is to use Symbian Mobiles with Microsoft Outlook Mobile Access (OMA)
We Suppose that OMA server is installed and configured.
First we have to convert the Exchange certificate from extension .cer to extension .der to works in symbian OS. (certificates with .cer extension doesn´t work in symbian OS)
Download and install OpenSSL Software:
http://www.slproweb.com/download/Win32OpenSSL-0_9_7m.exe
Execute this commands in the shell to convert the certificate:
Convert CER (.crt .der) to PEM
openssl x509 -inform der -in "MYCERT.cer" -out "MYCERT.pem"
Convert PEM to DER
openssl x509 -outform der -in "MYCERT.pem" -out "MYCERT.der"
Copy and install the certificate with the extension .der to the mobile.
Download the software "Mail For Exchange" to synchronize the mobile with the exchange server.
http://www.businesssoftware.nokia.com/mail_for_exchange_downloads.php
Install this software in the mobile and configure with the settings of the Exchange Server.
It Works!!.
lunes, 7 de enero de 2008
jueves, 3 de enero de 2008
Asterisk on Debian
This Howto is to install Asterisk on a fresh Debian "Etch" system.
After download a netinstall image of Debian 4.0r1 and configure localization, language, partitions and so on, in the final steps
Debian should now be asking you what packages you want installed
choose base system only
(desktop will probably be ticked, you need to un-tick that)
After finish installation and first reboot, login with root and:
aptitude update
aptitude upgrade
reboot
aptitude install ssh ntp
The next steps are executed from a ssh terminal with putty client for example...
******Optional Compile the Kernel**********
aptitude install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar.bz2
tar xjf linux-2.6.*
ln -s /usr/src/linux-2.6.23.12 /usr/src/linux
cd /usr/src/linux
Copy the existing basic configuration of the current kernel to /usr/src/linux
make clean && make mrproper
cp /boot/config-`uname -r` ./.config
make menuconfig
In the configuration menu we select load alternate configuration and choose the config file
that we have copy in the /usr/src/linux directory. /usr/src/linux/.config
We are going to modify some parameters in the kernel configuration:
In the subsection "Processor type and features" we check:
"Enable IRQ balancing" is disabled
"Timer frequency" change the value 250 Hz by 1000 Hz.
"High Resolution Timer Option" and "HPET Timer Support" as built-in.
For users with NVidia SATA drives unchek "Paravirtualization Support".
And under "Library Routines" subsection "CONFIG_CRC_CCITT" must be enabled.
When we had made this changes we save the configuration and exit.
To build the kernel execute these two commands:
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
After --append-to-version= you can write any word, it must begin with a "-" and must not contain whitespace.
After the compilation will be two .deb packages unde directory /usr/src/.
Install the two packages:
cd /usr/src
dpkg -i linux-image-2.6.23.12-custom_2.6.23.12-custom-10.00.Custom_i386.deb
dpkg -i linux-headers-2.6.23.12-custom_2.6.23.12-custom-10.00.Custom_i386.deb
reboot
Test the new kernel is loaded.
uname -a (The output must be something similar to Linux asterisk 2.6.23.12-custom )
****** Finish Optional Compile the Kernel**********
Go for dependencies...
aptitude install build-essential libcurl3-dev libvorbis-dev libspeex-dev unixodbc unixodbc-dev libiksemel-dev
aptitude install linux-headers-`uname -r` g++ libncurses5-dev libnewt-dev libusb-dev subversion git-core
Downloading and untarring...
cd /usr/src
wget http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
wget http://downloads.digium.com/pub/libpri/libpri-1.4-current.tar.gz
wget http://www.misdn.org/downloads/mISDN.tar.gz
wget http://www.misdn.org/downloads/mISDNuser.tar.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.5.tar.gz
tar xvzf asterisk-1.4-current.tar.gz && tar xvzf zaptel-1.4-current.tar.gz && tar xvzf libpri-1.4-current.tar.gz && tar xvzf mISDN.tar.gz && tar xvzf mISDNuser.tar.gz && tar xvzf asterisk-addons-1.4.5.tar.gz
##############################
##### Installing Zaptel ######
##############################
cd /usr/src/zaptel-1.4*
./install_prereq test
./install_prereq install
./configure
make
make install
make config (if new install)
modprobe ztdummy (if no output is correct)
##############################
##### Installing Libpri ###### For users with PRI devices (E1/T1,...).
##############################
cd /usr/src/libpri-1.4*
make && make install
##############################
###### Installing mISDN ###### For users with ISDN devices.
##############################
##############################
##### Installing Asterisk ####
##############################
cd /usr/src/asterisk-1.4*
./configure
make menuselect (This step is not mandatory. For install core and extra sounds in different languages), exit with "x" to save.
make
make install
make samples
make config
asterisk -vvvc
stop now
echo "ztdummy" >> /etc/modules
Note
If you make a mistake and stop halfway through compiling, no problem but you will need to run make clean then ./configure and make install again.
reboot
# Test asterisk connecting to CLI
asterisk -r
exit
##############################
### Install Asterisk-Addons ## Optional
##############################
cd /usr/src/asterisk-addons*
./configure && make && make install
make samples (Overwrite your config files !!!!!!)
##############################
#### Install Asterisk-GUI ####
##############################
Backup asterisk config (if you have)
cp -r /etc/asterisk /etc/asterisk.backup
Download and install Asterisk-GUI
cd /usr/src
svn checkout http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui
cd /usr/src/asterisk-gui
./configure && make && make install
make samples (overwrite your configuration files!!!!!!!)
Some tweaks to configuration files...
cat <<>/etc/asterisk/http.conf
[general]
enabled=yes
enablestatic=yes
EOF
cat <<>/etc/asterisk/manager.conf
[general]
displaysystemname = yes
enabled = yes
webenabled = yes
port = 5038
;httptimeout = 60
bindaddr = 0.0.0.0
[admin]
secret = admin
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config
EOF
Checking configuration...
make checkconfig
asterisk -r
reload
exit
Try and configure your new system... with admin/admin or your setup config...
http://IPADDRESS:8088/asterisk/static/config/setup/install.html
http://IPADDRESS:8088/asterisk/static/config/cfgbasic.html
After download a netinstall image of Debian 4.0r1 and configure localization, language, partitions and so on, in the final steps
Debian should now be asking you what packages you want installed
choose base system only
(desktop will probably be ticked, you need to un-tick that)
After finish installation and first reboot, login with root and:
aptitude update
aptitude upgrade
reboot
aptitude install ssh ntp
The next steps are executed from a ssh terminal with putty client for example...
******Optional Compile the Kernel**********
aptitude install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar.bz2
tar xjf linux-2.6.*
ln -s /usr/src/linux-2.6.23.12 /usr/src/linux
cd /usr/src/linux
Copy the existing basic configuration of the current kernel to /usr/src/linux
make clean && make mrproper
cp /boot/config-`uname -r` ./.config
make menuconfig
In the configuration menu we select load alternate configuration and choose the config file
that we have copy in the /usr/src/linux directory. /usr/src/linux/.config
We are going to modify some parameters in the kernel configuration:
In the subsection "Processor type and features" we check:
"Enable IRQ balancing" is disabled
"Timer frequency" change the value 250 Hz by 1000 Hz.
"High Resolution Timer Option" and "HPET Timer Support" as built-in.
For users with NVidia SATA drives unchek "Paravirtualization Support".
And under "Library Routines" subsection "CONFIG_CRC_CCITT" must be enabled.
When we had made this changes we save the configuration and exit.
To build the kernel execute these two commands:
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
After --append-to-version= you can write any word, it must begin with a "-" and must not contain whitespace.
After the compilation will be two .deb packages unde directory /usr/src/.
Install the two packages:
cd /usr/src
dpkg -i linux-image-2.6.23.12-custom_2.6.23.12-custom-10.00.Custom_i386.deb
dpkg -i linux-headers-2.6.23.12-custom_2.6.23.12-custom-10.00.Custom_i386.deb
reboot
Test the new kernel is loaded.
uname -a (The output must be something similar to Linux asterisk 2.6.23.12-custom )
****** Finish Optional Compile the Kernel**********
Go for dependencies...
aptitude install build-essential libcurl3-dev libvorbis-dev libspeex-dev unixodbc unixodbc-dev libiksemel-dev
aptitude install linux-headers-`uname -r` g++ libncurses5-dev libnewt-dev libusb-dev subversion git-core
Downloading and untarring...
cd /usr/src
wget http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
wget http://downloads.digium.com/pub/libpri/libpri-1.4-current.tar.gz
wget http://www.misdn.org/downloads/mISDN.tar.gz
wget http://www.misdn.org/downloads/mISDNuser.tar.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.5.tar.gz
tar xvzf asterisk-1.4-current.tar.gz && tar xvzf zaptel-1.4-current.tar.gz && tar xvzf libpri-1.4-current.tar.gz && tar xvzf mISDN.tar.gz && tar xvzf mISDNuser.tar.gz && tar xvzf asterisk-addons-1.4.5.tar.gz
##############################
##### Installing Zaptel ######
##############################
cd /usr/src/zaptel-1.4*
./install_prereq test
./install_prereq install
./configure
make
make install
make config (if new install)
modprobe ztdummy (if no output is correct)
##############################
##### Installing Libpri ###### For users with PRI devices (E1/T1,...).
##############################
cd /usr/src/libpri-1.4*
make && make install
##############################
###### Installing mISDN ###### For users with ISDN devices.
##############################
##############################
##### Installing Asterisk ####
##############################
cd /usr/src/asterisk-1.4*
./configure
make menuselect (This step is not mandatory. For install core and extra sounds in different languages), exit with "x" to save.
make
make install
make samples
make config
asterisk -vvvc
stop now
echo "ztdummy" >> /etc/modules
Note
If you make a mistake and stop halfway through compiling, no problem but you will need to run make clean then ./configure and make install again.
reboot
# Test asterisk connecting to CLI
asterisk -r
exit
##############################
### Install Asterisk-Addons ## Optional
##############################
cd /usr/src/asterisk-addons*
./configure && make && make install
make samples (Overwrite your config files !!!!!!)
##############################
#### Install Asterisk-GUI ####
##############################
Backup asterisk config (if you have)
cp -r /etc/asterisk /etc/asterisk.backup
Download and install Asterisk-GUI
cd /usr/src
svn checkout http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui
cd /usr/src/asterisk-gui
./configure && make && make install
make samples (overwrite your configuration files!!!!!!!)
Some tweaks to configuration files...
cat <<>/etc/asterisk/http.conf
[general]
enabled=yes
enablestatic=yes
EOF
cat <<>/etc/asterisk/manager.conf
[general]
displaysystemname = yes
enabled = yes
webenabled = yes
port = 5038
;httptimeout = 60
bindaddr = 0.0.0.0
[admin]
secret = admin
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config
EOF
Checking configuration...
make checkconfig
asterisk -r
reload
exit
Try and configure your new system... with admin/admin or your setup config...
http://IPADDRESS:8088/asterisk/static/config/setup/install.html
http://IPADDRESS:8088/asterisk/static/config/cfgbasic.html
Etiquetas:
debian asterisk howto asterisk-gui freepbx
Suscribirse a:
Entradas (Atom)