OpenSIPS is implementation of SIP server based on RFC 3261. OpenSIPS is a robust SIP server which has powerful-customized routing engine. OpenSIPS components implemented as modular element which are not depends each other. OpenSIPS is formerly the Openser -Open SIP Express Router. The Openser project stops and continue into two branches: OpenSIPS (Open SIP Server) and Kamailio. Both new projects are mainly has the same components as Openser.

We will discuss Opensips this time -Kamailio next time maybe 😀 .

Opensips will be fits in these scenarios:

  • VoIP service providers (residential)
  • SIP trunking
  • SIP load-balancing
  • SIP front-end (for SIP termination)
  • white-label solutions
  • enterprise services
  • SIP router (LCR for multi GWs)

Opensips can play many roles in VoIP network:

  • SIP registrar server
  • SIP router / proxy (lcr, dynamic routing, dialplan features)
  • SIP redirect server
  • SIP presence agent
  • SIP IM server (chat and end-2-end IM)
  • SIP to SMS gateway (bidirectional)
  • SIP to XMPP gateway for presence and IM (bidirectional)
  • SIP load-balancer or dispatcher
  • SIP front end for gateways/asterisk
  • SIP NAT traversal unit
  • SIP application server

OpenSIPS has much more features compared with another SIP server. Full documentation about OpenSIPS features can be found here. Mainly, these are the OpenSIPS features

  • robust and performant SIP (RFC3261) Registrar server, Location server, Proxy server and Redirect server
  • support for UDP/TCP/TLS/SCTP transport layers
  • IPv4 and IPv6
  • IP Blacklists
  • flexible and powerful scripting language for routing logic
  • management interface via FIFO file and unix sockets
  • authentication, authorization and accounting (AAA) via database (MySQL, Postgress, text files), RADIUS and DIAMETER
  • digest and IP authentication
  • Presence Agent support (many additional integration features)
  • XCAP support for Presence Agent
  • SNMP – interface to Simple Network Management Protocol
  • management interface (for external integration) via FIFO file, XMLRPC or Datagram (UDP or unixsockets)
  • NAT traversal support for SIP and RTP traffic
  • ENUM support
  • PERL Programming Interface – embed your extensions written in Perl
  • Java SIP Servlet Application Interface – write Java SIP Servlets to extent your VoIP services and integrate with web services
  • load balancing with failover
  • modular architecture – plug-and-play module interface to extend the server’s functionality
  • gateway to sms (AT based)
  • multiple database backends – MySQL, PostgreSQL, Oracle, Berkeley, flat files and other database types which have unixodbc drivers
  • XMPP gateway-ing ( transparent server-to-server translation)
  • OpenSIPS can run on embedded systems, with limited resources – the performances can be up to hundreds of call setups per second
  • used a load balancer in stateless mode, OpenSIPS can handle over 5000 call setups per second
  • on systems with 4GB memory, OpenSIPS can serve a population over 300 000 online subscribers

OpenSIPS deal with low resource usage, but still hampered in interconnection to PSTN network. Unlike Digium which give full support to Asterisks as PSTN gateway with Digium cards, OpenSIPS doesn’t have that support yet. But OpenSIPS developer still working hard to make interconnection to PSTN network possible with OpenSIPS.

Let’s hope their work finish soon…  😀

Sign up for PayPal and start accepting credit card payments instantly.

This is the counter for my recent post, LOL… 😀
Nano is one of friendly text editor usually included on most Linux distribution. Nano is not included on Solaris 10 installation -tough you do entire disk install, LOL. But, nano can be installed later manually. These few simple steps will make your nano home 😀 :

1. Go to, choose your Solaris version and machine platform. Machine platform could be x86 or SPARC. Choose the right one

2. Once you choosen your Solaris version and machine platform, you will be entering new page with suitable to your OS and platform

3. Left-click on nano package

4. I assume you use SPARC machine. This is the view after you click on nano package

5. Click on nano package to download it

6. Click on dependencies needed based on the notes above (ncurses, libiconv, libintl, libgcc-3.4.6)

7. Install the dependencies first:

#gunzip -d ncurses-5.6-sol10-sparc-local.gz

#pkgadd -d ncurses-5.6-sol10-sparc-local

#gunzip -d libiconv-1.11-sol10-sparc-local.gz

#pkgadd -d libiconv-1.11-sol10-sparc-local

#gunzip -d libintl-3.4.0-sol10-sparc-local.gz

#pkgadd -d libintl-3.4.0-sol10-sparc-local

#gunzip -d libgcc-3.4.6-sol10-sparc-local.gz

#pkgadd -d libgcc-3.4.6-sol10-sparc-local

8. Finally, install the nano package

#gunzip -d nano-2.0.9-sol10-sparc-local.gz

#pkgadd -d nano-2.0.9-sol10-sparc-local

9. Next, you can’t use your nano yet untill you add your PATH variables

#export PATH=$PATH:/usr/local/bin

This is because nano installation put it’s binary files on /usr/local/bin which Solaris default PATH is not included it in.

Enjoy your nano 😀 !

Sign up for PayPal and start accepting credit card payments instantly.

VI? what do i do with this old-style editor? LOL…don’t underestimate VI. Not because this editor has something special,but this is the only editor i knew included in Solaris installation with no graphical mode. This troublesome editor -confusing in control keys- will be usefull to edit your configuration files. These are usefull vi commands:

* vi filename edit filename starting at line 1
vi -r filename recover filename that was being edited when system crashed

To Exit vi

Usually the new or modified file is saved when you leave vi. However, it is also possible to quit vi without saving the file.
Note: The cursor moves to bottom of screen whenever a colon (:) is typed. This type of command is completed by hitting the <Return> (or <Enter>) key.
* 😡<Return> quit vi, writing out modified file to file named in original invocation
:wq<Return> quit vi, writing out modified file to file named in original invocation
:q<Return> quit (or exit) vi
* :q!<Return> quit vi even though latest changes have not been saved for this vi call

Moving the Cursor

Unlike many of the PC and MacIntosh editors, the mouse does not move the cursor within the vi editor screen (or window). You must use the the key commands listed below. On some UNIX platforms, the arrow keys may be used as well; however, since vi was designed with the Qwerty keyboard (containing no arrow keys) in mind, the arrow keys sometimes produce strange effects in vi and should be avoided.
If you go back and forth between a PC environment and a UNIX environment, you may find that this dissimilarity in methods for cursor movement is the most frustrating difference between the two.
In the table below, the symbol ^ before a letter means that the <Ctrl> key should be held down while the letter key is pressed.
* j or <Return> [or down-arrow] move cursor down one line
* k [or up-arrow] move cursor up one line
* h or <Backspace> [or left-arrow] move cursor left one character
* l or <Space> [or right-arrow] move cursor right one character
* 0 (zero) move cursor to start of current line (the one with the cursor)
* $ move cursor to end of current line
w move cursor to beginning of next word
b move cursor back to beginning of preceding word
:0<Return> or 1G move cursor to first line in file
:n<Return> or nG move cursor to line n
:$<Return> or G move cursor to last line in file

Screen Manipulation

The following commands allow the vi editor screen (or window) to move up or down several lines and to be refreshed.
^f move forward one screen
^b move backward one screen
^d move down (forward) one half screen
^u move up (back) one half screen
^l redraws the screen
^r redraws the screen, removing deleted lines

Adding, Changing, and Deleting Text

Unlike PC editors, you cannot replace or delete text by highlighting it with the mouse. Instead use the commands in the following tables.
Perhaps the most important command is the one that allows you to back up and undo your last action. Unfortunately, this command acts like a toggle, undoing and redoing your most recent action. You cannot go back more than one step.
* u UNDO WHATEVER YOU JUST DID; a simple toggle
The main purpose of an editor is to create, add, or modify text for a file.

Inserting or Adding Text

The following commands allow you to insert and add text. Each of these commands puts the vi editor into insert mode; thus, the <Esc> key must be pressed to terminate the entry of text and to put the vi editor back into command mode.
* i insert text before cursor, until <Esc> hit
I insert text at beginning of current line, until <Esc> hit
* a append text after cursor, until <Esc> hit
A append text to end of current line, until <Esc> hit
* o open and put text in a new line below current line, until <Esc> hit
* O open and put text in a new line above current line, until <Esc> hit

Changing Text

The following commands allow you to modify text.
* r replace single character under cursor (no <Esc> needed)
R replace characters, starting with current cursor position, until <Esc> hit
cw change the current word with new text, starting with the character under cursor, until <Esc> hit
cNw change N words beginning with character under cursor, until <Esc> hit; e.g., c5w changes 5 words
C change (replace) the characters in the current line, until <Esc> hit
cc change (replace) the entire current line, stopping when <Esc> is hit
Ncc or cNc change (replace) the next N lines, starting with the current line, stopping when <Esc> is hit

Deleting Text

The following commands allow you to delete text.
* x delete single character under cursor
Nx delete N characters, starting with character under cursor
dw delete the single word beginning with character under cursor
dNw delete N words beginning with character under cursor; e.g., d5w deletes 5 words
D delete the remainder of the line, starting with current cursor position
* dd delete entire current line
Ndd or dNd delete N lines, beginning with the current line; e.g., 5dd deletes 5 lines

Cutting and Pasting Text

The following commands allow you to copy and paste text.
yy copy (yank, cut) the current line into the buffer
Nyy or yNy copy (yank, cut) the next N lines, including the current line, into the buffer
p put (paste) the line(s) in the buffer into the text after the current line

Other Commands

Searching Text

A common occurrence in text editing is to replace one word or phase by another. To locate instances of particular sets of characters (or strings), use the following commands.
/string search forward for occurrence of string in text
?string search backward for occurrence of string in text
n move to next occurrence of search string
N move to next occurrence of search string in opposite direction

Determining Line Numbers

Being able to determine the line number of the current line or the total number of lines in the file being edited is sometimes useful.
:.= returns line number of current line at bottom of screen
:= returns the total number of lines at bottom of screen
^g provides the current line number, along with the total number of lines, in the file at the bottom of the screen

Saving and Reading Files

These commands permit you to input and output files other than the named file with which you are currently working.

:r filename<Return> read file named filename and insert after current line (the line with cursor)
:w<Return> write current contents to file named in original vi call
:w newfile<Return> write current contents to a new file named newfile
:12,35w smallfile<Return> write the contents of the lines numbered 12 through 35 to a new file named smallfile
:w! prevfile<Return> write current contents over a pre-existing file named prevfile

Sign up for PayPal and start accepting credit card payments instantly.

Few days ago I have been sucessfully Solaris 10u6 on Sun Sparc v240 machine. It takes me few hours to be familiar with the machine.  V240 machine is one which has no graphic adapter (VGA) by its package. You cannot do installation by direct management. But don’t worry. V240 – just like other server machines –  is built up with one ethernet management port. We need one ethernet to RS232 cable to remote this machine using HyperTerminal. Here are the steps:

1. Make sure you have proper ethernet to RS232 cable and one PC/Laptop with RS232 connector

2. Connect the cable to the management port on v240 and another end to the RS232 connector on PC/laptop

3. Turn on the server, turn on HyperTerminal on PC/Laptop

4. Create new connection on HyperTerminal. Enter connection name and choose one icon you like. Choose proper port used by RS232 connection, klik restore default to use default connection preference

5. While the HyperTerminal connecting to the machine, insert Solaris 10 installation DVD to v240 dvd-rom

6. At anytime after HyperTerminal successfull connect to v240,  press ctrl+break

7. Wait ok prompt emerge. OK prompt will looked like this: OK>

8. Enter command for rebooting the machine with installation dvd with this command: boot cdrom

9. Wait until system reboot and search boot sequence to cdrom.

10. Follow installation instruction, use F2 to go to the next screen.

Sign up for PayPal and start accepting credit card payments instantly.

Bingung sebenernya bikin judulnya 😀

Maksutnya disini adalah membuat file eksekusi untuk mengaktifkan dan mematikan repo lokal ubuntu. Sebelumnya, siapkan dulu repo lokalnya. Berikut langkah-langkahnya:

  • Untuk pembuatan repo lokal, saya lebih memilih mengkopikan seluruh image repo Ubuntu 8.10 berformat iso ke harddisk. Misal saya taruh di /home dengan nama file 1.iso untuk DVD-1, 2.iso untuk DVD-2, dan seterusnya.
  • Buat direktori repo1, repo2, hingga repo6 di /media. Direktori ini nantinya digunakan sebagai mounting point image repo.
  • Kemudian buat file /etc/apt/sources.list yang baru yang isinya:

deb file:///media/repo1 intrepid main restricted
deb file:///media/repo2 intrepid main restricted multiverse
deb file:///media/repo3 intrepid universe
deb file:///media/repo4 intrepid universe
deb file:///media/repo5 intrepid universe
deb file:///media/repo6 intrepid universe

(Jangan lupa backup dl sources.list yang asli :D)

Nah, sekarang saat nya membuat file eksekusi yang akan menggunakan bash shell programming. Buat file baru di /home dengan nama “aktifin_repo” yang isinya sebagai berikut:


mount /home/1.iso /media/repo1 -t iso9660 -o loop
mount /home/2.iso /media/repo2 -t iso9660 -o loop
mount /home/3.iso /media/repo3 -t iso9660 -o loop

mount /home/4.iso /media/repo4 -t iso9660 -o loop
mount /home/5.iso /media/repo5 -t iso9660 -o loop
mount /home/6.iso /media/repo6 -t iso9660 -o loop

Buat juga file eksekusi untuk mematikan repo dengan nama “matiin_repo” yang isinya:ubuntu-logo

umount /media/repo1
umount /media/repo2
umount /media/repo3
umount /media/repo4
umount /media/repo5
umount /media/repo6

Setelah semua beres, tinggal mengubah mode file “aktifin_repo” dan “matiin_repo” supaya dapat dieksekusi. Gunakan perintah chmod

$ cd /home

$ sudo chmod +x aktifin_repo matiin_repo

Untuk mengetes apakah sudah berhasil, ketikkan perintah

$ sudo /home/aktifin_repo

$ sudo apt-get update

Jika apt-get update berjalan dengan penuh kemenangan :D, berarti file eksekusi sudah berhasil dibuat.

Dengan dua file eksekusi ini, kita tinggal mengetikkan sudo /home/aktifin_repo untuk mengaktifkan repo dan sudo /home/matiin_repo untuk mematikan repo. Gampang kan?

Semoga bermanfaat 😀

bannerlogoWah, jadi ketauan kalo saya penggemar RHEL5,heheh…

Instalasi openoffice di RHEL5 ga susah, pastinya syaratnya download dulu paketnya :D. Usahain masuk root aja, jadi di tulisan ni saya ga perlu ngasi su/sudo,,,, 😀

1. Saya pake Openoffice 2.4.1, maklum di ITT gabisa download gede2, jadi pake yg udh ada,hehehe

20qdf6s2. Simpan paket di mana aja, misalnya di /usr/src. Masuk ke direktori tersebut

[root@localhost ~]# cd /usr/src

3. Extract paket tersebut dengan perintah berikut

[root@localhost src]# tar xvfz OOo_2.4.1_LinuxIntel_install_en-US.tar.gz

4. Masuk ke direktori hasil ekstrak

[root@localhost src]# cd OOH680_m17_native_packed-1_en-US.9310/

5. Masuk ke direktory RPMS

[root@localhost OOH680_m17_native_packed-1_en-US.9310]# cd RPMS/

6. Nah, karena kita pake RHEL5, untuk menjalankan instalasi ketikkan perintah berikut

[root@localhost RPMS]# rpm -ivh desktop-integration/ *.rpm

7. Sampai sini Openoffice dapat kita running melalui konsole

[root@localhost ~]# openoffice.org2.4

8. Agar menu-menu Openoffice tampil di Application*Office pada taskbar, restart RHEL5.

Semoga bermanfaat 😀

Teori konspirasi, frase ini mungkin mengingatkan kita tentang sesuatu yang licik, kejam, bengis, tidak berperasaan, dan sebagainya. Belum lama ini saya menonton video dari teman saya yang judulnya ‘Zelgeist’. Agak bikin boring sebenernya, cuma kalo kita tertarik ma teori konspirasi mungkin malah bakal penasaran. Video itu bercerita tentang teori konspirasi, motif, pelaku-pelaku, dan sejarahnya dari zaman baheula mpe sekarang (yang mo liat vids nya bisa ngopi ke saya — selama masi ada di kompi,hehehe 😀 ).

Sebenarnya saya agak kurang setuju dengan bab pertama dari video itu, yang menyebutkan bahwa agama menjadi alat konspirasi. Digambarkan sosok tuhan sebagai seseorang yang bersembunyi dibalik awan, menurunkan hujan, menyayangi umat manusia, tapi entah kenapa selalu kekurangan uang. Sebenarnya maksud si pembuat video menyindir salah satu agama yang selalu menuntut pemeluknya untuk memberikan sumbangan kepada pemeluknya hingga jutaan dolar totalnya tiap tahun. Namun di ujung bab petama ini terkesan semua agama seperti itu.

Bab kedua dan selanjutnya bercerita mengenai kejadian-kejadian janggal di dunia. Misalnya runtuhnya menara kembar WTC. Ada beberapa fakta menarik yang selama ini sengaja dijauhkan dari publikasi, misalnya

1. Adanya saksi yang mengatakan terjadi beberapa ledakan sebelum pesawat menyentuh dinding menara.

2. Hasil tubrukan (ledakan) menyerupai proses peruntuhan gedung tua yang biasa dilakukan di Amerika. Ditemukan kandungan bahan-bahan peledak dalam jumlah yang besar (jumlah yang diperlukan jika bangunan diledakkan secara sengaja).

3. Ditemukan bukti paspor dari pilot pesawat (berkebangsaan arab) di sekitar reruntuhan gedung dalam kondisi tanpa cacat sama sekali. Seolah-olah dijatuhkan dengan sengaja. Perlu dicatat bahwa inilah satu-satunya bukti (menurut pemerintah Amerika) bahwa tragedi ini didalangi teroris Arab.

4. Dari puing-puing reruntuhan terlihat bahwa tiang-tiang utama penyangga gedung bagian bawah berbentuk lancip (terpotong miring). Ahli bangunan mengatakan mereka akan memotong tiang-tiang penyangga itu secara miring (sehingga berbentuk lancip) jika akan meruntuhkan gedung tua, sehingga proses peruntuhan berlangsung sangat cepat.
Sebenernya masi banyak,,tapi ga inget satu per satu,,,

Apa motifnya kalo emang semua itu disengaja?

Menurut video tersebut, semua adalah alat yang akan dijadikan alasan Amerika menyerang Irak dan mengambil sumber minyak yang ada. Mengorbankan 2 menara WTC adalah hal kecil dibanding minyak yang akan mereka dapatkan. Kelihatan sekali ketika mayoritas suara PBB tidak menyetujui invasi ke Irak, tetapi Amerika tetap berkeras. Tujuan semula tetap harus tercapai, ga peduli siapa yang menghadang.

Jadi pemerintah Amerika yang jadi dalang semua konspirasi?

Belum, aktor utama belum terlihat di sini.

Amerika menginvasi Irak, siapa yang untung?

Orang-orang Amerika, karena dapet minyak? mmm, boleh juga, tapi masi kurang kuat menurut saya. Rakyat Irak? Ga mungkin lah, penderitaan mereka tiada tara akibat perang itu. Lalu?

Bank dunia! Koq bisa???

Ya, bank dunia diuntungkan besar-besaran jika terjadi perang. Ternyata bank dunia vs pemerintah Amerika, sama halnya mungkin dengan BI vs pemerintah Indonesia, bukanlah satu kesatuan. Mereka berdiri sendiri dan berbisnis layaknya hubungan antar pengusaha. Jika pemerintah Amerika hendak melakukan perang, mereka membutuhkan dana yang besar. Dana itu diperoleh dari bank dunia dengan status pinjaman. Ingat: ‘pinjaman’. Pinjaman, di dunia bisnis tentu disertai bunga. Dan siapa yang akan membayarnya? Tentu rakyatnya sendiri melalui pajak-pajak yang mereka bayarkan ke pemerintah.

Ada beberapa fakta menarik terkait bank dunia

1. Pada perang dunia I, Amerika awalnya berjanji tidak akan ikut perang. Namun beberapa orang di kongress (orang-orang bank dunia, lupa namanya sy,,hehehe) mendorong Amerika ikut perang. Dan motif Amerika ikut perang saat itu adalah karena ditembaknya kapal penumpang Amerika oleh Nazi. Faktanya, Nazi sudah memberikan warning, kapal asing mana saja yang lewat wilayahnya akan ditembak. Amerika sengaja melewatkan kapalnya,,,,

2. Saat awal-awal Amerika merdeka, ekonomi Amerika terpuruk. Orang-orang bank dunia (saat itu belum terbentuk bank sentral di Amerika) mengusulkan ke pemerintah untuk membentuk bank sentral untuk memberikan pinjaman. Kondisi perekonomian justru makin terpuruk. Kemudian orang-orang bank sentral mengusulkan untuk mengumpulkan semua emas yang dimiliki rakyat untuk menstabilkan perekonomian. Inilah perampokan terbesar di dunia yang dilegalkan pemerintah Amerika…

3. Perang Vietnam.

Vietnam, negara miskin & komunis di Asia saat itu. Bagaimana bisa Amerika kalah perang melawan Vietnam? Faktanya, orang-orang bank dunia di kongress Amerika mendorong dengan segala upaya agar perang tidak cepat terselesaikan. Tentu duit bajibun diperoleh bank dunia untuk membiayai perang terus-menerus…

4. Tragedi Perl Harbour

Perl Harbour, tragedi penyerangan tentara Jepang ke pangkalan Amerika di Hawaii karena Jepang menganggap Amerika penghalang invasinya ke Asia Tenggara. Faktanya, Amerika mengetahui rencana penyerangan Jepang itu sebelumnya, namun sepertinya mengabaikannya dan mendorong perang melawan Jepang,,,,lagi-lagi ulah orang-orang bank dunia di kongress…

Masi banyak kejadian, tragedi, fenomena yang sebenarnya dilatarbelakangi orang-orang di bank dunia,,,,hingga saat ini…

Lalu siapa orang-orang itu?

Di video Zelgeist itu diungkapkan, keluarga Rotschild, Rockefeller, Ratu Inggris (lupa yang mana,,, 😀 ), dan masi banyak lagi…

Mereka sering mengadakan pertemuan-pertemuan tertutup. Anggota keluarga kaya Rotschild, Rockefeller banyak yang menjadi anggota kongress Amerika dari dulu hingga sekarang. Mendorong kebijakan Amerika ke arah tertentu..

Begitulah kesimpulan dari video Zelgeist itu, fiuhh capek ngetik,,,

Saya rekomendasi banget nonton. Banyak hal menarik di dalamnya, terlepas pribadi kita setuju atau tidak…

Rekomendasi juga baca thread kaskus ini

Semoga bermanfaat 😀