We have recently used Digium gateway as alternative to other existing PRI interfaces and it’s been working like a charm. However, we had a client who needed to monitor the PRI connections and send an email alert whenever the PRI go down. Back then we had no issue with PRI PCI cards as we had access to DAHDI and could simply write a daemon to monitor “pri show spans”. With this gateway however, we cannot do it as simple as that as we have no access to the PRI and there is no SNMP tool whatsoever. The way I could think of was to push the syslog to Asterisk server and parse the syslog looking for anything suspicious. Now here is how I worked that out:
We had a coursework recently which required us to come up with a twitter-like web application in which people can register and write post, read other users’ posts as well as leaving replies to those posts. I have uploaded this application here.
Note: It works best under Firefox or Chrome. IE doesn’t support most of the features included.
Recently I had a customer who wanted to push all VoiceMail voice files into a table in MSSQL database. After going through a lot of searching and trying I managed to get it running like this:
Having searched for quite a long while, here is how I figured out the way to connect to a Microsoft SQL server from Linux using PHP mssql extension module. (Thanks to Danne Lundqvist)
Here is the Asterisk AGI to play Farsi numbers. The script is meant to play numbers as big as 1000, so for bigger numbers you need to do some simple modifications.
regexxer is a nifty GUI search/replace tool featuring Perl-style regular expressions. If you need project-wide substitution and you’re tired of hacking sed command lines together, then you should definitely give it a try.
You can directly update password using the following method to update or change password for user vivek:
1) Login to mysql server, type the following command at shell prompt:
$ mysql -u root -p