How to broadcast a message in windows:
The service used for this is called messenger. you need to make sure the service is up and ready. The command that is used is net send
Continue reading
The service used for this is called messenger. you need to make sure the service is up and ready. The command that is used is net send
Continue reading
Here is a customized chanspy. It first asks for the password and then the extension number you want to monitor.
[ext-local-custom]
exten => *779,1,AGI(testAgi.php)
exten => *779,n,hangup
Bellow I show a simple example:
Continue reading
Bellow is an AGI sample to convert currency using a web service:
Step 1) create an extension in /etc/asterisk/extensions_custom.conf
[ext-local-custom]
exten => *777,1,AGI(currency.php)
exten => *777,n,hangup()
Step 2) Create currency.php in /var/lib/asterisk/agi-bin
#!/usr/bin/php -q
answer();
//fetch the web service and store the result into $curr
$fromCurrency="USD";
$toCurrency="MYR";
$res=file_get_contents("http://www.webservicex.com/CurrencyConvertor.asmx/ConversionRate?FromCurrency=$fromCurrency&ToCurrency=$toCurrency");
$xml = new SimpleXMLElement($res);
$curr=$xml[0];
$agi->text2wav("Currency rate from $fromCurrency to $toCurrency is");
$agi->say_number($curr);
$agi->text2wav("Thank you");
$agi->hangup();
?>
This brief tutorial will show you how to install Google Chrome (Chromium) in Ubuntu lucid or Maverick via PPA. Installing programs via Ubuntu PPA allows for automatic updates, upgrades and maintenance. If you’re currently using Google Chrome in Windows and want the same for your Ubuntu machine, then this tutorial should help you get there.
Bulk extension is a fabulous module to mass edit extensions. It’s a lot more useful than the in built export/import extensions in Elastix.
Here is the way to install: