Pattern Matching(Asterisk)

Pattern Matching If we want to be able to allow people to dial through Asterisk and have Asterisk connect them to outside resources, we need a way to match on any possible phone number that the caller might dial. For situations like this, Asterisk offers pattern matching. Pattern matching allows you to create one extension … Read more

Building an Interactive Dialplan(ASTERISK)

Building an Interactive Dialplan The dialplan we just built was static; it will always perform the same actions on every call. Many dialplans will also need logic to perform different actions based on inputfrom the user, so let’s take a look at that now. The Goto(), Background(), and WaitExten() Applications As its name implies, the … Read more

A Simple Dialplan(ASTERISK)

“A Simple Dialplan” Open up the file /etc/asterisk/extensions.conf, and let’s take a look at your first dialplan. Hello World In the first priority of our extension, we answer the call. In the second, we play a sound file named hello-world, and in the third we hang up the call. The code we are interested in … Read more

DIALPLAN BASIC(ASTERISK)

—————————-DIALPLAN BASICS————————– The dialplan is the heart of your Asterisk system. Asterisk system defines how calls flow into and out of the system. A form of scripting language, the dialplan contains instructions that Asterisk follows in response to external triggers. In contrast to traditional phone systems, Asterisk’s dialplan is fully customizable. ——-Dialplan Syntax——– The Asterisk … Read more

C program to print map of India [ C Tutorials ]

The string is a run-length encoding of the map of India. Alternating characters in the string stores how many times to draw a space, and how many times to draw an exclamation mark consecutively.

// C program to print map of India
#include <stdio.h>

int main()
{
int a = 10, b = 0, c = 10;

// The encoded string after removing first 31 characters
// Its individual characters determine how many spaces
// or exclamation marks to draw consecutively.
char* str = “TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq ”
“TNn*RPn/QPbEWS_JSWQAIJO^NBELPeHBFHT}TnALVlBL”
“OFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXyT|S~Pn SPm ”
“SOn TNn ULo0ULo#ULo-WHq!WFs XDt!”;

while (a != 0)
{
// read each character of encoded string
a = str[b++];
while (a– > 64)
{
if (++c == 90) // ‘Z’ is 90 in ascii
{
// reset c to 10 when the end of line is reached
c = 10;     // ‘\n’ is 10 in ascii

// print newline
putchar(‘\n’); // or putchar(c);
}
else
{
// draw the appropriate character
// depending on whether b is even or odd
if (b % 2 == 0)
putchar(‘!’);
else
putchar(‘ ‘);
}
}
}

return 0;
}

IGNOU BCA BCSL-022 Assembly Language Programming Lab 2019-2020 pdf Assignment Download

ignou

IGNOU BCA BCSL-022 Assembly Language Programming Lab 2019-2020 pdf Assignment Download   BCSL-022 Assembly Language Programming Lab  IGNOU BCA BCSL-022 Assembly Language Programming Lab 2019-2020 pdf Assignment Download      

IGNOU BCA BCSL-021 C Language Programming 2019-2020 pdf Assignment Download

ignou

IGNOU BCA BCSL-021 C Language Programming 2019-2020 pdf Assignment Download   BCSL-021 C Language Programming  IGNOU BCA BCSL-021 C Language Programming 2019-2020 pdf Assignment Download  

Laravel “Framework” Basic Task List Tutorial

Basic Task List Introduction Installation Prepping The Database Database Migrations Eloquent Models Routing Stubbing The Routes Displaying A View Building Layouts & Views Defining The Layout Defining The Child View Adding Tasks Validation Creating The Task Displaying Existing Tasks Deleting Tasks Adding The Delete Button Deleting The Task Introduction This quickstart guide provides a basic … Read more

Laravel “Framework” Installation

Install Composer Laravel utilizes Composer to manage its dependencies. First, download a copy of the composer.phar. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system. On Windows, you can use the Composer Windows installer. Install Laravel Via … Read more

7000 startups and 10 unicorns in the region alone.

Delhi Emerges As Largest Startup Ecosystem In India: Report Delhi has emerged to be the largest startup ecosystem in the country. The current cumulative private market value of the startups in Delhi stands at $50 billion, higher than that of Bangalore and Mumbai. The report ‘ Turbocharging Delhi-NCR Startup Ecosystem’ which was released by TiE … Read more