- sudo dpkg -i package.deb
Saturday, July 31, 2010
Friday, July 30, 2010
Set time in Linux
- In CentOS
date MMDDhhmmccyy
MM - month
DD - date
hh - hour
mm - minute
cc - first two digit of the year (20)
yy - last two digit of the year (10) - Setting the time of your system
Labels:
GNU/Linux
Thursday, July 29, 2010
Install Chrome in Ubuntu 9.10
First way
Second way
- Open file "/etc/apt/sources.list".
- Add test in the file
"deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main". - run command
"sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5". - sudo apt-get update
- sudo add-apt-key ppa:chromium-daily/ppa
- sudo apt-get update
- sudo apt-get install chromium-browser
Second way
- Open file "etc/apt/sources.list"
- add text to file
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main - sudo aptitude install chromium-browser
Labels:
GNU/Linux
Wednesday, July 28, 2010
Configure DNS in CentOS
- Open /etc/resolv.conf file
- put your DNS server ip's as follows. Keep space between "nameserver" and ip addressnameserver (IP of your DNS server)
nameserver (IP of your DNS server)
Tuesday, July 27, 2010
Sinhala Vedio Songs
- Asha Nirasha Mawu..
- Liyu Pem Hasun
- Ege Sinahawa thahanam
- Obata sitha adare karai
- Mage Lowata Oba Wadina Thura
- Wiyo gee gayena
- Obe sina laga
- Duhulu Malak - Bonda Meedum
- Ganga Addara
- Kauruda Pave Pavee
- Sihinayaki Oba
- Obata waram nathi
- Sinahawa atharin
- Mahawarusawata (Somathilaka Jayamaha)
- Ma nisa oba
- Sagawanna epa hasaral
- Premaya Puda Dee Awasanai
- Aradana
- Hinawenna Beri Tharamata
- Soduru Athithaye - T.M Jayarathne
Labels:
Songs
Asterisk CLI
Asterisk CLI commands.
- #asterisk -r
- #asterisk -vvvvvr - If you want debugging output, add one or many v's
- #asterisk –vvvvvvvgrc - this show more debug info.
- #asterisk -rx "logger reload" - If you want to run a CLI command in a shell script, use the x option
Labels:
Asterisk
Primary Rate Interface (PRI)
- T1 ( 23B +D )
B-channel : 64 kbit/s
D-channel
There are 24 channels.
Labels:
Telephony
Basic rate interface -BRI
2B + D = 144 kbit/s
B channel - 64 kbit/s
D channel - 16 kbit/s
B channel : carries data, voice, and other services.
D channel : carries control and signaling information
Labels:
Telephony
Monday, July 26, 2010
Install and configure NTP on CentOS 5.3
- Install NTP (Network Time Protocol):
yum -y install ntp - Edit the NTP config file:
vi /etc/ntp.conf - At line 18, find "server 2.centos.pool.ntp.org" and under, add:
server time.nrc.ca
server time.chu.nrc.ca
server tock.utoronto.ca
server tick.utoronto.ca - Ajust the other NTP config file by editing:
vi /etc/sysconfig/ntpd - At that file's second line:
OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid" - Modify this line to add the option -x that will force a NTP synch at boot time:
OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid" - Restart NTPD service:
service ntpd start - Ajust system to automaticaly start the service at boot:
chkconfig ntpd on
Reference link
Friday, July 23, 2010
SS7
- SS7 Protocol
http://www.protocols.com/papers/ss7.htm
http://www.ulticom.com/html/products/ss7-signaling-convergence-white-paper.aspx
http://www.pt.com/page/tutorials/ss7-tutorial - Asterisk And SS7
http://www.pt.com/page/tutorials/ss7-tutorial - Asterisk and SS7 Performance Tests
http://www.cesnet.cz/doc/techzpravy/2007/asterisk-ss7-performance/#RVR06 - Asterisk libss7 (Original Help File)
http://www.voip-info.org/wiki/view/Asterisk+libss7 - Asterisk SS7 Options
http://wiki.sangoma.com/asterisk-ss7#LibSS7
Labels:
Asterisk
Wednesday, July 21, 2010
Asterisk Installation guides
- Insatll Asterisk 1.6.x in CentOS 5.2
http://www.voip-info.org/wiki/view/CentOS+5.2+and+Asterisk+1.6.x+installation - Install Asterisk in Red Hat 8
http://www.automated.it/guidetoasterisk.htm
Labels:
Asterisk
Asterisk Dialplan
How to write dialplan to restrict a user to call only predefine extensions.
;--------------------------------------------------------------------------------
; Context for allow ext-100 to call only ext-200,201,202,203,204
; and any extension begins with number 3 and contains 3 digits.
;If he get a call to any other number, it will hangup by the context.
[from-restricted]
exten => _200,1,Goto(from-internal,${EXTEN},1)
exten => _201,1,Goto(from-internal,${EXTEN},1)
exten => _202,1,Goto(from-internal,${EXTEN},1)
exten => _203,1,Goto(from-internal,${EXTEN},1)
exten => _204,1,Goto(from-internal,${EXTEN},1)
exten => _3XX,1,Goto(from-internal,${EXTEN},1)
;--------------------------------------------------------------------------------
- You have to include above context inextension.conf file(in CentOS file location is /etc/asterisk/extension.conf).
- Then you can change the context ofextension 100 to from-restricted. (in Asterisk 1.6 file location is /etc/asterisk/user.conf)
Labels:
Asterisk
Subscribe to:
Posts (Atom)