Configuring Ubuntu

Unlike some versions of Linux, Ubuntu doesn’t rely on a centralized configuration software package. Instead, it uses smaller programs to configure hardware. For example, to configure the network, you’ll use the NetworkManager program, and printers are configured using a separate printer configuration program. Because using some of the configuration software involves reconfiguring your entire system, … Read more

Basic Call Flow – SIP

peer to peer sip flow

Basic Call Flow – SIP Key terms used in SIP: It is important to familiarize with these terms in order to understand basic SIP call flow. Here are few of them: Call flow: It’s a flow diagram of SIP messages — shows an ideal way how a media session carried over two endpoints. Its a … Read more

An Operating System for the Future

There is an old, so-far-unfulfilled prophecy about “the Year of the Linux Desktop.” Many have predicted that Linux would eventually replace Windows as the de-facto desktop OS, but so far it hasn’t happened. Might things be changing? Could the long-awaited “Year” finally be here? Linux is not about market share, but just plain sharing. To … Read more

SIP : Session Initiation Protocol

sip_layers

SIP : Session Initiation Protocol Session Initiation Protocol (SIP) is one of the most common protocols used in VoIP technology. It is an application layer protocol that works in conjunction with other application layer protocols to control multimedia communication sessions over the Internet. SIP Endpoint Communication What is VoIP Technology Before moving further, let us … Read more

SIP – Headers

sip header

SIP – Headers A header is a component of a SIP message that conveys information about the message. It is structured as a sequence of header fields. SIP header fields in most cases follow the same rules as HTTP header fields. Header fields are defined as Header: field, where Header is used to represent the header … Read more

C program to Change the Text Background Color

C program to Change the Text Background Color

C program to Change the Text Background Color Few important points regarding this program are: SetConsoleTextAttribute: Sets the attributes of characters written to the console screen buffer by the WriteFile or WriteConsole function, or echoed by the ReadFile or ReadConsole function. This function affects text written after the function call. Syntax: BOOL WINAPI SetConsoleTextAttribute(_In_ HANDLE hConsoleOutput , _In_ WORD wAttributes); Below is the … Read more

C Program to create a Menu Driven software using Switch Case

switch case flow chart

C Program to create a Menu Driven software using Switch Case #include<stdio.h> int main() { printf(“\n\n\t\tMenu driven program in c\n\n\n”); int choice, num, i; unsigned long int fact; while(1) { printf(“1. Factorial \n”); printf(“2. Prime\n”); printf(“3. Odd\\Even\n”); printf(“4. Exit\n\n\n”); printf(“Enter your choice : “); scanf(“%d”,&choice); switch(choice) { case 1: printf(“Enter number:\n”); scanf(“%d”, &num); fact = … Read more

C Program to Shutdown Linux OS

shutdown program in c

C Program to Shutdown Linux OS In this program : You need to be logged in as user for above program to execute otherwise you will get the message shutdown: “Need to be root”. ‘-P’ option specifies you want to power off your machine. You can specify minutes as: shutdown -P “number of minutes” Let see the below program #include<stdio.h> #include<stdlib.h> … Read more