install asterisk 14 on CentOS 7

asterisk

install asterisk 14 on CentOS 7 Step 1: Disable SELINUX Modify /etc/sysconfig/selinux file, change SELINUX to disable and restart server. # vi /etc/sysconfig/selinux Change SELINUX=disabled Step 2: Update system: #yum update Step 3: Installing Required Packages: # yum install gcc gcc-c++ php-xml php php-mysql php-pear php-mbstring mariadb-devel mariadb-server mariadb sqlite-devel lynx bison gmime-devel psmisc tftp-server httpd make ncurses-devel … Read more

SRTP (Secure Real-Time Transport Protocol or Secure RTP)

SRTP (Secure Real-Time Transport Protocol or Secure RTP) An “internet” is a network of networks, possibly consisting of many different link types such as Ethernet and Wi-Fi. These networks support electronic mail, web browsing, and other Internet Protocol (IP) applications. More complex than IP networks alone, Internet telephony networks carry voice, fax, modem, and other … Read more

Egg Game Program in C Langauage

C Programming Tutorial

Egg Game Program in C Langauage   #include<dos.h> #include<graphics.h> #include<stdio.h> #include<conio.h> #include<process.h> #include<dos.h> #include<stdlib.h> #include<iostream.h> union REGS i,o; main() { int initmouse(); int restrictmouseptr(int,int,int,int); int getmousepos(int *,int *,int *); int showmouseptr(); int gd=DETECT,gm,maxx,maxy,x,y,button; initgraph(&gd,&gm,””); int count=0; maxx=getmaxx(); maxy=getmaxy(); setbkcolor(1); setviewport(0,0,maxx,maxy,1); gotoxy(26,1); if(initmouse()==0) { closegraph(); restorecrtmode(); //to go back to normal graphics mode or deleting viewport. … Read more

Clear space on an overstuffed Android device

free-up-storage-space-android

Clear space on an overstuffed Android device You can quickly clear out hundreds of megabytes or even a gig or two by sweeping up stale downloads, rooting out offline maps and documents, clearing caches, and wiping unneeded music and video files.   1. Clear out all cached app data If you dig into the Apps … Read more

Download HeidiSQL

Download HeidiSQL   Installer, 32/64 bit combined Portable version (zipped): 32 bit , 64 bit Microsoft Store App, 32 bit Sourcecode   HeidiSQL runs fine on Windows XP, Vista, 7, 8 and 10. Running on Wine requires to override Wine’s builtin Direct2D library with the native one. Previous installers can be downloaded here.     HeidiSQL is a useful and … Read more

CONNECT : Asterisk queue event

asterisk

CONNECT : Asterisk queue event Event and their associated information CONNECT(holdtime|bridgedchanneluniqueid) The caller was connected to an agent. Hold time represents the amount of time the caller was on hold. The bridged channel unique ID contains the unique ID of the queue member channel that is taking the call. This is useful when trying to … Read more

COMPLETECALLER : Asterisk queue event

asterisk

COMPLETECALLER : Asterisk queue event Event and their associated information COMPLETECALLER(holdtime|calltime|origposition) The caller was connected to an agent, and the call was terminated normally by the *caller*. The caller’s hold time and the length of the call are both recorded. The caller’s original position in the queue is recorded in origposition.  

COMPLETEAGENT : Asterisk queue event

asterisk

COMPLETEAGENT : Asterisk queue event   Event and their associated information COMPLETEAGENT(holdtime|calltime|origposition) The caller was connected to an agent, and the call was terminated normally by the *agent*. The caller’s hold time and the length of the call are both recorded. The caller’s original position in the queue is recorded in origposition.  

ABANDON : Asterisk queue event

asterisk

ABANDON : Asterisk queue event   Event and their associated information ABANDON(position|origposition|waittime) The caller abandoned their position in the queue. The position is the caller’s position in the queue when they hungup, the origposition is the original position the caller was when they first entered the queue, and the waittime is how long the call … Read more

refresh an iframe in php page

php left trim function

refresh an iframe in php page   <script type=”text/javascript”> var timer; function refreshIframe(){ if(timer) clearInterval(timer) timer = setTimeout(refreshIframe,5000) var iframe = document.getElementById(‘iframe’); iframe.src=’http://blog.eduguru.in’; } refreshIframe(); </script> <iframe id=”iframe” src=”http://blog.eduguru.in” width=”100%” height=”300″> <p>Your browser does not support iframes.</p> </iframe>