Asterisk
Differences Between HTTP Servlets and SIP Servlets
SIP servlets differ from typical HTTP servlets used in web applications in the following ways: HTTP servlets have a particular context (called the context-root) in which they run, while SIP servlets have no context. HTTP servlets typically return HTML pages to the requesting client, while SIP servlets typically connect SIP-enabled clients to enable telecommunications between … Read more
SIP Vs SS7 Protocal : SIP and SS7
Session Initiation Protocol (SIP) and Signaling System 7 (SS7), both are the common protocols used for transmitting voice across networks. Session Initiation Protocol (SIP) is a protocol developed by IETF MMUSIC Working Group and proposed standard for initiating, modifying, and terminating an interactive user session that involves multimedia elements such as video, voice, instant messaging, … Read more
Better SIP Security on Asterisk: How To Secure Asterisk
Seven Easy Steps to Better SIP Security on Asterisk: 1) Don’t accept SIP authentication requests from all IP addresses. Use the “permit=” and “deny=” lines in sip.conf to only allow a reasonable subset of IP addresess to reach each listed extension/user in your sip.conf file. Even if you accept inbound calls from “anywhere” (via [default]) … Read more
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib /mysql/mysql.sock’ (2)
I tried the following steps: Log in as super user or use sudo Open /etc/mysql/my.cnf using gedit Check the all the configuration Find bind-address, and change its value to the database server host machine’s IP address. For me, it was localhost or 127.0.0.1 Save and close the file. Come back to terminal and execute sudo … Read more
Asterisk DialStatus Channel Varriable
Asterisk channel variable DIALSTATUS Contains a text string signifying result of the last dial attempt: ANSWER: Call is answered. A successful dial. The caller reached the callee. BUSY: Busy signal. The dial command reached its number but the number is busy. NOANSWER: No answer. The dial command reached its number, the number rang for too … Read more
Asterisk cmd MYSQL
This is an ADD-ON of asterisk, is not installed by default and must be downloaded and installed with the asterisk-addons package. However, in Asterisk 1.8 the addons have been integrated back into Asterisk. MYSQL(): Basic MYSQL Database Functionality (note that the help information returned from ‘show application MYSQL’ is a little misleading – what’s shown … Read more