<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C0IAQ3k-fyp7ImA9WhRUF00.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724</id><updated>2012-01-28T05:59:02.757+08:00</updated><category term="Vista" /><category term="Opinion" /><category term="At-home" /><category term="Blackberry" /><category term="MAUG" /><category term="Groupies" /><category term="Chrome" /><category term="Alerts" /><category term="Exchange" /><category term="ISA" /><category term="Asterisk" /><category term="Not News Worthy News" /><category term="Internet Explorer" /><category term="Product Review" /><category term="What the?" /><category term="Windows 2008" /><category term="Vulnerabilities" /><category term="Virtualization" /><category term="Security" /><category term="Nagios" /><category term="Tips and Tricks" /><category term="Fun Sites" /><category term="AtOffice" /><category term="Windows 7" /><title>SANJAY WILLIE'S Human Language Technology</title><subtitle type="html">Postings, comments and etc by Sanjay Willie Stephan from Intuittech Sdn Bhd</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://highsecurity.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>211</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/IwhnZ" /><feedburner:info uri="blogspot/iwhnz" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;Ck8ESHYyfSp7ImA9WhRRGE4.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-3409097102519180339</id><published>2011-12-02T20:28:00.001+08:00</published><updated>2011-12-02T21:00:09.895+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-02T21:00:09.895+08:00</app:edited><title>How to explain Nagios to grandma</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xh9LzQQ-4al4VMqMTXwvEUbkNgM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xh9LzQQ-4al4VMqMTXwvEUbkNgM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xh9LzQQ-4al4VMqMTXwvEUbkNgM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xh9LzQQ-4al4VMqMTXwvEUbkNgM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;So I visited grandma couple of days back and while talking about work and politics and all, she asked, so what’s this Nagios thing you guys are experts at?&lt;/p&gt; &lt;p&gt;I replied, its an “Enterprise Monitoring Solution” and she went like “Enterprise what now….”, and that actually got me thinking deep (something that i rarely do).&lt;/p&gt; &lt;p&gt;So anyway, to answer gramps pressing question, I gave this analogy.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Take for example a car&lt;/p&gt; &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t2.gstatic.com/images?q=tbn:ANd9GcQ6zWQvOivBBDNYqxIZrEiysgv4AOqb8XthU4d3_EgkBN7IqMFX"&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;One thing cars these days come with are essential gauges to let us know what’s going on inside this technically complex electrical and mechanical marvel. This is called a dashboard.&lt;/p&gt; &lt;p&gt;So dashboards in a car gives us all these really cool information; and while cool, they’re also very essential for the well being and running of that car.&lt;/p&gt; &lt;p&gt;&lt;img src="http://t1.gstatic.com/images?q=tbn:ANd9GcQbSdL3Wc1R90LfW0bFhOZY4pkoAPfmBTroOwf6VG4r-JLnzP49" width="379" height="217"&gt;&lt;/p&gt; &lt;p&gt;Most modern cars, you can tell the fuel levels, battery status, gear status, hand breaks statuses and what not. All essential right? And some more expensive cars like beamers, will even tell you that you’re due for a service soon!. Now, like many of us, the first thing I do when I power up my baby is to check this dashboard and see all that’s going on and when things are fine, engage gear, pull down that windscreen and breathe all the lovely smog from Kuala Lumpur air. {deep chesty cough x 2}&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Now here’s where it gets difficult, lets take the challenge of watching over 10, or 100 or even 1000 cars all at the same time and to know at point in time and accuracy if one of these babies of yours isn’t behaving properly. While its possible to do one at a time but sometimes, it may be too late before you reach car no 99 to know that the battery has been completely discharged. Ouch!..can’t use that car until it gets fixed now… :-(&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;img src="http://t2.gstatic.com/images?q=tbn:ANd9GcRqxqqoGPCw3qFj2BoiaqhWqsed0KBzytnKVtWq-25zBOCVK56n"&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Fear not car lover, here’s where Nagios comes to play. It is designed in such a way, doesn’t matter which type of car you drive and how the dashboard works, if it is in that dashboard, we can take all the important status information and put them in an easy to use web page for all those cars you manage. &lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Not only that, when a car reaches a fuel level of less than 10% (or anything you think its important to know about before it goes bonkers), Nagios can.. &lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;a) email you&lt;br&gt; b) send you smses &lt;br&gt;c) call you &lt;br&gt;d) put up a message on facebook for you &lt;br&gt;e) set an appointment with you mechanic&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;And there ya go, she got it, and thereafter, she went back straight to her room to sleep. But I knew she understood, I do….&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;u&gt;Now back in geek-land…&lt;/u&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Imagine those cars as servers, devices, applications/software, virtual or cloud infrastructure and what not. Each of these in some small or elaborate way have their own “dashboards” that come in a form of a simple log entry to a popups on your device saying something is wrong and what not. Again, to manage just this one, perhaps its very fine. But imagine managing hundreds, on top of that, a single server can potentially host tens of important apps, making it alone “a lot” to monitor.&lt;/p&gt; &lt;p&gt;The cool thing about Nagios is, you can really literally monitor whatever that server/apps/device&amp;nbsp; shows you, &lt;strong&gt;&lt;em&gt;&lt;u&gt;no gimmicks no joke&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;..Monitor just about any type of hardware, OS, application and of a bare minimum, a plain ole log file!&lt;/p&gt; &lt;p&gt;Give it a try and see the power of Nagios for yourself.&lt;/p&gt; &lt;p&gt;Happy weekend.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-3409097102519180339?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/XKEWuA3HnZo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/3409097102519180339/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=3409097102519180339&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/3409097102519180339?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/3409097102519180339?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/XKEWuA3HnZo/how-to-explain-nagios-to-grandma.html" title="How to explain Nagios to grandma" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/12/how-to-explain-nagios-to-grandma.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQMSHc9cCp7ImA9WhRRFko.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-5047804917966755383</id><published>2011-12-01T00:10:00.001+08:00</published><updated>2011-12-01T00:26:29.968+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-01T00:26:29.968+08:00</app:edited><title>Celebrity Top 7 Asterisk Related Products &amp; Solutions</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wZPRAY7YVSMplDhuBGo8Fhli4GY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wZPRAY7YVSMplDhuBGo8Fhli4GY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wZPRAY7YVSMplDhuBGo8Fhli4GY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wZPRAY7YVSMplDhuBGo8Fhli4GY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Asterisk, the world leading Open Source &lt;strong&gt;&lt;u&gt;complete IPPBX based system has got the world talking&lt;/u&gt;&lt;/strong&gt;. With thousands of features and growing at an almost exponential rate, it comes as no surprise, it is widely used everywhere you can put your finger on that Atlas…like in organizations, government bodies, NGOs, schools, universities and just about all open source and IPPBX enthusiasts out there. Here’s some of the top apps and solutions chosen by your friendly and techy celebs for you to understand types of solutions and products Asterisk can have. These are merely a tiny number, but are game changing and significantly changing the world of PBXes even as we read this! Enjoy!&lt;/p&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="616"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="296"&gt;&lt;em&gt;&lt;br&gt;&lt;img src="http://t2.gstatic.com/images?q=tbn:ANd9GcSQFLVASeaRolv9rKVew8y8eyt2JxRCLfjsmAHCPFe72M4iXMWb" width="103" height="137"&gt;&lt;/em&gt;&lt;/td&gt; &lt;td valign="top" width="318"&gt;&lt;em&gt;&lt;strong&gt;&lt;font size="5"&gt;FreePBX&lt;/font&gt;&lt;/strong&gt;&lt;br&gt;FreePBX yo is my first application around Asterisk systems that comes to mind. I mean, compared to my old PBX, I’d pay a couple of hundreds of bucks just to create a new voicemail. With FreePBX, I just pop open my laptop and browser and I’m done in a few seconds. Seriously, &lt;strong&gt;hundreds of features, modules and applications, this is the ultimate tool to provision, manage and maintaining my Asterisk &lt;/strong&gt;box at home.&lt;br&gt;&lt;br&gt;&lt;/em&gt;Will Smith&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="296"&gt;&lt;em&gt;&lt;strong&gt;&lt;font size="5"&gt;Digium Hardware&lt;/font&gt;&lt;/strong&gt;&lt;br&gt;My vote is Digium cards, hands down. Takes mere minutes to set up and I’ve got PRI and analog connections through plug and play. I setup a whole Asterisk system with just a small guide and&lt;strong&gt; got it up and running in less than 2 hours&lt;/strong&gt;. Now the entire office uses it and we’ve had no problems for over 4 years and counting. Loving it…&lt;br&gt;&lt;br&gt;&lt;/em&gt;Will Farrell &lt;/td&gt; &lt;td valign="top" width="318"&gt;&lt;img src="http://t1.gstatic.com/images?q=tbn:ANd9GcTtS8K2VDHQiT13fDyxccqY4TQe9hF99qQfRddvhPb6SC4iVAnkgg" width="96" height="129"&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="296"&gt;&lt;img src="http://t3.gstatic.com/images?q=tbn:ANd9GcQoT4y67lIClgocZyFt0gy9FeL1PttOnD44oiOW2_kPqIAUUyC3" width="97" height="139"&gt;&lt;/td&gt; &lt;td valign="top" width="318"&gt;&lt;em&gt;&lt;/em&gt;&lt;em&gt;&lt;strong&gt;&lt;font size="5"&gt;AvantFax&lt;/font&gt;&lt;/strong&gt;&lt;br&gt;Wo, you got me a tough one, they all are fine pieces of work but if you put a schioppi on me, I’d put my money on Avantfax. Faxing through Asterisk and free. Can’t get any better, with its &lt;strong&gt;intuitive web UI and easy to use inbound and outbound faxing, saving my peeps money&lt;/strong&gt;,….{deep intake of cigarette} this is the stuff I tell ya!&lt;br&gt;&lt;br&gt;&lt;/em&gt;Al-Pacino&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="296"&gt;&lt;em&gt;&lt;/em&gt;&lt;em&gt;&lt;strong&gt;&lt;font size="5"&gt;DRBD &amp;amp; Heartbeat&lt;/font&gt;&lt;/strong&gt;&lt;br&gt;Thanks darlin’ for asking. I have to go with DRBD and Heartbeat, yep. With my busy schedule and appointments made through Asterisk Voicemails, I cannot afford downtime. I’d say setup an Asterisk cluster just like that with DRBD and Heartbeat &lt;strong&gt;with just about any type of standard off the shelf hardware, you’ve got a maintenance free, robust and frisky quick redundant and resilient PBX system&lt;/strong&gt;!. Love &amp;lt;3&lt;br&gt;&lt;br&gt;&lt;/em&gt;Your Foxy gal. xxx &lt;/td&gt; &lt;td valign="top" width="318"&gt;&lt;img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBhQSERUTEhQWFBUVFBcYGBgXFxcVFRQTGBUYGBgUFxYXHCYeFxkjGhcYHy8gIycpLCwsFR4xNzAsNSYrLCkBCQoKDgwOGA8PFykcHB8sLCkpKSkpLCwsKSkpLCkpKSkpLCwsKSkpKSkpKSkpLCwsLCkpKSwpLCkpLCkpKSkpLP/AABEIAOEA4QMBIgACEQEDEQH/xAAcAAABBAMBAAAAAAAAAAAAAAAABAUGBwECAwj/xABEEAABAwEEBggDBgQFAwUAAAABAAIRAwQFITEGEkFRYXETIoGRobHB8Acy0SNCUmJy4RQzsvE0gpKisyTC0ggVY3N0/8QAGQEAAwEBAQAAAAAAAAAAAAAAAAIDAQQF/8QAIxEBAQACAgMBAAIDAQAAAAAAAAECESExAxJBMiJRQmGBE//aAAwDAQACEQMRAD8Au9CEIAQhCAEIQgBCEIATVfukNKys1nnH7rR8zj6DjktdJdImWSkXuxccGN2ud9FS+kOkTnPL6jtao7ZsYPezYkyy+Q0hy0m0xqVpL3FrdlNpI7954nwUUrWouxecNjRgB2pBVteOsTJOzd+64CtrZ5DE+9pWabs4OtuG5uwDMncOK5vth2925Iqlog457B+H91xdVji7M7gjQ2daNtO/6n6JZ/EEtM49vrIUfbWIz7ozXalbdU448Pqdi3Q261LwLHQZ3479+BKX2O/i3ETgfY3BaGiK7HECXASABiYzgR4prpO1cHZ+9xRobTm69LajXAtI37OO4yrG0e+IFOrDKw1HfizaeZ2KjbPaQM/Kc+9Pdhto58veCXem629ENdOIyWVW2h2l/RkU3u1qZ3/NTP04Kx2PBEgyDkd4TzLZLNNkIQmYEIQgBCEIAQhCAEIQgBCEIAQhCAElvK8G0KTqrzDWiT6AcSUqKrLT+/OlrdED9lREug4Pq5EcQMv9XBLldQ2M3UY0m0idVqOqv+YjqN/A3YOB/dQS02qSTMzt3nfy3JTfl56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8MbOG2Vo/wA3bJBPgp5c5SKTjGpnQ+UcvFdFhqyrIBCEIAQhCAEIQgIbpV/Np/rP/GUqvD+VTWEKOPddF/MR+1/4xn6T/UVKDs5jzKEIhc/hutPz0eR9VSnxN+cfrchCYIpTy7B5lKx/Ldz9ChCaFIr5+ftTY5ZQmLWjlsEIQVvR+YdnmFaehv3f00v+VCEmauC2tFf8Rav1UP8AiClW1CEQuTjZfl7SlKELWG3ST/B2j/8APW/43LyK/wCU/qHkUIQJ1Tjcv3eX0Xon4b/4Yf5v6lhCj/mt/gmX1WUIXQ5whCEAIQhACEIQH//Z" width="123" height="123"&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="296"&gt;&lt;img src="http://t0.gstatic.com/images?q=tbn:ANd9GcSQ_mIrzYXKo0zmuQ4Ko8b7wo5wuh-Q1zhDmOEFRY1ZbwjlwVSD" width="107" height="135"&gt;&lt;/td&gt; &lt;td valign="top" width="318"&gt;&lt;em&gt;&lt;/em&gt;&lt;em&gt;&lt;strong&gt;&lt;font size="5"&gt;Majuda&lt;/font&gt;&lt;/strong&gt;&lt;br&gt;Yes yes I invented it all but heck I couldn’t figure out call recording and how to make that work. Now with Majuda Enterprise Call Recording and Quality Management, I’ve got the whole call center under my watchful and hairy ears. No more hanky panky and its all serious business. &lt;strong&gt;Extremely cost effective, complies with full regulatory requirements, easy to use Web UI and works straight off with Asterisk&lt;/strong&gt;. You heard me dawg!…you got pw0ned!&lt;br&gt;&lt;br&gt;&lt;/em&gt;Alexander Graham Bell (The)&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="296"&gt;&lt;em&gt;&lt;strong&gt;&lt;font size="5"&gt;BigBlueButton&lt;/font&gt;&lt;/strong&gt;&lt;br&gt;Well I’d be dammed if no one put em BigBlueButton conferencing solution up here {spits tobacco}. Best &lt;strong&gt;conferencing for free integrated straight into Asterisk&lt;/strong&gt;, nuff said, now get my some hamburgers!&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/em&gt;Willie Nelson &lt;/td&gt; &lt;td valign="top" width="318"&gt;&lt;img src="http://t2.gstatic.com/images?q=tbn:ANd9GcTQMquhsJ86XQfkyykwCjAfPBRQMLFM0M-myd80sLAV-iHpPFbm" width="106" height="141"&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="296"&gt;&lt;img src="http://t3.gstatic.com/images?q=tbn:ANd9GcSNTVYHeJn_mTZPUmlQuZ6RKXE-OLWWt96DIxWGn2msq2P2FHl-3Q" width="107" height="161"&gt;&lt;/td&gt; &lt;td valign="top" width="318"&gt;&lt;em&gt;&lt;/em&gt;&lt;em&gt;&lt;strong&gt;&lt;font size="5"&gt;OpenFire IM&lt;/font&gt;&lt;/strong&gt;&lt;br&gt;I’m gonna go with OpenFire IM server. Keeps me connected through chat and voice through Asterisk with all my {nerdy} friends. &lt;strong&gt;It’s free, sets up in mere minutes and works with just about all Jabber clients (and a flash based web one). Managing this solution is a piece of cake, all through the WebUI&lt;/strong&gt;, click and kapawww!! …done.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/em&gt;Daniel Radcliff &lt;font size="2"&gt;(if you don’t know who he is and yes, its okay you’re normal, he’s the Harry Potter fella)&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="296"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="318"&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;font size="2"&gt;Disclaimer: &lt;br&gt;In no related or unrelated ways is this opinions or views of these awesome artists and celebrities, they are all made for fiction and for fun. These also do not represent Intuittech’s opinions or views on products and its merely preferences and for the purpose of education and information dissemination by the author for fun sake. Please don’t sue me, im not rich. Thanks.&lt;/font&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-5047804917966755383?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/vVE9TRqJ60A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/5047804917966755383/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=5047804917966755383&amp;isPopup=true" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/5047804917966755383?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/5047804917966755383?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/vVE9TRqJ60A/celebrity-top-7-asterisk-related.html" title="Celebrity Top 7 Asterisk Related Products &amp;amp; Solutions" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/12/celebrity-top-7-asterisk-related.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUACRX48eCp7ImA9WhRTEUs.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-4336819808135397615</id><published>2011-11-01T23:55:00.001+08:00</published><updated>2011-11-02T00:09:24.070+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-02T00:09:24.070+08:00</app:edited><title>Nagios Plugin–Advance Traceroute to check between two devices</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XSfR8umPMaRyx6G7_PIj9mv_4ok/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XSfR8umPMaRyx6G7_PIj9mv_4ok/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XSfR8umPMaRyx6G7_PIj9mv_4ok/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XSfR8umPMaRyx6G7_PIj9mv_4ok/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBhISERQUEBMVFRUWGBwaGBgYGBwfHRUfHR0XHB4eHBYaHCYfGhwjHRUcIC8gJCcrLCwsGB4xNTAqNSYsLCkBCQoKBQUFDQUFDSkYEhgpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKf/AABEIADwA8AMBIgACEQEDEQH/xAAcAAACAwEBAQEAAAAAAAAAAAAACAUGBwQDAgH/xAA/EAACAQMBBAcFBQcCBwAAAAABAgMABBEFBxIhMQYTQVFhcYEIIjKRsRRScqHBFSNCgpKy0ZPhFkNUYmPS8P/EABQBAQAAAAAAAAAAAAAAAAAAAAD/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwDaNTv1ghklf4Y0ZzjuUE/pWI33tKSFSILNVbsLyEgfygD61r3TNgNPu97l1En9ppNaBm9ku1J9U62K4VEmjAYbmQHU8DwJ4EHHzrSKSbTNUmt5BLbyNG68mU4NNHsq6fDU7QFyPtEWFlHf3OB3H65oPDahtQ/ZIiVIhLJLk4JwFUcMnHEkk1WOiftBrPcJDd24iWRgodGJCk8BvAjlntqA9pJj9stR2dSf7zWR27YdSO8fWgd+ivK0OUUn7o+gr5vb6OFC8zrGg5sxAA9TQe9FVFtrWkBt37bHnv8Aex88Yr4uNr2kJ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cYz81xU1o/tCX7TIslvDIGYDdQMGOTj3eJ4+lbtLo1u3xQxN5op+or4t9Ato2DR28KMOTLGoI8iBQdynIB5V+0UUBRRRQFFFFApO0jodPp97IHDdW7s8UnYwJzz+8M4NcmhbQdQtGDQXMn4WYsp81bIpuNQ02KdCk8aSIf4XUEfI1C2uzvTI230soA3fuZ/I5FAsvS7p7f6iE+1vlF4qqrurnvx2nxry6FdCrjUrhYoVbcyOskx7sa9pJ7+4U2d9oVtMm5NBE6fdZAQPLhwr103S4bdBHBGkaDkqAAflQfOjaVHbQRwRDCRqFX07fM867KKKAooooCiiigKKKKAooooCiiigKKKKD/9k="&gt;&lt;/p&gt; &lt;p&gt;We had to create a plugin to basically do the following&lt;/p&gt; &lt;p&gt;1) Do a typical traceroute from the Nagios box to a destination IP&lt;/p&gt; &lt;p&gt;2) Instead of calculating the time between the Nagios to Destination Host, we are interested to know the time between two host in between&lt;/p&gt; &lt;p&gt;&lt;br&gt;In other words, a typical traceroute will&lt;/p&gt; &lt;p&gt;NagionServer –&amp;gt; Gateway –&amp;gt; Hop 1 –&amp;gt; Hop 2 –&amp;gt; Hop 3 –&amp;gt; Destination&lt;/p&gt; &lt;p&gt;&lt;br&gt;What this plugin can do is when defined correctly, to check the time (in ms) between Hop 1 up until Hop 3, plot a graph and put up warning and critical values for your alerting.&lt;/p&gt; &lt;p&gt;Here’s the sample plugin, and relevant configuration files you probably need. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;NOTE: You may need to tweak for different&amp;nbsp; Oses other than Debian as this was created and tested with a Debian.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;The plugin&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;The plugin (place typically in /usr/local/nagios/libexec)&lt;/li&gt; &lt;li&gt;Paste below into a file say trace_time&lt;/li&gt; &lt;li&gt;Make sure it belongs to user &amp;lt;nagios&amp;gt; and has execution right; e.g.&lt;/li&gt; &lt;li&gt;chown nagios:nagios /usr/local/nagios/libexec/trace_time&lt;/li&gt; &lt;li&gt;chmod +X /usr/local/nagios/libexec/trace_time&lt;/li&gt;&lt;/ul&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="664"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="662"&gt; &lt;p&gt;#####START PLUGIN#####&lt;br&gt;#!/bin/bash&lt;br&gt;#&lt;br&gt;# usage&lt;br&gt;# ./trace-time &amp;lt;final-dest&amp;gt; &amp;lt;startip&amp;gt; &amp;lt;endip&amp;gt; &amp;lt;warning&amp;gt; &amp;lt;critical&amp;gt;&lt;br&gt;# Note: You must define all three, there's no error checking&lt;br&gt;# tip: do a traceroute first, then determine from which ip to which ip do you want to calculate. If&lt;br&gt;#&lt;br&gt;#&lt;br&gt;DEST=$1&lt;br&gt;IP1=$2&lt;br&gt;IP2=$3&lt;br&gt;WARNING=$4&lt;br&gt;CRITICAL=$5&lt;br&gt;PROG=`which traceroute`&lt;/p&gt; &lt;p&gt;if [[ $DEST == "" ]]; then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "UNKNOWN: No destination ip defined"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 3&lt;/p&gt; &lt;p&gt;fi&lt;/p&gt; &lt;p&gt;&lt;br&gt;if [[ $IP1 == "" ]]; then&lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "UNKNOWN: No start ip defined"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 3&lt;/p&gt; &lt;p&gt;fi&lt;/p&gt; &lt;p&gt;&lt;br&gt;if [[ $IP2 == "" ]]; then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IP2=$DEST&lt;br&gt;fi&lt;/p&gt; &lt;p&gt;if [[ $WARNING -eq "" ]]; then&lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "UNKNOWN: No warning value defined"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 3&lt;/p&gt; &lt;p&gt;fi&lt;/p&gt; &lt;p&gt;if [[ $CRITICAL == "" ]]; then&lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "UNKNOWN: No critical value defined"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 3&lt;/p&gt; &lt;p&gt;fi&lt;/p&gt; &lt;p&gt;&lt;br&gt;if [[ $WARNING&amp;nbsp; &amp;gt;&amp;nbsp; $CRITICAL ]]; then&lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "UNKNOWN: Warning value larger than critical value"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 3&lt;/p&gt; &lt;p&gt;fi&lt;br&gt;#&lt;br&gt;myepoch=`date +%s`&lt;br&gt;filename=/tmp/$myepoch.tmp.txt&lt;br&gt;tempfile=/tmp/$myepoch.output&lt;br&gt;#&lt;br&gt;/bin/touch $filename&lt;br&gt;/bin/touch $tempfile&lt;br&gt;#&lt;br&gt;/bin/chown nagios:nagios $filename&lt;br&gt;/bin/chown nagios:nagios $tempfile&lt;br&gt;#&lt;br&gt;#&lt;br&gt;getreading=`$PROG -n -q 1 $DEST &amp;gt; $tempfile`&lt;br&gt;#&lt;br&gt;numberip1=`cat $tempfile | grep ms | grep $IP1 | awk {'print $1'}`&lt;br&gt;numberip2=`cat $tempfile | grep ms | grep $IP2 | awk {'print $1'}`&lt;br&gt;#&lt;br&gt;#&lt;/p&gt; &lt;p&gt;for i in $(seq $numberip1 $numberip2)&lt;br&gt;do&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getms=`cat $tempfile | sed -e 's/^[ \t]*//' | grep ^$i |&amp;nbsp; awk {'print $3'}`&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo $getms &amp;gt;&amp;gt; $filename&lt;/p&gt; &lt;p&gt;done&lt;br&gt;#&lt;br&gt;startcalc=`awk '{s+=$0} END {print s}' $filename`&lt;br&gt;#&lt;br&gt;rm $filename&lt;br&gt;rm $tempfile&lt;br&gt;#&lt;br&gt;# OUTPUTS&lt;br&gt;#&lt;br&gt;grapher="$IP1--&amp;gt;$IP2"&lt;br&gt;#&lt;br&gt;if awk 'BEGIN{if(0+'$startcalc'&amp;gt;'$CRITICAL'+0)exit 0;exit 1}'&lt;br&gt;then&lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "CRITICAL($startcalc): Time exceed critical value|$grapher=$startcalc;$WARNING;$CRITICAL"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 2&lt;br&gt;fi&lt;/p&gt; &lt;p&gt;if awk 'BEGIN{if(0+'$startcalc'&amp;gt;'$WARNING'+0)exit 0;exit 1}'&lt;br&gt;then&lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "WARNING($startcalc): Time exceed warning value|$grapher=$startcalc;$WARNING;$CRITICAL"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 1&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "OK($startcalc): Time OK|'$grapher'=$startcalc;$WARNING;$CRITICAL;;"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 0&lt;/p&gt; &lt;p&gt;fi&lt;br&gt;#####END PLUGIN#####&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Nagios – Host.cfg&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="400"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="400"&gt; &lt;p&gt;define host{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debian5-linuxserver&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; host_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Google WWW server&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Tracing TimeHop Distances&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.175.105&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Nagios – commands.cfg&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="649"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="647"&gt; &lt;p&gt;define command{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; command_name&amp;nbsp;&amp;nbsp;&amp;nbsp; check_time_between_hosts&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; command_line&amp;nbsp;&amp;nbsp;&amp;nbsp; $USER1$/trace-time $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Nagios – services.cfg&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="647"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="645"&gt; &lt;p&gt;define service{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debian5-linuxservice&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; host_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Google WWW server&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; service_description&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Between IP 210.5.40.153 to 209.85.250.237&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; action_url&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /nagios/pnp/index.php?host=$HOSTNAME$&amp;amp;srv=$SERVICEDESC$&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; check_command&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; check_time_between_hosts!210.5.40.153!113.23.161.66!10!20&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;* Note, the template debian5-linuxservice and debian5-linuxserver is not default and you need to define one first or use the defaults&lt;/p&gt; &lt;p&gt;Now, just restart Nagios to make it work.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;More info&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In order for you to know the hop you wish to monitor, simply do a traceroute;&lt;/p&gt; &lt;p&gt;# &lt;font face="Courier New"&gt;traceroute -n -q 1 209.85.175.105&lt;/font&gt;&lt;br&gt;-n = Numeric output&lt;br&gt;- q 1= Only do a single query&lt;/p&gt; &lt;p&gt;In this example below, I am tracing to one of Google’s servers at 209.85.175.105, the output of the trace is like below (NOTE!: actual IPs have been changed)&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt; 1&amp;nbsp; 111.22.42.3&amp;nbsp; 0.554 ms&lt;br&gt; 2&amp;nbsp; 111.22.40.153&amp;nbsp; 0.667 ms&lt;br&gt; 3&amp;nbsp; 111.22.40.125&amp;nbsp; 1.026 ms&lt;br&gt; 4&amp;nbsp; 203.188.233.121&amp;nbsp; 1.218 ms&lt;br&gt; 5&amp;nbsp; 203.188.233.205&amp;nbsp; 1.488 ms&lt;br&gt; 6&amp;nbsp; 113.23.161.66&amp;nbsp; 1.627 ms&lt;br&gt; 7&amp;nbsp; 209.85.242.246&amp;nbsp; 1.542 ms&lt;br&gt; 8&amp;nbsp; 209.85.242.125&amp;nbsp; 2.322 ms&lt;br&gt; 9&amp;nbsp; 66.249.94.158&amp;nbsp; 3.075 ms&lt;br&gt;10&amp;nbsp; 209.85.175.105&amp;nbsp; 2.801 ms&lt;/font&gt;&lt;br&gt;&lt;/p&gt; &lt;p&gt;So lets say you wish to trace the time between IP 111.22.40.153 and IP113.23.161.66, simply use the plugin with these values on the CLI (to test);&lt;/p&gt; &lt;p&gt;#&lt;font face="Courier New"&gt; ./trace-time 209.85.175.105 111.2.40.153 113.23.161.66 10 20&lt;/font&gt;&lt;/p&gt; &lt;p&gt;And the output will look like this;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt;OK(5.909): Time OK|'111.22.40.153--&amp;gt;113.23.161.66'=5.909;10;20;;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;*Which is a typical output expected by Nagios with PNP graphing enabled&lt;/p&gt; &lt;p&gt;Graphs will look like this&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-geNirqi8UDE/TrAZA0AZ1II/AAAAAAAAAow/wXBr-Ue-psw/s1600-h/image%25255B9%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-XcGo0BwqQY8/TrAZCNdrM8I/AAAAAAAAAo4/-3oDs7aLVkA/image_thumb%25255B5%25255D.png?imgmax=800" width="470" height="470"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-4336819808135397615?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/wcyd9uBmYsM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/4336819808135397615/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=4336819808135397615&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/4336819808135397615?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/4336819808135397615?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/wcyd9uBmYsM/nagios-pluginadvance-traceroute-to.html" title="Nagios Plugin–Advance Traceroute to check between two devices" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/-XcGo0BwqQY8/TrAZCNdrM8I/AAAAAAAAAo4/-3oDs7aLVkA/s72-c/image_thumb%25255B5%25255D.png?imgmax=800" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/11/nagios-pluginadvance-traceroute-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4AR3g-fSp7ImA9WhdXFUk.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-949858830659183044</id><published>2011-08-28T22:49:00.001+08:00</published><updated>2011-08-28T22:49:06.655+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-28T22:49:06.655+08:00</app:edited><title>pfSense and TM Unifi</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8sbHy-amAKsNkcoSDz_RtIoE44Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8sbHy-amAKsNkcoSDz_RtIoE44Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8sbHy-amAKsNkcoSDz_RtIoE44Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8sbHy-amAKsNkcoSDz_RtIoE44Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" src="http://www.freebsdnews.net/wp-content/uploads/pfsense.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" src="http://www.vivr3.com/wp-content/uploads/2011/03/unifi.gif" width="187" height="74"&gt;&lt;/p&gt; &lt;p&gt;This is to show you how to enable pfSense 2.x and use TMNet’s Unifi.&lt;/p&gt; &lt;p&gt;Important to note that inorder to “dial” into Unifi, you must &lt;strong&gt;fire the PPPoE through a VLAN and those are VLAN 500&lt;/strong&gt; for your regular internet browsing and VLAN 600 for your Video. This guide is to setup basic internet using pfSense.&lt;/p&gt; &lt;p&gt;Assuming you are using at least&lt;strong&gt; 2 interfaces&lt;/strong&gt;, the &lt;strong&gt;LAN&lt;/strong&gt; (in this guide, eth0), which all your local networks (or regular users) are connected, the other interface is &lt;strong&gt;WAN&lt;/strong&gt; (in this guide, eth 1) which will be the one that will dial into Unifi. &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-ANFlrGwbQYI/TlpVRJMb_hI/AAAAAAAAAoA/tlmbfLv--lY/s1600-h/image%25255B5%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-BkeWF1Y2EqY/TlpVR47QIZI/AAAAAAAAAoE/UCJLQ8RVIZg/image_thumb%25255B3%25255D.png?imgmax=800" width="433" height="246"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Your LAN can be easily configured to any IP which you wish your users to connect to. This will typically be the gateway IP address for your users. The interface we will discuss here is the WAN interface. &lt;/p&gt; &lt;p&gt;So summary of the steps to get it working;&lt;/p&gt; &lt;p&gt;1) Define the WAN interface as null (or none)&lt;/p&gt; &lt;p&gt;2) Setup VLAN 500 and tie it to the WAN interface or eth1&lt;/p&gt; &lt;p&gt;3) Setup PPPoE inside VLAN interface&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;1) Defining WAN interface as null.&lt;/u&gt;&lt;/p&gt; &lt;p&gt;Simply go to WAN interface and set it up as none. Save it. Setup like below&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-Zq_gW4O9ht0/TlpVSc8fALI/AAAAAAAAAoI/nZ7cSLL9R94/s1600-h/image%25255B13%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-EEsQ2Io1-E8/TlpVS5vE1sI/AAAAAAAAAoM/ACMk9p_xHEM/image_thumb%25255B7%25255D.png?imgmax=800" width="297" height="171"&gt;&lt;/a&gt;&lt;/p&gt;   &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;2) Define a new interface:&lt;/u&gt;&lt;/p&gt; &lt;p&gt;On pfSense’s main menu, click on Interfaces and click on (assign). Click on VLANs. Select WAN (or eth1) as the parent interface. Inside VLAN tag, enter 500. Put a nice description, like VLAN-TMUnifi there if you so wish. Click on save.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-I9ZUr6Qkqfg/TlpVUR0PuUI/AAAAAAAAAoQ/pMFMHQ2QAhs/s1600-h/image%25255B21%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-Y8ptHuMVupE/TlpVU3MQfiI/AAAAAAAAAoU/-s1P8SocYzg/image_thumb%25255B13%25255D.png?imgmax=800" width="296" height="138"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;u&gt;3) Setup PPPoE on the VLANned interface:&lt;/u&gt;&lt;/p&gt; &lt;p&gt;Now, click on Interfaces again, click on (assign). Click on the + to add a new interface and select the newly created VLAN-TMUnifi. Notice the interface name that was created for you like OPT1 or OPT2. Click on interfaces again, select (and in this example), OPT1. Click to enable the interface. Under type, select PPPoE. Scroll down to the username and password part. Enter your username and password respectively.&lt;/p&gt; &lt;p&gt;You can also rename your interface as for example, from OPT1 to UNIFPPP (for example):&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-JhFXetrf0Ec/TlpVVvM9_uI/AAAAAAAAAoY/8spP_5HCWMc/s1600-h/image%25255B26%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-VCAKyG-B75M/TlpVWL-tE-I/AAAAAAAAAoc/pekQDv8mqEs/image_thumb%25255B16%25255D.png?imgmax=800" width="302" height="343"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Before you click on save, make sure you select, Block private and bogon networks. They should not pass through this interface (unlike interface LAN).&lt;/p&gt; &lt;p&gt;Now, once you’ve save, click on the blue S icon on the top right of the page. If all config such as username and password is correct, you should see the interface come up like below;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-PalscoNQXqs/TlpVWufLApI/AAAAAAAAAog/enhjFrWy4TE/s1600-h/image%25255B31%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-_EzTyvRLmf0/TlpVXdXDOxI/AAAAAAAAAok/l9-M5J1MeXA/image_thumb%25255B19%25255D.png?imgmax=800" width="298" height="245"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;If you have problems, click on, Status, click on System Log files then click on PPP. Any issues or errors will be shown there.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Once done, you need to setup gateways and routing correctly in order to route traffic over this new interface you just created and dialed.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-E7meQDAZC0Q/TlpVX3fuXUI/AAAAAAAAAoo/H3-sI41BaMg/s1600-h/image%25255B40%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-_HKbdE9Zi5c/TlpVYeg1XlI/AAAAAAAAAos/6EsDUnnJO9Q/image_thumb%25255B24%25255D.png?imgmax=800" width="375" height="77"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;You should set it up as default unless you have other gateways and such. Otherwise, setting it as default will quickly allow you to browse.&lt;/p&gt; &lt;p&gt;Well that’s it, also of course don’t forget to setup an allow rule from interface LAN to any (to begin with) and allow that connection. &lt;/p&gt; &lt;p&gt;If you need to allow incoming connections, select the UNIFPPP interface instead of WAN and setup your inbound rules there.&lt;/p&gt; &lt;p&gt;Enjoy pfSense and the speed of Unifi!&lt;/p&gt; &lt;p&gt;PS&amp;gt; If you are interested in our appliance, do write to &lt;a href="mailto:sales@intuit.my"&gt;sales@intuit.my&lt;/a&gt;. Should cost you around US250/box with 4G flash, enclosure, 3 NICs, 2 USB ports (can use for 3G usb modems etc).&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-949858830659183044?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/s7tz2MB2b0M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/949858830659183044/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=949858830659183044&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/949858830659183044?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/949858830659183044?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/s7tz2MB2b0M/pfsense-and-tm-unifi.html" title="pfSense and TM Unifi" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/-BkeWF1Y2EqY/TlpVR47QIZI/AAAAAAAAAoE/UCJLQ8RVIZg/s72-c/image_thumb%25255B3%25255D.png?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/08/pfsense-and-tm-unifi.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQGQnc_fip7ImA9WhdQEk4.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-3049282956167686973</id><published>2011-08-13T18:22:00.001+08:00</published><updated>2011-08-13T18:45:23.946+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-13T18:45:23.946+08:00</app:edited><title>Using Asterisk call files with FreePBX (using Local channel)</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-Dn6jjYtvyBChIE9AkFmFVGeBh0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-Dn6jjYtvyBChIE9AkFmFVGeBh0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-Dn6jjYtvyBChIE9AkFmFVGeBh0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-Dn6jjYtvyBChIE9AkFmFVGeBh0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Call files are perhaps one of the coolest things you can do with Asterisk. Just literally dump the file in a particular directory and voila, you can make a call. Past few days, I’ve been playing around with it quite a bit and would like to share some things with you on using the Local channel which is most beneficial since you may wish to take advantage of the dialplans and call flows defined in FreePBX (for instance).&lt;/p&gt; &lt;p&gt;Now, the Local channel does a lot such as checks if voicemail is enabled, call forwarding (follow-me) and other customization to the user’s account. It also would support the Device and User mode if that’s being used. The Local channel rather than using technology channels directly can help with several things again for example restrictions that may apply (context) for a particular user. Using channels like SIP/1000 and IAX/1000 will literally bypass all the good stuff that may have been setup.&lt;/p&gt; &lt;p&gt;In conjunction with asterisk call files e.g. .call. You can do lots! including lots of automation and what not just like how you would do using AMI or any AGI stuff if you know about them. Here I would like to show you how to take advantage of the Local channel in call files.&lt;/p&gt; &lt;p&gt;Channel: Local/2000@from-internal/n&lt;br&gt;CallerID: &amp;lt;0320355803&amp;gt;&lt;br&gt;MaxRetries: 0 &lt;br&gt;RetryTime: 1 &lt;br&gt;WaitTime: 10 &lt;br&gt;Context: from-internal&lt;br&gt;Extension: 20355800&lt;br&gt;Priority: 1&amp;nbsp; &lt;br&gt;Archive: no &lt;br&gt;Set: AMPUSER=2000&lt;/p&gt; &lt;p&gt;Now try modifying these above values to match your specific needs, e.g. channel 2000 is a user 2000 attached to device 1000, change that, change Extension to the destination you wish to bridge a call and here’s what’s important for device/user mode, you must specify the AMPUSER value otherwise, the macro-set-callerid will not be able to set right variables such as outbound CID for you since the Local/2000 will eventually be using SIP/1000 and SIP 1000 doesn’t really have anything more than just a connection agreement (username/password).&lt;/p&gt; &lt;p&gt;Create this file anywhere and then dump it into /var/spool/asterisk/outgoing and voila, you’ve got call.&lt;/p&gt; &lt;p&gt;Also, would like to share a script to automatically create and move files for you; note this will work with &lt;strong&gt;&lt;u&gt;FreePBX 2.8&lt;/u&gt;&lt;/strong&gt; or higher and &lt;strong&gt;&lt;u&gt;Asterisk 1.8.&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;1) nano /root/callgenerator.sh&lt;/p&gt; &lt;p&gt;2) Paste the script below&lt;/p&gt; &lt;p&gt;&lt;font color="#666666"&gt;#!/bin/bash&lt;br&gt;user=$1&lt;br&gt;dial=$2&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#666666"&gt;if [[ "$user" -eq "" ]]; then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "ERROR No User / Exten Defined"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 2&lt;br&gt;fi&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#666666"&gt;if [[ "$dial" -eq "" ]]; then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "ERROR No Number Specified"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 2&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;fi&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#666666"&gt;# get user/device&lt;br&gt;#&lt;br&gt;getdev=`/usr/sbin/asterisk -rx "database show" | grep $user | grep device | awk {'print $3'}`&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;br&gt;&lt;font color="#666666"&gt;# generate call file&lt;br&gt;mydate=`date +%d%m%y_%H%M%S`&lt;br&gt;filename="$mydate.U$user-D$dial.call"&lt;br&gt;#&lt;br&gt;# SUPPORT ONLY SIP&lt;br&gt;echo -e "Channel: Local/2000@from-internal/n&lt;br&gt;CallerID: &amp;lt;0320355803&amp;gt;&lt;br&gt;MaxRetries: 0 &lt;br&gt;RetryTime: 1 &lt;br&gt;WaitTime: 10 &lt;br&gt;Context: from-internal&lt;br&gt;Extension: 20355800&lt;br&gt;Priority: 1 &lt;br&gt;Archive: no &lt;br&gt;Set: AMPUSER=2000" &amp;gt; /var/spool/asterisk/$filename&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#666666"&gt;# Call now&lt;br&gt;# File ops&lt;br&gt;chown asterisk:asterisk /var/spool/asterisk/$filename&lt;br&gt;mv /var/spool/asterisk/$filename /var/spool/asterisk/outgoing/ &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br&gt;if [[ $? -ne 0 ]]; then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "ERROR Parsefile crashed"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 2&lt;br&gt;else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo Start calling..&lt;/font&gt;&lt;font color="#666666"&gt;&lt;br&gt;fi&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#666666"&gt;exit 0&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#000000"&gt;3) Make it executable chmod +x /root/callgenerator.sh&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#000000"&gt;Test it out like this &lt;font color="#666666"&gt;/root/callgenerator.sh 2000 920355800&lt;/font&gt; (where 2000 is the user’s phone that will first ring and once picked up, it will proceed with the other leg of the call i.e. 920355800, its important here to use from-internal otherwise, your dialplan routing and prefix handingling (in this case, the number 9) will not be stripped off when calling).&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-3049282956167686973?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/uLS3i4XH3HQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/3049282956167686973/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=3049282956167686973&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/3049282956167686973?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/3049282956167686973?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/uLS3i4XH3HQ/using-asterisk-call-files-with-freepbx.html" title="Using Asterisk call files with FreePBX (using Local channel)" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/08/using-asterisk-call-files-with-freepbx.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cMQX8yeSp7ImA9WhdRFE8.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-4762104502885885363</id><published>2011-08-04T10:24:00.001+08:00</published><updated>2011-08-04T10:31:20.191+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-04T10:31:20.191+08:00</app:edited><title>FreePBX IVR direct dial across multiple locations/asterisk servers/FreePBX servers</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xwJdH9TI6IbvBD-2bH450H_fXJE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xwJdH9TI6IbvBD-2bH450H_fXJE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xwJdH9TI6IbvBD-2bH450H_fXJE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xwJdH9TI6IbvBD-2bH450H_fXJE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://t2.gstatic.com/images?q=tbn:ANd9GcQA9OVnuePzkL_NfbqOn3vf6wSGwQcEN8L9Nvovm7IYzuJh-WL9" /&gt;&lt;/p&gt;  &lt;p&gt;Assuming you have 2 FreePBX servers across two location that are connected via a trunk and the trunk dialling &lt;strong&gt;does work fine&lt;/strong&gt;. Meaning you can already call SiteA and SiteB and vice-versa.&lt;/p&gt;  &lt;p&gt;SiteA: Extensions 1000 and on&lt;/p&gt;  &lt;p&gt;SiteB: Extensions 2000 and on&lt;/p&gt;  &lt;p&gt;With the default IVR context in FreePBX it’s limited to local numbers only (in this case SiteA extensions). Imagine if you had a PRI line coming into Site A and the IVR direct dial would then need to reach extensions on Site B, this will by default will not work.&lt;/p&gt;  &lt;p&gt;Here’s how to “extend” the IVR dialling to other locations. NOTE, we assume the outbound route doesn’t have a prefix to dial intersite between Site A or Site B.&lt;/p&gt;  &lt;p&gt;1) &lt;strong&gt;nano /etc/asterisk/extensions_custom.conf&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;2) Enter the following codes (here’s Site A IVR trying to reach site B)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;[from-did-direct-ivr-custom]     &lt;br /&gt;exten =&amp;gt; _2XXX,1,ExecIf($[&amp;quot;${BLKVM_OVERRIDE}&amp;quot; != &amp;quot;&amp;quot;]?Noop(Deleting: ${BLKVM_OVERRIDE}: ${DB_DELETE(${BLKVM_OVERRIDE})}))      &lt;br /&gt;exten =&amp;gt; _2XXX,n,Set(__NODEST=)      &lt;br /&gt;exten =&amp;gt; _2XXX,n,Goto(from-internal,${EXTEN},1)&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;#NOTE each line should start with exten like below, on single lines&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-Hfl6vI74FRA/TjoC8oNfk5I/AAAAAAAAAn4/Wt5YFO_YggQ/s1600-h/image%25255B7%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-NSe6_wHsNyo/TjoC9UwjMzI/AAAAAAAAAn8/6AB8IC_FZcA/image_thumb%25255B3%25255D.png?imgmax=800" width="581" height="62" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3) Save the file and reload the dialplan    &lt;br /&gt;&lt;strong&gt;asterisk –rx “dialplan reload”&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Lets say you use prefix 7 to dial site B from site A followed by the extension number. Just edit the part and as an example below;&lt;/p&gt;  &lt;p&gt;exten =&amp;gt; _2XXX,n,Goto(from-internal,&lt;strong&gt;&lt;u&gt;7&lt;/u&gt;&lt;/strong&gt;${EXTEN},1)&lt;/p&gt;  &lt;p&gt;Where 7 prefixes automatically is entered before the extension number.&lt;/p&gt;    &lt;p&gt;Have fun!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-4762104502885885363?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/uaPMseGZ5MU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/4762104502885885363/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=4762104502885885363&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/4762104502885885363?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/4762104502885885363?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/uaPMseGZ5MU/freepbx-ivr-dial-across-multiple.html" title="FreePBX IVR direct dial across multiple locations/asterisk servers/FreePBX servers" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/-NSe6_wHsNyo/TjoC9UwjMzI/AAAAAAAAAn8/6AB8IC_FZcA/s72-c/image_thumb%25255B3%25255D.png?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/08/freepbx-ivr-dial-across-multiple.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8BSXkycSp7ImA9WhdREU8.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-7973357681925953934</id><published>2011-07-31T22:26:00.001+08:00</published><updated>2011-07-31T22:34:18.799+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-31T22:34:18.799+08:00</app:edited><title>The 4th Cloud Service? – VoIP As a Service (VaaS)</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/E0_ojdux2U_68PzNmdeecA7_4Vs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E0_ojdux2U_68PzNmdeecA7_4Vs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/E0_ojdux2U_68PzNmdeecA7_4Vs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E0_ojdux2U_68PzNmdeecA7_4Vs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.freedomiq.com/blog/wp-content/uploads/2010/05/hosted-voip-pbx-cloud.jpg" width="160" height="151" /&gt;&lt;img alt="Green Telephone Clip Art" src="http://www.clker.com/cliparts/d/m/7/B/g/j/green-telephone-md.png" width="152" height="152" /&gt;&lt;/p&gt;  &lt;p&gt;This weekend, i had a chance to present to Microsoft guests at their office here in Malaysia about cloud computing and focusing my talk on &lt;strong&gt;cloud technology security.&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;It was clear after a while jiving with those techies and seeing their responses and also doing much research, this concept, the relevant technologies wrapped around and more importantly, enjoying &lt;strong&gt;unwavering support from some of the big boys&lt;/strong&gt; such as Google, Microsoft, Amazon, EMC, etc, one can easily deduce that the &lt;strong&gt;&lt;u&gt;{{CLOUD}} is here to stay&lt;/u&gt;. &lt;/strong&gt;This could mean a lot to consumers or business opportunists alike to ride on the wave (or as some may still insist, the hype)&lt;/p&gt;  &lt;p&gt;In the weekend while on the treadmill at the local gym i started think about one particular service and of course being Intuit’s core of 2 cores, Asterisk and VoIP and how it fits the 3 domains defined by the Cloud Security Alliance (CSA), and these are;&lt;/p&gt;  &lt;p&gt;1) Software as a service   &lt;br /&gt;2) Platform as a service    &lt;br /&gt;3) Infrastructure as a service&lt;/p&gt;  &lt;p&gt;Thinking about where would &lt;strong&gt;VoIP&lt;/strong&gt; sit, it becomes quite clear to me after while that it &lt;strong&gt;doesn’t really belong to those categories&lt;/strong&gt; (as far as I've understood them.) One would think it’s close to SaaS or Software as a service, but i beg to differ, Why?&lt;/p&gt;  &lt;p&gt;1) VoIP is software in code, true, but its &lt;strong&gt;not offered as one&lt;/strong&gt;, but rather a communication platform    &lt;br /&gt;2) Hosting VoIP is not the same as software,&lt;strong&gt; it breaks the boundaries of typical software&lt;/strong&gt; running on computers and basically runs on IP phones rather.    &lt;br /&gt;3) It &lt;strong&gt;can connect to other software&lt;/strong&gt; services to introduce Computer Telephony Integration or CTI to enrich one’s telephony experience &lt;strong&gt;but it in itself, isn’t one&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;Hosted PBX isn’t something new. Intuittech has done so for almost 4 years now and rebranded it as e-fon ( &lt;a href="http://www.efon.my"&gt;www.efon.my&lt;/a&gt; ). We find such application of technology to be quite exciting then and over the years, seeing almost no downtime or complains, we are now convinced that it’s a technology and offering that could really change the way we do PBXes..&lt;/p&gt;  &lt;p&gt;How has PBXes works for you currently and in the past.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-W2mnouOmc-k/TjVl9g80B5I/AAAAAAAAAng/W3OsJ349dV4/s1600-h/image%25255B5%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-cmM12rjigPc/TjVl-Sgd7sI/AAAAAAAAAnk/R33PqlEtRbc/image_thumb%25255B3%25255D.png?imgmax=800" width="492" height="226" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Typically it was like the above diagram&lt;/p&gt;  &lt;p&gt;1) Everything was at premise   &lt;br /&gt;2) Phones and servers communicated locally    &lt;br /&gt;3) Expansions were done as long as the PBX supports them    &lt;br /&gt;4) Most of the time, companies change their PBX when moving offices    &lt;br /&gt;5) Upgrades get done very sparingly as it can really blow a huge hole in the pocket&lt;/p&gt;  &lt;p&gt;Lets talk about web servers and company websites, I can imagine almost all small and medium sized companies host their websites with local providers and do not host them internally. &lt;strong&gt;The reason why they host their websites is quite obvious, it’s because the service and support was there and it was just paying a very affordable monthly fee. This is closely tied to the economics of scale. They run operations of hundreds of servers and buy and rent stuff in bulk. &lt;strong&gt;Imagine a Hosted PBX like your Website server.&lt;/strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This elevates the need for running local servers, hiring experts to setup and run it and not to forget the cost of running and maintaining such infrastructure. Also to think about disaster recovery and business continuity, &lt;strong&gt;while, we businesses should be thinking about making money obviously, and not maintaining PBXes like we didn’t maintain our websites.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Now, imagine if the same like websites, were to be offered as a service to you in regards of telecommunications or simply, a hosted PBX instead of an on premise one.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-n2bV5vEe2tY/TjVmKN9sByI/AAAAAAAAAnw/R0BSAH1nXao/s1600-h/image%25255B22%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-eSH9ir4DxtU/TjVmK4yj1cI/AAAAAAAAAn0/_I3u-ZnvaRw/image_thumb%25255B14%25255D.png?imgmax=800" width="366" height="441" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Here’s a sample provider, like Intuit (e-fon.my) can provide you. As an end user in a small and medium sized organization &lt;strong&gt;running your own onsite PBX is shortly becoming a thing of the past. Imagine again these infrastructures are now placed in cloud computing technology.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;First and foremost; hosting outside your premise and into services like e-fon can help &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1) Re-size on the fly     &lt;br /&gt;2) Gain mobility and do not lose your &amp;quot;favourite” phone numbers      &lt;br /&gt;3) It has all you need or even more than you can expect. (Economies of scale)      &lt;br /&gt;4) Its cheaper to have enterprise features, remember, the economies of scale! Make your organization sound like a multi-billion dollar setup (perception helps btw)      &lt;br /&gt;5) Connect to multiple types of Telcos that the PBX provider subscribes to and enjoy rates they enjoy as well      &lt;br /&gt;6) Connect to your other offices flawlessly if they use common protocols such as SIP or H323      &lt;br /&gt;7) Do not worry about upgrades as its done centrally      &lt;br /&gt;8) Use different types of phones or even free ones like softphones&lt;/strong&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Those you get with Hosted PBXes, i am sure or at least with e-fon you do. But here’s the kicker, with now cloud computing, e-fon gets hosted on cloud services. Not only you enjoy those highlighted list of benefits above, you also can enjoy that offered by putting stuff on cloud computing architecture such as;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1) Fabric on demand (CPU, disk, memory)     &lt;br /&gt;2) Auto and transparent redundancy      &lt;br /&gt;3) Strong network architecture and bandwidth      &lt;br /&gt;4) Probably more secure than if you ever had to put on premise      &lt;br /&gt;5) Ride on credible cloud providers for credible service offering&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;I can imagine in the next few years, this would be the “talk of town” per-se. Hosted PBX will be on just about all companies and hosting on premise even with a keyphone system isn’t attractive or make any sense anymore to business people. &lt;/strong&gt;Just like how hosting websites took a while before just about all friends and companies i know in the small and medium category of companies have their websites with a provider or in a cloud alike.     &lt;br /&gt;&lt;/p&gt;      &lt;p&gt;From the Intuittech Engineering Office…&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-7973357681925953934?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/lR9bSSlwO9I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/7973357681925953934/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=7973357681925953934&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/7973357681925953934?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/7973357681925953934?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/lR9bSSlwO9I/4th-cloud-service-voip-as-service-vaas.html" title="The 4th Cloud Service? – VoIP As a Service (VaaS)" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/-cmM12rjigPc/TjVl-Sgd7sI/AAAAAAAAAnk/R33PqlEtRbc/s72-c/image_thumb%25255B3%25255D.png?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/07/4th-cloud-service-voip-as-service-vaas.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYDR3YyeSp7ImA9WhZWEEk.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-1318088090843395331</id><published>2011-05-10T23:39:00.001+08:00</published><updated>2011-05-10T23:42:56.891+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T23:42:56.891+08:00</app:edited><title>How to make FreePBX updates through Proxy</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1KWojGzfkU0UNq7-N9HcOjCM3YY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1KWojGzfkU0UNq7-N9HcOjCM3YY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1KWojGzfkU0UNq7-N9HcOjCM3YY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1KWojGzfkU0UNq7-N9HcOjCM3YY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;SInce FreePBX does not honour the proxy settings via the bash export, you need to tell Apache instead to use a proxy. This would apply for FreePBX as well.&lt;/p&gt;  &lt;p&gt;Here’s a how to for Debians.&lt;/p&gt;  &lt;p&gt;1) #nano&amp;#160; /etc/apache2/envvars&lt;/p&gt;  &lt;p&gt;2) Add the following codes at the end. You will notice that there's repeats, sometimes they are needed so keep them there twice.&lt;/p&gt;  &lt;p&gt;export ftp_proxy=http://10.50.19.206:8080   &lt;br /&gt;export http_proxy=http://10.50.19.206:8080    &lt;br /&gt;export FTP_PROXY=http://10.50.19.206:8080    &lt;br /&gt;export HTTP_PROXY=http://10.50.19.206:8080&lt;/p&gt;  &lt;p&gt;3) #/etc/init.d/apache2 restart&lt;/p&gt;  &lt;p&gt;Where 10.50.19.206 is the proxy server and 8080 is the proxy port, you can also insert an auth username like this for all instances above.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://username:password@10.50.19.206:8080"&gt;http://username:password@10.50.19.206:8080&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-1318088090843395331?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/RgmP4GYzkzg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/1318088090843395331/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=1318088090843395331&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/1318088090843395331?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/1318088090843395331?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/RgmP4GYzkzg/how-to-make-freepbx-updates-through.html" title="How to make FreePBX updates through Proxy" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/05/how-to-make-freepbx-updates-through.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EHR3g_fSp7ImA9WhZXE0Q.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-2956010335694591919</id><published>2011-05-03T11:00:00.001+08:00</published><updated>2011-05-03T11:00:36.645+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-03T11:00:36.645+08:00</app:edited><title>Intuit techday–Report</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uDl1UYSLD-iy4KDR5IoU0JWaDKQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uDl1UYSLD-iy4KDR5IoU0JWaDKQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uDl1UYSLD-iy4KDR5IoU0JWaDKQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uDl1UYSLD-iy4KDR5IoU0JWaDKQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;28 April 2011 – Securities Commissions, Kuala Lumpur.&lt;/p&gt;  &lt;p&gt;An unprecedented turnout of over 400 people attended Intuit’s techday held in the Securities Commission, Kuala Lumpur, Malaysia. The event keynote speakers Mark Spencer and Ethan Galstad, creators of Asterisk and Nagios respectively via a video call joined in for half an hour and updated us with what’s installed for us in both platforms.&lt;/p&gt;  &lt;p&gt;We also had the CEO of MDeC and the special operations unit of the Prime Minister’s department.&lt;/p&gt;  &lt;p&gt;Other distinguished speakers and exhibitors.&lt;/p&gt;  &lt;p&gt;From here, i let the pictures do the talking. Enjoy and thanks for everyone’s participation and help.&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.danielaliaman.com/blog/files/techday/day1.gif" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.danielaliaman.com/blog/files/techday/day21.gif" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.danielaliaman.com/blog/files/techday/day23.gif" /&gt;&lt;/p&gt;    &lt;p&gt;&lt;img src="http://www.danielaliaman.com/blog/files/techday/day24.gif" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.danielaliaman.com/blog/files/techday/day19.gif" /&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-2956010335694591919?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/TncghjPDlHQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/2956010335694591919/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=2956010335694591919&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/2956010335694591919?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/2956010335694591919?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/TncghjPDlHQ/intuit-techdayreport.html" title="Intuit techday–Report" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/05/intuit-techdayreport.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMHSXY_eyp7ImA9WhZRGEU.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-8305746347548374550</id><published>2011-04-15T23:47:00.001+08:00</published><updated>2011-04-15T23:47:18.843+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-15T23:47:18.843+08:00</app:edited><title>Intuittech Technology Day 2011</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7_bwIPccRmclMdsdnBQfApKfDqo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7_bwIPccRmclMdsdnBQfApKfDqo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7_bwIPccRmclMdsdnBQfApKfDqo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7_bwIPccRmclMdsdnBQfApKfDqo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;h5&gt;&lt;font style="font-weight: normal"&gt;(from Daniel’s blog)&lt;/font&gt;&lt;/h5&gt;  &lt;h1&gt;Yes, in a little over a month we will host the first ever Intuittech Technology day here in Kuala Lumpur, Malaysia.&lt;/h1&gt;  &lt;p&gt;&lt;a href="http://www.danielaliaman.com/blog/files/techday.jpg"&gt;&lt;img title="" alt="" src="http://www.danielaliaman.com/blog/files/techdaysmall.jpg" width="550" height="418" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;We are excited that we could get 12 sponsors on-board helping us to make this possible.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The sponsors are:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.aheeva.com/"&gt;Aheeva&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.alliedtelesis.com/"&gt;Allied Telesys&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.em.avnetasia.com/"&gt;Avnet&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.digium.com/"&gt;Digium&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.jcmex.com/"&gt;JCMEX&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.microteltechnology.com/"&gt;Microtel&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.nagios.net/"&gt;Nagios&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.netregy.com/"&gt;Netregy&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.p1.com.my/"&gt;P1&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.polycom.com/"&gt;Polycom&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.skali.net/"&gt;Skali&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.evinogroup.com/"&gt;Vino Group&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;We are specially proud that &lt;strong&gt;Mark (founder of asterisk)&lt;/strong&gt; and &lt;strong&gt;Ethan (founder of Nagios)&lt;/strong&gt; will start the event with their respective keynote speeches via live video conference call.    &lt;br /&gt;The right time for you to ask questions!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Datuk Dr. Kamal Jit Singh&lt;/strong&gt; (CEO UIK, Prime Ministers Office) and &lt;strong&gt;Datuk Badlisham Ghazali&lt;/strong&gt; (CEO MDeC) will for sure give us some interesting insights into the goverments ICT and specially open source plans!&lt;/p&gt;  &lt;p&gt;During the day we will have 2 tracks with over 15 speakers in total.   &lt;br /&gt;The detailed plan should be ready in the next couple of days.&lt;/p&gt;  &lt;p&gt;Please book this day and be ready for a great day, with lots of interesting people   &lt;br /&gt;and presentations.&lt;/p&gt;  &lt;p&gt;The only thing you need to bring is you, we take care of the rest (food, drinks and parking).&lt;/p&gt;  &lt;p&gt;And yes it's free of charge! Just &lt;a href="http://www.intuitinnovations.com/tday/index.html"&gt;sign up &lt;/a&gt;and show-up!    &lt;br /&gt;See you soon.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-8305746347548374550?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/GRD5_PJBe-g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/8305746347548374550/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=8305746347548374550&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/8305746347548374550?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/8305746347548374550?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/GRD5_PJBe-g/intuittech-technology-day-2011.html" title="Intuittech Technology Day 2011" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/04/intuittech-technology-day-2011.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IBRX49fip7ImA9WhZWGUw.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-8753135292137369213</id><published>2011-04-15T19:27:00.001+08:00</published><updated>2011-05-21T02:19:14.066+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-21T02:19:14.066+08:00</app:edited><title>Asterisk | FreePBX boss secretary module (updated)</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ReojXNPBcFeQrfbR-0YTyrAzi6U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ReojXNPBcFeQrfbR-0YTyrAzi6U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ReojXNPBcFeQrfbR-0YTyrAzi6U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ReojXNPBcFeQrfbR-0YTyrAzi6U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In some of our migrations to Asterisk, users keep asking about this feature where the secretary can pickup calls from the boss using a function key in their phones that support them.&lt;/p&gt;  &lt;p&gt;Here’s the challenge, the secretary asked us to setup in such a way that they can press this button and pickup their boss’s call. So, that was simple, in Asterisk core its just **&amp;lt;exten&amp;gt; e.g. **1003 and it will pickup 1003 and just program that in the feature code. &lt;/p&gt;  &lt;p&gt;The problem was, they want to dial the boss using the same key. So, when you hit **1003 obviously it will not work cause that’s a pickup code being sent. &lt;/p&gt;  &lt;p&gt;So here’s the solutions.&lt;/p&gt;  &lt;p&gt;How it works? It does a check to see if the device state of the boss is RINGING, if yes, cool, we will pickup if not, we will do a dial. Simple &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://lh6.ggpht.com/_bgHtjJo0yK0/TagrnqRbODI/AAAAAAAAAnU/1yO8IomFoG0/wlEmoticon-smile%5B2%5D.png?imgmax=800" /&gt;. Here’s the dialplan for Asterisk 1.6.2, see note below if using Asterisk 1.4 with ported DEVSTATE module. Also note that this dialplan is designed for four digits extension scheme. Modify yours accordingly, esp XXXX part …&lt;/p&gt;  &lt;p&gt;Note the pickupchan module worked on asterisk 1.6.2. This is to pickup channels originating from other context (such as from-did-direct). Use the appropriate technology such as SIP/ IAX/ or SKINNY/ for instance to pickup that particular extension’s telephone technology.&lt;/p&gt;  &lt;p&gt;Put this code up in /etc/asterisk/extensions_custom.conf. &lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;[app-boss-sec]&amp;#160;&amp;#160; &lt;br /&gt;; Dialplan       &lt;br /&gt;;       &lt;br /&gt;exten =&amp;gt; _*XXXX*,1,NoOp(Starting boss sec module)       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,Macro(user-callerid,)       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,Set(mydev=${DB(AMPUSER/${EXTEN:1:4}/device)})       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,NoOp(mydev is = ${mydev})       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,NoOp(SIP/${mydev} has state ${DEVICE_STATE(SIP/${mydev})})       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,Set(MYDEVICESTATE=${DEVICE_STATE(SIP/${mydev})})       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,NoOp(SIP/${mydev} has state ${MYDEVICESTATE})       &lt;br /&gt;;       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,Gotoif($[${MYDEVICESTATE} = RINGING ]?pickup)       &lt;br /&gt;;       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,NoOp(Just call)       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,Goto(from-internal,${EXTEN:1:4},1)       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,Hangup       &lt;br /&gt;;       &lt;br /&gt;; We do normal directed pickup       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n(pickup),NoOp(Pickup)       &lt;br /&gt;exten =&amp;gt; _*XXXX*,n,Pickup(${EXTEN:1:4})       &lt;br /&gt;;       &lt;br /&gt;; Incase directed pickup don’t work, we do pickup group type pickup       &lt;br /&gt;; Make sure they are in the same pickup group..but of course       &lt;br /&gt;&lt;/font&gt;&lt;/p&gt; &lt;font face="Courier New"&gt;exten =&amp;gt; _*XXXX*,n,PickupChan(SIP/${EXTEN:1:4})&lt;/font&gt;   &lt;br /&gt;&lt;font face="Courier New"&gt;exten =&amp;gt; _*XXXX*,n,Hangup    &lt;br /&gt;&lt;/font&gt;  &lt;br /&gt;In extensions_custom.conf, you must include this in your [from-internal-custom]. If you don’t have that context, create it like this. Remember to register the relevant BLFs so that the lights are blinking correctly. In this example, there are two bosses we will “monitor” 1003 and 1004.  &lt;p&gt;&lt;font face="Courier New"&gt;[from-internal-custom]      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;; Register BLFs      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;exten =&amp;gt; *1003*,hint,SIP/1003      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;exten =&amp;gt; *1004*,hint,SIP/1004      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;     &lt;br /&gt;include =&amp;gt; app-boss-sec&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;font face="Arial"&gt;Now, reload asterisk dialplan #&lt;/font&gt;&lt;font face="Courier New"&gt;asterisk –rx “dialplan reload”. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;font face="Arial"&gt;After reloading, check the hints if they are correctly registered. You should see Watchers 1 or as many as you’ve configured on the secretary's phone. To check, &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;#asterisk -rx &amp;quot;core show hints&amp;quot; | grep 1003&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;font face="Arial"&gt;&lt;a href="http://lh3.ggpht.com/_bgHtjJo0yK0/TagtCZUlX2I/AAAAAAAAAnY/3Zd6CD28b4o/s1600-h/image%5B7%5D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_bgHtjJo0yK0/TagtCxNdbxI/AAAAAAAAAnc/ShiAtVy6BSw/image_thumb%5B3%5D.png?imgmax=800" width="566" height="33" /&gt;&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;font face="Arial"&gt;Now on your secretary’s phone, setup the function key (and if you have BLF, use BLF as the function) and enter the extension as *1003*. Now when boss’s 1003 rings, the BLF will blink, if he’s busy will indicate busy light and if he’s not will indicate free light (LED colours and style may vary from phone to phone). If the boss’s phone is ringing, the secretary picks up and if is not ringing state, it will simply do a dial to his extension.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;If using Asterisk 1.4 change DEVICE_STATE in the dialplan above to DEVSTATE. Transferring calls are also fine when invoking *&amp;lt;exten&amp;gt;* through the function key or manually dialling.&lt;/p&gt;  &lt;p&gt;Do try and let us know. &lt;/p&gt;  &lt;p&gt;&lt;font face="Arial"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&amp;#160;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com--- ---RSS http://feeds.feedburner.com/highsecurity---&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-8753135292137369213?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/N9toEH7x3tQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/8753135292137369213/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=8753135292137369213&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/8753135292137369213?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/8753135292137369213?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/N9toEH7x3tQ/asterisk-freepbx-boss-secretary-module.html" title="Asterisk | FreePBX boss secretary module (updated)" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/_bgHtjJo0yK0/TagrnqRbODI/AAAAAAAAAnU/1yO8IomFoG0/s72-c/wlEmoticon-smile%5B2%5D.png?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/04/asterisk-freepbx-boss-secretary-module.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEMR304eip7ImA9WhZRFEg.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-1209187436254984466</id><published>2011-04-11T00:54:00.001+08:00</published><updated>2011-04-11T00:58:06.332+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-11T00:58:06.332+08:00</app:edited><title>Asternic Stats Outbound Tracking with FreePBX</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lSN5spr4VIg2Y2O4WBYTwVr7Hp0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lSN5spr4VIg2Y2O4WBYTwVr7Hp0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lSN5spr4VIg2Y2O4WBYTwVr7Hp0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lSN5spr4VIg2Y2O4WBYTwVr7Hp0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;We at Intuit use Asternic (&lt;a href="http://www.asternic.biz"&gt;www.asternic.biz&lt;/a&gt;) quite extensively for basic call centres that require a simple interface for wallboards, reports and recordings.&lt;/p&gt;  &lt;p&gt;Asternic also provides some capabilities to monitor outbound callcenters where agents make random calls to introduce new services or businesses.&lt;/p&gt;  &lt;p&gt;In this guide, i will attempt to setup outbound call center setup using Asternic and at the same time, show you how to enable recordings that play straight off the Asternic web UI.&lt;/p&gt;  &lt;p&gt;This guide assumes the use of Asternic 1.8, FreePBX 2.x and Asterisk 1.6 on Debian systems. I also assume you’ve got all else working with Asternic like, the ioncube loaders, the license and the website is showing you like below;&lt;/p&gt;  &lt;p&gt;If yes, great, login with admin and the default password admin.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_bgHtjJo0yK0/TaHgoXMh3sI/AAAAAAAAAmM/TwWQNmf8AgY/s1600-h/image%5B3%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_bgHtjJo0yK0/TaHgpNaH3II/AAAAAAAAAmQ/wFUgvAYoj-E/image_thumb%5B1%5D.png?imgmax=800" width="591" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;PART 1 – ENABLING OUTBOUND MONITORING &lt;/h3&gt;  &lt;p&gt;1) Firstly, you must get a valid licensed and a 1.8 version of Asternic. Write to &lt;a href="mailto:asternic@gmail.com"&gt;asternic@gmail.com&lt;/a&gt; and Nicolas will help you get those.&lt;/p&gt;  &lt;p&gt;2) The way Asternic identifies if a particular someone is part of the outbound campaign is by looking for the accountcode value in SIP user as shown below in the FreePBX user configuration. In deviceuser mode, this would be the device, not user. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_bgHtjJo0yK0/TaHgpyWqIyI/AAAAAAAAAmU/rdPa9D4suMc/s1600-h/image%5B30%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_bgHtjJo0yK0/TaHgqWg9ysI/AAAAAAAAAmY/xabke8w53G8/image_thumb%5B19%5D.png?imgmax=800" width="201" height="232" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Here, i am creating an account code called C1 which is my outbound campaign 1. If you put things in perspective of an inbound this would then be a queue name. So all defined as C1 in their account code will then be agents of the queue C1. Simple as that right?&lt;/p&gt;  &lt;p&gt;3) Next is to make some dialplan changes in FreePBX. There’s a file available from Asternic’s install source (/usr/src/asternic.source.dir/FreePBX/extensions_custom_asternic_outbound_freepbx.conf). Copy this file to /etc/asterisk. Now make sure the asterisk user owns this file since it was newly added.&lt;/p&gt;  &lt;p&gt;Now edit it, and modify like below below.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;IMPORTANT, THERE’S A SMALL OUTDATED LINE YOU NEED TO MODIFY. EDIT THE extensions_custom_asternic_outbound_freepbx.conf LIKE SHOWN BELOW; there’s one part which calls the mixmonitor dialplan, change the | pipes to , commas. Asterisk 1.4 and above will not accept pipes anymore. &lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="619"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="617"&gt;         &lt;p&gt;&lt;font face="Courier New"&gt;exten =&amp;gt; _X.,n,MixMonitor(${QDIALER_QUEUE}-${UNIQUEID}.wav|b|/usr/local/parselog/update_mix_mixmonitor.pl ${UNIQUEID} ${QDIALER_QUEUE}-${UNIQUEID}.wav)&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;change to &lt;/p&gt;          &lt;p&gt;&lt;font face="Courier New"&gt;exten =&amp;gt; _X.,n,MixMonitor(${QDIALER_QUEUE}-${UNIQUEID}.wav,b,/usr/local/parselog/update_mix_mixmonitor.pl ${UNIQUEID} ${QDIALER_QUEUE}-${UNIQUEID}.wav)&lt;/font&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;    &lt;p&gt;4) Edit /etc/asterisk/extensions_customs.conf and include the above file.&lt;/p&gt;  &lt;p&gt;At the very top of extensions_customs.conf, add the line&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;#include extensions_custom_asternic_outbound_freepbx.conf&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Now, if you have followed the INSTALL guide inside the binary archive. It will tell you to place a parselog into /usr/local/parselog/&lt;/p&gt;  &lt;p&gt;Inside this directory, there’s an important perl file called update_mix_mixmonitor.pl which converts the WAV file to MP3 so that it can be played using the Asternic GUI (we will show you howto with that later). Make sure you edit this file.&lt;/p&gt;  &lt;p&gt;edit /usr/local/parselog/update_mix_mixmonitor.pl&lt;/p&gt;  &lt;p&gt;In there, make sure you&lt;/p&gt;  &lt;p&gt;1) edit the database connection information, like the username and password particularly   &lt;br /&gt;2) edit the asterisk spool location (normally /var/spool/asterisk/monitor).     &lt;br /&gt;3) edit the destination dir (create one like /var/spool/asterisk/monitor-mp3)     &lt;br /&gt;4) Then go to the end of that file to the lame execution part (to convert WAV to MP3). Make sure the path to lame is correct.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Permission&lt;/strong&gt;. Now pay attention to this!. Make sure you set the permissions correctly.&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;chown –R asterisk:asterisk /var/spool/asterisk/monitor     &lt;br /&gt;chown –R asterisk:asterisk /var/spool/asterisk/monitor-mp3      &lt;br /&gt;chown asterisk:asterisk /usr/local/bin/lame&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Now, reload the dialplan, #&lt;font face="Courier New"&gt;asterisk –rx “dialplan reload”&lt;/font&gt;. &lt;/p&gt;  &lt;p&gt;That should do the trick. Make sure you define the account code for the extension/device which need tracking and make that outbound call. Remember, these codes invoke dialout trunk prehook dialplan in FreePBX so internal calls won’t be tracked and if you have sip trunks and what not, make sure you set the correct context to those trunks. After making a couple of calls, you should see this;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_bgHtjJo0yK0/TaHgrGwSAZI/AAAAAAAAAmc/ozWJX2chmxE/s1600-h/image%5B11%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_bgHtjJo0yK0/TaHgr8E8tLI/AAAAAAAAAmg/ZxO2X7qIJo0/image_thumb%5B5%5D.png?imgmax=800" width="605" height="162" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Where C1 was my accountcode and Agent is my Outbound CID. I made some changes in the dialplan however to reflect the user/extension and not the Outbound CID. (email me if you need the codes for that)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_bgHtjJo0yK0/TaHgszFp05I/AAAAAAAAAm8/SAWSV3IJdSI/s1600-h/image%5B32%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_bgHtjJo0yK0/TaHgtwgRn9I/AAAAAAAAAnA/LI0a-UuuRNw/image_thumb%5B21%5D.png?imgmax=800" width="584" height="199" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;As seen above, you can see the details of the calls being made by those in C1 “queue” or accountcode.&lt;/p&gt;  &lt;h3&gt;PART 2 – ENABLE WEB BASED CALL RECORDINGS FOR INBOUND&lt;/h3&gt;  &lt;p&gt;Now, as part of Asternic’s offering, you can rightfully with the above steps done properly, be able to see the recordings on the webUI. The only thing you need to do is add a value in the SETUP tab and look for the recordings_path parameter and set it to the destination directory as defined up there.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_bgHtjJo0yK0/TaHguqK2YqI/AAAAAAAAAnE/qsotcjVkXRU/s1600-h/image%5B31%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_bgHtjJo0yK0/TaHgvrL6EoI/AAAAAAAAAnI/dWxj529h070/image_thumb%5B20%5D.png?imgmax=800" width="589" height="86" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;By using the above extra file called extensions_custom_asternic_outbound_freepbx.conf…. file by Asternic, all outbound calls with the accountcode defined will be recorded, of course, you can turn that off by commenting out the mixmonitor dialplan function but i am sure you would want to have that function for training and QA purposes right? Unlike the inbound Queues module in FreePBX, you can choose to record or not to record from the WebUI.&lt;/p&gt;  &lt;p&gt;So, if all turns up well, you can see your recordings and play or download it straight from the Web! You need flash to play back by the way and use Firefox for best results.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_bgHtjJo0yK0/TaHgwkrFkwI/AAAAAAAAAnM/yyaXrb2lmh0/s1600-h/image%5B33%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_bgHtjJo0yK0/TaHgxgyUnHI/AAAAAAAAAnQ/yIQT-GoAERY/image_thumb%5B22%5D.png?imgmax=800" width="591" height="226" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If you wish to know how to enable the recordings and to call the mixmonitor script from Asternic for inbound, you can follow the guide from Daniel &lt;a href="http://danielaliaman.com/blog///index.php/2010/09/29/asternic-stats-enabled-play-and-download?blog=2"&gt;here&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;At Intuit, we do lots of customization of Asternic and call centre based solutions like Aheeva, Majuda that would suite just about any CallCenter types or sizes! Do write or calls us. &lt;/p&gt;  &lt;p&gt;..&lt;a href="mailto:atttt@]]]intuit.my"&gt;support[[[atttt@]]]intuit.my&lt;/a&gt;… &lt;/p&gt;  &lt;p&gt;Or call us + 60 3 20355800&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Sanjay W   &lt;br /&gt;From the engineering desk of Intuit.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-1209187436254984466?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/WjC16C-_9Cc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/1209187436254984466/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=1209187436254984466&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/1209187436254984466?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/1209187436254984466?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/WjC16C-_9Cc/asternic-stats-outbound-tracking-with.html" title="Asternic Stats Outbound Tracking with FreePBX" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_bgHtjJo0yK0/TaHgpNaH3II/AAAAAAAAAmQ/wFUgvAYoj-E/s72-c/image_thumb%5B1%5D.png?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/04/asternic-stats-outbound-tracking-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EBSX0yfip7ImA9WhZTGUU.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-2305671316048247863</id><published>2011-03-24T23:41:00.001+08:00</published><updated>2011-03-24T23:47:38.396+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-24T23:47:38.396+08:00</app:edited><title>Cisco SIP IP Phone corporate directory integrated into FreePBX</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FA8AJF1bHOsajBs84lFdfm0qoWk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FA8AJF1bHOsajBs84lFdfm0qoWk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FA8AJF1bHOsajBs84lFdfm0qoWk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FA8AJF1bHOsajBs84lFdfm0qoWk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://t1.gstatic.com/images?q=tbn:ANd9GcTre2SwS_sU2owQoGRrlaP52LJOIbHnrwFFkPTWO3gbx4QWCLc&amp;amp;t=1&amp;amp;usg=__SbOSTJsAPfgObTblY9DaDlaaSQU=" width="156" height="90" /&gt;&lt;img src="http://t2.gstatic.com/images?q=tbn:ANd9GcQ_dOAtIwqtiJSIJ8Te0kJ7DCsERtTQddDQ5td7C0EuvsOuvQI&amp;amp;t=1&amp;amp;usg=__jNZne4RGXcI4lxhWqlhuRSffGtM=" width="324" height="78" /&gt;&lt;/p&gt;  &lt;p&gt;Back sometime we wrote a guide on how to dynamically read and display searchable directory information straight out of a Yealink phone &lt;a href="http://highsecurity.blogspot.com/2010/10/yealink-ip-phone-corporate-directory.html"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Currently, we have a customer that migrated from Cisco Callmanager to Asterisk! (YAY) and a little bit of research with my colleague Wan Azwin, we managed to use the same concept on Yealink with Cisco phones. Most of the phones work except for 7912 which we are still figuring out how to even set the directory information. We must say that Cisco product ranges have so many variations in their formats it’s just a nightmare to figure them out sometimes. Also, if you need how-tos for to convert Cisco phones, try this &lt;a href="http://intuitinnovations.com/blog/archives/87"&gt;link&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Here, we take this functionality and add it to the FreePBX directory meaning, it is truly realtime to the adding and removal of users in FreePBX as it uses the asterisk.users directory in FreePBX MySQL table.&lt;/p&gt;  &lt;p&gt;Test on:&lt;/p&gt;  &lt;p&gt;1) FreePBX 2.x&lt;/p&gt;  &lt;p&gt;2) Debian 5&lt;/p&gt;  &lt;p&gt;3) Apache 2 with PHP support&lt;/p&gt;  &lt;p&gt;NOTE: If the codes appear truncated, simply copy the whole table and paste into a text editor&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Features&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Wildcard searching capability using backend PHP engine &lt;/li&gt;    &lt;li&gt;Searches directly from FreePBX no need to maintain separate DB/files, thus making it dynamic &lt;/li&gt;    &lt;li&gt;Some security tips plus Database access is limited with very low privileges for the user that connects to FreePBX / MySQL &lt;/li&gt;    &lt;li&gt;May work for just about any type of phones that support the search function &lt;/li&gt; &lt;/ul&gt;    &lt;p&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;Security Notice       &lt;br /&gt;Do not allow this file to be exposed in the public domain it can disclose your corporate directory and users/people        &lt;br /&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;- Enforce ACL on this website/page so that only internal users can enumerate       &lt;br /&gt;&lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;- Try to use a complex name for the php file so that it’s difficult for someone to guess it.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Assumptions/notes&lt;/strong&gt;:    &lt;br /&gt;1) You have a running apache server which support PHP5 and does not force SSL on virtual directories    &lt;br /&gt;2) Apache runs as asterisk in group asterisk    &lt;br /&gt;3) There's no other service listening on port 80    &lt;br /&gt;4) Use freepbx asterisk database with users table found (default)    &lt;br /&gt;5) Using IP 10.10.10.1 as example web server    &lt;br /&gt;6) Using SIP based firmware on Cisco&lt;/p&gt;  &lt;p&gt;IMPORTANT: YOU MUST USE NON SSL BASED WEBSITE AS THE PHONES MAY NOT KNOW HOW TO INTERPRET SSL TRANSACTIONS&lt;/p&gt;  &lt;p&gt;We will use a very low privileged user for this requests.&lt;/p&gt;  &lt;p&gt;Create DB user with very low privileges (change the username and password accordingly to connect to your MySQL box, here, its a local box). This below is give access to the database asterisk, table user and column name. Change the passwords accordingly ..first one for connecting to your DB and the second for the new user called “directory” that you are allowing access to the table users and extensions respectively in the database asterisk (freepbx defaults).&lt;/p&gt;  &lt;p&gt;At the command prompt run:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;mysql -h localhost -u root -p&lt;strong&gt;&lt;em&gt;password&lt;/em&gt;&amp;#160;&lt;/strong&gt; mysql --execute=&amp;quot;GRANT SELECT (name) ON asterisk.users TO directory@localhost IDENTIFIED BY &lt;/font&gt;&lt;a href="mailto:%E2%80%98p@ssword1'"&gt;&lt;font face="Courier New"&gt;‘&lt;em&gt;&lt;strong&gt;p@ssword1'&lt;/strong&gt;&lt;/em&gt;&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New"&gt;;&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;mysql -h localhost -u root -p&lt;strong&gt;&lt;em&gt;password&lt;/em&gt;&lt;/strong&gt;&amp;#160; mysql --execute=&amp;quot;GRANT SELECT (extension) ON asterisk.users TO directory@localhost IDENTIFIED BY &lt;/font&gt;&lt;a href="mailto:'p@ssword1'"&gt;&lt;strong&gt;&lt;em&gt;&lt;font face="Courier New"&gt;'p@ssword1'&lt;/font&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt;&lt;font face="Courier New"&gt;;&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;mysql -h localhost -u root -p&lt;strong&gt;&lt;em&gt;password &lt;/em&gt;&lt;/strong&gt; mysql --execute=&amp;quot;flush privileges;&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Basically, now you need to create the menu files and the search file. You will now create:&lt;/p&gt;  &lt;p&gt;1) menu.xml   &lt;br /&gt;2) menu2.xml     &lt;br /&gt;3) search.php&lt;/p&gt;  &lt;p&gt;Assuming your webroot is in /var/www/&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;mkdir /var/www/ciscodir&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;nano menu.xml&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Paste the following into menu.xml&lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="563"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="561"&gt;         &lt;p&gt;&amp;lt;CiscoIPPhoneMenu&amp;gt;           &lt;br /&gt;&amp;#160; &amp;lt;Prompt&amp;gt;Intuittech Sdn Bhd&amp;lt;/Prompt&amp;gt;            &lt;br /&gt;&amp;#160; &amp;lt;MenuItem&amp;gt;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Name&amp;gt;Search for a person..&amp;lt;/Name&amp;gt;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;URL&amp;gt;&lt;a href="http://10.10.10.1/ciscodir/menu2.xml"&gt;http://10.10.10.1/ciscodir/menu2.xml&lt;/a&gt;&amp;lt;/URL&amp;gt;            &lt;br /&gt;&amp;#160; &amp;lt;/MenuItem&amp;gt;            &lt;br /&gt;&amp;lt;/CiscoIPPhoneMenu&amp;gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;nano menu2.xml&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Paste the following into menu2.xml&lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="566"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="564"&gt;         &lt;p&gt;&amp;lt;CiscoIPPhoneInput&amp;gt;           &lt;br /&gt;&amp;#160; &amp;lt;Title&amp;gt;Intuittech Sdn Bhd&amp;lt;/Title&amp;gt;            &lt;br /&gt;&amp;#160; &amp;lt;Prompt&amp;gt;Enter The Search Criteria&amp;lt;/Prompt&amp;gt;            &lt;br /&gt;&amp;#160; &amp;lt;URL&amp;gt;&lt;a href="http://10.10.10.1/ciscodir/search.php"&gt;http://10.10.10.1/ciscodir/search.php&lt;/a&gt;&amp;lt;/URL&amp;gt;&lt;/p&gt;          &lt;p&gt;&amp;#160; &amp;lt;InputItem&amp;gt;           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;DisplayName&amp;gt;Enter Name&amp;lt;/DisplayName&amp;gt;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;QueryStringParam&amp;gt;sn&amp;lt;/QueryStringParam&amp;gt;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;InputFlags&amp;gt;U&amp;lt;/InputFlags&amp;gt;            &lt;br /&gt;&amp;#160; &amp;lt;/InputItem&amp;gt;&lt;/p&gt;          &lt;p&gt;&amp;lt;/CiscoIPPhoneInput&amp;gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;nano search.php&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Paste the following into search.php. BE SURE TO CHANGE THE &lt;/p&gt;  &lt;p&gt;1) $URL   &lt;br /&gt;2) Username and Password in $mysql_conn which you created in the mysql command line above&lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="610"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="608"&gt;         &lt;p&gt;&amp;lt;?            &lt;br /&gt;header (&amp;quot;content-type: text/xml&amp;quot;);            &lt;br /&gt;// Created by Intuit            &lt;br /&gt;// with credit to JOYCE CR, s.r.o. &lt;a href="http://www.joyce.cz/produkt-soubory/searching_remote_phonebook_manual.pdf"&gt;http://www.joyce.cz/produkt-soubory/searching_remote_phonebook_manual.pdf&lt;/a&gt;            &lt;br /&gt;// Make sure you configure the allowable settings only            &lt;br /&gt;// This script directly integrates with FreePBX and picksup the asterisk.users table            &lt;br /&gt;// Should work for both device-user mode or extensions mode            &lt;br /&gt;// Works by searching from anywhere of the person's name            &lt;br /&gt;// feedback to sanjay@intuit.my&lt;/p&gt;          &lt;p&gt;// Change here to match the webaddress absolute path           &lt;br /&gt;$URL = '&lt;a href="http://10.10.10.1/ciscodir/';"&gt;http://10.10.10.1/ciscodir/';&lt;/a&gt;&lt;/p&gt;          &lt;p&gt;// Choose how many results to return if search term produces a lot of output           &lt;br /&gt;$per_page = '100'; &lt;/p&gt;          &lt;p&gt;// Change here to match your own passwords           &lt;br /&gt;$mysql_conn = mysql_connect('localhost', 'directory', &lt;a href="mailto:'p@ssword1'"&gt;'p@ssword1'&lt;/a&gt;);&lt;/p&gt;          &lt;p&gt;// Dont change anything from here unless you know what you are doing           &lt;br /&gt;mysql_select_db('asterisk', $mysql_conn );&lt;/p&gt;          &lt;p&gt;$NAME=$_GET[&amp;quot;sn&amp;quot;];           &lt;br /&gt;$FROM=$_GET[&amp;quot;FROM&amp;quot;];            &lt;br /&gt;$TO=$_GET[&amp;quot;TO&amp;quot;];            &lt;br /&gt;if ( ($FROM=='') and ($TO=='') )            &lt;br /&gt;{            &lt;br /&gt;&amp;#160;&amp;#160; //check to see how many             &lt;br /&gt;&amp;#160;&amp;#160; $result= mysql_query(&amp;quot;SELECT count(users.name) as total             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; FROM users             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WHERE users.name LIKE '%$NAME%' &amp;quot;, $mysql_conn);            &lt;br /&gt;&amp;#160;&amp;#160; $howmany = mysql_fetch_row($result);&lt;/p&gt;          &lt;p&gt;&amp;#160;&amp;#160; if ($howmany[0] &amp;gt; $per_page)           &lt;br /&gt;&amp;#160;&amp;#160; {            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; $start = 0;             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; $index = 0;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; $total = $howmany[0];            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; $remain = $per_page;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;\n&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;CiscoIPPhoneDirectory&amp;gt;\n&amp;quot;);&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; while ($start &amp;lt; ($total + 1))            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; {             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $limitstart = 'LIMIT '.$start.','.$per_page;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $result = mysql_query(&amp;quot;SELECT name,extension             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; FROM users             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WHERE name LIKE '%$NAME%' ORDER BY name $limitstart&amp;quot;, $mysql_conn); &lt;/p&gt;          &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $row = mysql_fetch_row($result);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $from = $row[0];            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; if (($total - $start) &amp;lt; $per_page) { $remain = $total - $start; }            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; for ($i = 1; $i &amp;lt; $remain; ++$i) { $row = mysql_fetch_row($result); }            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $to = $row[0];             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;SoftKeyItem&amp;gt;\n&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;\t&amp;lt;Name&amp;gt;&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print($index);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/Name&amp;gt;\n&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;\t&amp;lt;URL&amp;gt;&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print($URL.&amp;quot;search.php?FROM=&amp;quot;.$from.&amp;quot;&amp;amp;TO=&amp;quot;.$to);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/URL&amp;gt;\n&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/SoftKeyItem&amp;gt;\n&amp;quot;);&lt;/p&gt;          &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $start = $start + $per_page;           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $index = $index+1;&lt;/p&gt;          &lt;p&gt;           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/CiscoIPPhoneDirectory&amp;gt;\n&amp;quot;); &lt;/p&gt;          &lt;p&gt;&amp;#160;&amp;#160; } else {           &lt;br /&gt;$result = mysql_query(&amp;quot;SELECT name,extension,extension             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; FROM users             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WHERE users.name LIKE '%$NAME%'             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ORDER BY name &amp;quot;, $mysql_conn); &lt;/p&gt;          &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;\n&amp;quot;);           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;CiscoIPPhoneDirectory&amp;gt;\n&amp;quot;);&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; while($row = mysql_fetch_row($result))             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; {             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;          &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;DirectoryEntry&amp;gt;\n&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;\t&amp;lt;Name&amp;gt;&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print($row[0].&amp;quot;- &amp;quot;.$row[1] ); &lt;/p&gt;          &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/Name&amp;gt;\n&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;\t&amp;lt;Telephone&amp;gt;&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print($row[2]);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/Telephone&amp;gt;\n&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/DirectoryEntry&amp;gt;\n&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/CiscoIPPhoneDirectory&amp;gt;\n&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160; }            &lt;br /&gt;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160; &lt;/p&gt;          &lt;p&gt;} else {&lt;/p&gt;          &lt;p&gt;&amp;#160; $result = mysql_query(&amp;quot;SELECT name,extension,extension            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; FROM users             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WHERE name&amp;gt;='$FROM' AND name&amp;lt;='$TO'             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ORDER BY name&amp;quot;, $mysql_conn); &lt;/p&gt;          &lt;p&gt;&amp;#160;&amp;#160; print(&amp;quot;\n&amp;quot;);           &lt;br /&gt;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;CiscoIPPhoneDirectory&amp;gt;\n&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;Title&amp;gt;Intuittech Directory&amp;lt;/Title&amp;gt;\n&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;Prompt&amp;gt;Intuittech Directory&amp;lt;/Prompt&amp;gt;\n&amp;quot;);            &lt;br /&gt;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160; while($row = mysql_fetch_row($result))             &lt;br /&gt;&amp;#160;&amp;#160; {             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;DirectoryEntry&amp;gt;\n&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;\t&amp;lt;Name&amp;gt;&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print($row[0].&amp;quot;- &amp;quot;.$row[1] );             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/Name&amp;gt;\n&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;\t&amp;lt;Telephone&amp;gt;&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print($row[2]);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/Telephone&amp;gt;\n&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/DirectoryEntry&amp;gt;\n&amp;quot;);             &lt;br /&gt;&amp;#160;&amp;#160; }             &lt;br /&gt;&amp;#160;&amp;#160; print(&amp;quot;&amp;lt;/CiscoIPPhoneDirectory&amp;gt;\n&amp;quot;);             &lt;br /&gt;}&lt;/p&gt;          &lt;p&gt;           &lt;br /&gt;?&amp;gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Save and close. Give proper permissions to the file&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;chown asterisk:asterisk /var/www/ciscodir/search.php&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Try on browser, assuming a user Sanjay is being searched for, you can also use ja, nj, as long as it's within the correct sequence&lt;/p&gt; &lt;dl&gt;&lt;/dl&gt;  &lt;p&gt;&lt;a href="http://10.10.10.1/ciscodir/search.php?sn=san"&gt;http://10.10.10.1/ciscodir/search.php?sn=san&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Also, do ensure your webserver interprets .xml files as text by modifying the mime types. In apache, this is done by editing the /etc/mime.types file. Add an entry&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;text/xml&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; xml&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Finally, edit your SEP&amp;lt;MACADDRESS&amp;gt;.cnf.xml, look for directory info and set it to menu.xml, this is an example for Cisco 7941 &lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;directoryURL&amp;gt;http://10.10.10.1/ciscodir/menu.xml&amp;lt;/directoryURL&amp;gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Restart the phone.&lt;/p&gt;  &lt;p&gt;If you need help, please contact us &lt;a href="mailto:sanjay@intuit.my"&gt;sanjay@intuit.my&lt;/a&gt; and &lt;a href="mailto:azwin@intuit.my"&gt;azwin@intuit.my&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Good night!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-2305671316048247863?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/QzW4HUoOeOw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/2305671316048247863/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=2305671316048247863&amp;isPopup=true" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/2305671316048247863?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/2305671316048247863?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/QzW4HUoOeOw/cisco-sip-ip-phone-corporate-directory.html" title="Cisco SIP IP Phone corporate directory integrated into FreePBX" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/03/cisco-sip-ip-phone-corporate-directory.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UHSH48cCp7ImA9Wx9aGUk.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-743467079960468395</id><published>2011-03-12T23:52:00.001+08:00</published><updated>2011-03-12T23:53:59.078+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-12T23:53:59.078+08:00</app:edited><title>FreePBX Device User Mode – Enforce login</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jyT__aneq8A9R-Bz4VyTYvjs6ig/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jyT__aneq8A9R-Bz4VyTYvjs6ig/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jyT__aneq8A9R-Bz4VyTYvjs6ig/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jyT__aneq8A9R-Bz4VyTYvjs6ig/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBhQSERQUExQWFBUUDSAYFhYVFxwZHhoZIBkaGhkhGBkYIDIeICUvJRcjHy8hIzMpLC44Fx89NTAqNScrLCkBCQoKDQsNGQ4OGTUkHiQ1NTI1NTM1NTU1NTU0NTUvLy8sNDQ1NDYsNTI1NDUxNDAyNDQtNDU1Nik1LTU0NTQsNP/AABEIACwArQMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAABgQFBwMCAf/EAEIQAAIBAwIEAwQFBg4DAAAAAAECAwAEERIhBQYxURNBYSIygZEHFEJxoVJ0sbLR8SMzNERyc4KTs8HC0uHwU1Ri/8QAGgEAAgMBAQAAAAAAAAAAAAAAAwQAAQIFBv/EAC0RAAEDAwMCBQQCAwAAAAAAAAECAxEABCETMUESUWFxgaHRIpHB8bHhFDLw/9oADAMBAAIRAxEAPwDWuI8dhgZUkfSzglR3x1x3qLLzjar70oXPTVt+mp3FoQ0MgYA/wZO/cDI/RSlypYxyXEviRo+LZca1DY9t+mRSLzzyblLKSIUDx29aaaaaUwpxQMjx/qr2PnS0Y4WUE9hv+Aq0sb5Jk1xnK5I7bg4PWo8nL9swwbeH4RqD8CBkH1FeeXuGNbw+GxDHxXbK5xhmJHX0ppAeC/rII8oz9zS6i0U/SCD5z+KsqKKKYoNFFFFSpRRRRUqVE4hxaKAKZZFjDHC6vM9dqhHm+zH84j+Z/ZU7iNjHLG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BVpRQ02yAzonKds1tT6i5qjB8KSLHmSS0HhTW82AdsRs2P6LRgqRUq3u7q+mjIje1to5A7GQaXlKnIVVO4XI3JxtsM5zTbRWG7XoAT1EgcGPia0t/rJPSATzShx/g0scnjQqzjVqKp7yN3C/aHoNxk7EdBefGxpFrO8vTSsUgyf7SgD5/Gm+iqFoEKKm1FM7gRHuDFWbkqSErSDG3/Ck9eIXFrFJPdJJJLcHCwwqZBEAp0hivnvkkbdAM4yVHlTiLWtyJXguCvhFDpgkzvgg7r6fjWvUZrqMP6DJZSkEHeZ+aRcb1HA4TkV5jfUAd91B3GDvvuKXOd+NeFC0QildpoiAUjZ1AOx1FQcHHlTLRQ219CgqJitKT1Aisq5O44bN5S9vcssir7sEmQVz3UflVa8f5umuozDbWlz7ezFomXbsNXsj1JNaBmimVXfU7qlAn1+aEGIR0dRj0rOODQPwtGkmhkluJ0wqRIzrGqnZXdQdyTk49MdM1z5Oui/EDNcRTmWRdMbNC4VCclslhhcgBQfh51pdGaybpSkqCgCVbnmrDIBBBwOK43c4SNnILBUJKqMk4HQDzPpWNtPIlwZYIZ48TFox4EvsjJwD7PY4IraqM1La6Vb9XSAZ71HWQ7EnaqTlrmT60pzDLE6Aag6MqnOfcLAZ6dPKruiillEEyBFGAgV//9k=" /&gt;&lt;/p&gt;  &lt;p&gt;I had responded to a thread on the FreePBX forum about how to restrict calling without a user first logging in on a device/user mode in FreePBX. &lt;/p&gt;  &lt;p&gt;Here’s a simple dialplan which you can then use for your implementation. For FreePBX users, put these lines of codes in /etc/asterisk/extension_custom.conf&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;[devcheck]     &lt;br /&gt;exten =&amp;gt; *11,1,Goto(from-internal,${EXTEN},1)      &lt;br /&gt;exten =&amp;gt; *12,1,Goto(from-internal,${EXTEN},1)      &lt;br /&gt;exten =&amp;gt; _.,1,Set(USEREXIST=$[${DB(DEVICE/${CALLERID(num)}/user)}])      &lt;br /&gt;exten =&amp;gt; _.,n,GotoIf($[${USEREXIST}=none]?endit)      &lt;br /&gt;exten =&amp;gt; _.,n,Goto(from-internal,${EXTEN},1)      &lt;br /&gt;exten =&amp;gt; _.,n(endit),Playback(pbx-invalid)      &lt;br /&gt;exten =&amp;gt; h,1,Hangup&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Reload the dialplan &lt;font face="Courier New"&gt;asterisk –rx “dialplan reload”&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Put this in each extension under context settings like below for each device in FreePBX UI.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_bgHtjJo0yK0/TXuXE-EZR2I/AAAAAAAAAmE/YkWCMGrD7tM/s1600-h/image%5B8%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_bgHtjJo0yK0/TXuXFhUbWWI/AAAAAAAAAmI/zo9sx0LYABo/image_thumb%5B2%5D.png?imgmax=800" width="207" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Submit and apply.&lt;/p&gt;  &lt;p&gt;At the end that context/dialplan, play anything you like in the Playback() macro. Here, you can record stuff like “You must first log in before making any calls”. I use the above one as a simple sample.&lt;/p&gt;  &lt;p&gt;You can put in more exceptions like emergency numbers; besides the login and logoff feature codes in FreePBX at the top.&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;exten =&amp;gt; 999,1,Goto(from-internal,${EXTEN},1)     &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Where 999 is our Malaysian emergency number.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-743467079960468395?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/OPKln9ltv40" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/743467079960468395/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=743467079960468395&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/743467079960468395?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/743467079960468395?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/OPKln9ltv40/freepbx-device-user-mode-enforce-login.html" title="FreePBX Device User Mode – Enforce login" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_bgHtjJo0yK0/TXuXFhUbWWI/AAAAAAAAAmI/zo9sx0LYABo/s72-c/image_thumb%5B2%5D.png?imgmax=800" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/03/freepbx-device-user-mode-enforce-login.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIAQ38zeip7ImA9Wx9UFEk.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-1744392548894122114</id><published>2011-02-12T01:15:00.001+08:00</published><updated>2011-02-12T01:15:42.182+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-12T01:15:42.182+08:00</app:edited><title>Google Voice extends free calls to US and Canada for whole of 2011</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zeSIwYRdlwxeZQUlpij14Hpog44/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zeSIwYRdlwxeZQUlpij14Hpog44/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zeSIwYRdlwxeZQUlpij14Hpog44/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zeSIwYRdlwxeZQUlpij14Hpog44/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t3.gstatic.com/images?q=tbn:ANd9GcRIPxa2ntkrVZqTtyDcS-9JQ0L6r_PuejqV1BSA1LzK3cTX_6oG" /&gt;&lt;/p&gt;  &lt;p&gt;Google’s awesome quality Voice service which lets you make free calls to US and Canada is now extended to 2011. There was news that it will only be for 2010 ,but now, in their blog statement they offer this all the way through 2011. Use but don’t abuse. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://googlevoiceblog.blogspot.com/2010/12/free-calling-in-gmail-extended-through.html"&gt;http://googlevoiceblog.blogspot.com/2010/12/free-calling-in-gmail-extended-through.html&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-1744392548894122114?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/yY5OK5LAGfw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/1744392548894122114/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=1744392548894122114&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/1744392548894122114?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/1744392548894122114?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/yY5OK5LAGfw/google-voice-extends-free-calls-to-us.html" title="Google Voice extends free calls to US and Canada for whole of 2011" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/02/google-voice-extends-free-calls-to-us.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MBRHc_cSp7ImA9WhZXFkg.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-6945086745111791218</id><published>2011-01-25T14:14:00.001+08:00</published><updated>2011-05-06T11:10:55.949+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-06T11:10:55.949+08:00</app:edited><title>Asterisk &amp; FreePBX Faxing Solution with IAXModem + Hylafax + AvantFax</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ym8MP38a417GZpf3uuBx7wN5bks/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ym8MP38a417GZpf3uuBx7wN5bks/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ym8MP38a417GZpf3uuBx7wN5bks/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ym8MP38a417GZpf3uuBx7wN5bks/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" src="http://t1.gstatic.com/images?q=tbn:ANd9GcSzmaqjwBzMccorSvtsf7U0Sw23G8mKe12eR1dBtzpJKxYS_LCn" width="91" height="55" /&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" src="http://t2.gstatic.com/images?q=tbn:ANd9GcT0Q-YPPux1dF3AxZ9bPZeutwNjDHml94-kPDeh2e2ZDqppB9doDw" width="104" height="28" /&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" src="http://t3.gstatic.com/images?q=tbn:ANd9GcQ4YuhIZkFxMopwTmUercbr3gFLwxSIfYkl0HR_hFvflya6Sd1R" /&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" src="http://t3.gstatic.com/images?q=tbn:ANd9GcR-E3x-uzuK27LrDyCMak8MPV7AdXuX_cATKaWEqCIJ3e-uvNY" /&gt;&lt;img src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBhMSDhUSExQUFBUWGRwXGBgVFxgeHRweHBMcIBcbHRQYHTIgIxspGhobKy8kJCspMC4sHiA3NzwsNSgtLCkBCQoKDgwNGg8PGS8kHiEwLjUzMDEsLTQqNSwwLjQpNSkvLCwuLCw1MCwvNCwuLzUvLDQsLCk0NSw0LCwsKik0LP/AABEIACQAxAMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAABQYBAwQHAv/EAD8QAAECBAMEBgUJCQEAAAA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NTLzBJuSWnOOvuxulMPnmiS2zNIJscrTl/9Yw0wACHbhbZk3bditeEYWuZdDaO9Sjokcz+Q4xfDtJL16ApxwjJui6VaqpQjP87t04RSWJTEEBQQ1NpCiSrK0sVJ1JomOX9n5r+WmPqXP0xZ7RIf9O+FRhLBsF045gi5VzKq6T7C6WI5dihyiwejBX7y9/aH4qYgXpXEFoyLam1IFOqppwi2mqYtHo3wZ9px1x1tbaVJDac4KSTnSTRJvSg1hK/0SHEWpjb6gIGy9RTpCCdIRy171mEIQRIQhBEhCEESEIQRIQhBEhCEESEIQRan2gRx8DHH0Mc1eYwhBE6GOavMYdDHNXmMIQROhjmrzGHQxzV5jCEEToY5q8xh0Mc1eYwhBE6GOavMY2S8mkKrcntNfthCCLthCEEX/9k=" width="147" height="33" /&gt;&lt;/p&gt;  &lt;p&gt;This guide attempts to walk you through installing a faxing solution on top of Asterisk that has FreePBX as it’s frontend GUI/dialplan generator.&lt;/p&gt;  &lt;p&gt;So for it to work, you need to be &lt;/p&gt;  &lt;p&gt;1) Using Debian (this is a Debian guide btw)    &lt;br /&gt;2) Have a working Asterisk     &lt;br /&gt;3) Running FreePBX 2.7 or higher (don’t need that if you do manual dialplans tho)&lt;/p&gt;  &lt;p&gt;The process is as follow:&lt;/p&gt;  &lt;p&gt;1) Create an IAX extension on FreePBX    &lt;br /&gt;2) Install IAXModem – Configure at least one virtual serial port     &lt;br /&gt;3) Install Hylafax – “Bind” the modem you just created above into Hylafax     &lt;br /&gt;4) Install Avantfax, create users and bind users to each virtual modem     &lt;br /&gt;5) Use Avantfax to login and retrieve/send faxes&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;FreePBX IAX extensions (the FAX number)&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;1) Create an IAX extension in FreePBX, insert the DID and CID so that calls can come into that extension    &lt;br /&gt;2) Click on the newly created IAX extension and modify the port (&lt;strong&gt;&lt;u&gt;do not use port 4569&lt;/u&gt;&lt;/strong&gt;, use anything else that does not conflict with your system’s UDP listening ports), example below is 4800 and the next IAX extension for fax can then use 4801, so on..&amp;#160; &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_bgHtjJo0yK0/TT5qMPaibjI/AAAAAAAAAlI/kFjKfDAy7Ew/s1600-h/image%5B2%5D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_bgHtjJo0yK0/TT5qNJy7V3I/AAAAAAAAAlM/hNWym6JXZmo/image_thumb.png?imgmax=800" width="244" height="26" /&gt;&lt;/a&gt;     &lt;br /&gt;3) Apply configuration     &lt;br /&gt;4) Go back to that extension again, and set requirecalltoken to no (needed on some versions of Asterisk)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Update apt and fix any broken apt installs      &lt;br /&gt;&lt;/strong&gt;1) # apt-get update     &lt;br /&gt;2) # apt-get -f install&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Install and configure IAXModem&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Install and configure first IAXModem which will then map to the newly created extension above. If you use device/user mode you need to fix the user to an extension and use the user as the username and password in the IAXModem setup below.&lt;/p&gt;  &lt;p&gt;1) # apt-get install gcc libtiff-tools libtiff4-dev    &lt;br /&gt;2) # apt-get install iaxmodem     &lt;br /&gt;3) # cd /etc/iaxmodem/     &lt;br /&gt;4) # wget &lt;a href="http://210.5.42.12/downloads/asterisk/fax/ttyIAX0"&gt;http://210.5.42.12/downloads/asterisk/fax/ttyIAX0&lt;/a&gt; (this is a sample config, which looks like below     &lt;br /&gt;5) # nano ttyIAX0 (see something like this below). Note, if you are running Asterisk on this box, then use 127.0.0.1 as your server IP&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;device&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; /dev/ttyIAX0      &lt;br /&gt;owner&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; uucp:uucp       &lt;br /&gt;mode&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 660       &lt;br /&gt;port&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 4800       &lt;br /&gt;refresh&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 50       &lt;br /&gt;server&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 127.0.0.1       &lt;br /&gt;peername&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 5500       &lt;br /&gt;secret&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 123456       &lt;br /&gt;codec&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ulaw       &lt;br /&gt;&lt;/font&gt;    &lt;br /&gt;6) Edit your inittab to add two lines for each ttyIAX modem you just created, example below     &lt;br /&gt;7) # nano /etc/inittab (NOTE: The last zeros are running numbers on IA00, m0, ttyIAX0)     &lt;br /&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;# Load iaxmodem      &lt;br /&gt;IA00:23:respawn:/usr/bin/iaxmodem ttyIAX0&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;# Load hylafax modem listener agent      &lt;br /&gt;m0:2345:respawn:/usr/sbin/faxgetty ttyIAX0&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;7b) Run # telinit q    &lt;br /&gt;The above will initialize /dev/ttyIAX0 or others if you’ve configured them&lt;/p&gt;  &lt;p&gt;8) Load your modems    &lt;br /&gt;9) # /etc/init.d/iaxmodem restart     &lt;br /&gt;10) # ps -ef |grep iaxmodem (you should see your first modem there)     &lt;br /&gt;11) On your asterisk server (run on the same server if it runs asterisk as well)     &lt;br /&gt;12) # asterisk –rx “iax2 show peers” (you should see that your extension above is now registered, in this case 5500) should show you OK&lt;/p&gt;  &lt;p&gt;IAXModem is now done and is registered to Asterisk (ready to receive calls, you can try and you will hear the ringing but no picks up yet, this is hylafax’s job done below..)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Install and configure Hylafax&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;1) # apt-get install openssh-server hylafax-server    &lt;br /&gt;2) configure hylafax     &lt;br /&gt;3) # faxsetup (when the faxsetup calls the faxaddmodem script, in this case just enter the modem name above which is ttyIAX0), it will then ask you to enter you country code, area code and phone number, enter anything you wish there. &lt;strong&gt;For the rest of the questions, enter default values [press enter all the way till the end]. &lt;/strong&gt;Finally it will probe our modem and if that worked it will say OK and tell you what class modem you’re running. If it prompts you to create another modem just terminate by pressing &amp;lt;CTRL+C&amp;gt;     &lt;br /&gt;3b) If you are merely adding new users just run # faxaddmodem instead of # faxsetup (which is done only once)     &lt;br /&gt;4) # telinit q (run # ps –ef |grep fax and you should see faxgetty there now)     &lt;br /&gt;5) For each modem you created in # faxaddmodem a file will be created in /etc/hylafax     &lt;br /&gt;6)&amp;#160; # nano /etc/hylafax/config.ttyIAX0, at the end of this file add the following     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;#      &lt;br /&gt;## Add for AvantFAX use       &lt;br /&gt;#       &lt;br /&gt;FaxRcvdCmd:&amp;#160;&amp;#160;&amp;#160;&amp;#160; bin/faxrcvd.php       &lt;br /&gt;DynamicConfig:&amp;#160; bin/dynconf.php       &lt;br /&gt;UseJobTSI:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; true       &lt;br /&gt;&lt;/font&gt;    &lt;br /&gt;8) # /etc/init.d/hylafax restart&lt;/p&gt;  &lt;p&gt;Hylafax setup done, the modem should pickup and you hear the modem sound&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Install and configure AvantFax&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;1) # apt-get install -y apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libpq5 libsqlite3-0 php5-cli php5-common mysql-server imagemagick libtiff4-dev netpbm libnetpbm10-dev libungif-bin libungif4-dev sudo php-mail php-mail-mime php-file php-db php5-mysql sudo php-mail php-mail-mime php-file php-db php5-mysql&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&amp;lt;Note: During the Avantfax install script for debian below, it may disable or remove other SMTP engine except postfix&amp;gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;2) # cd /usr/src    &lt;br /&gt;3) # wget &lt;a href="http://downloads.sourceforge.net/project/avantfax/avantfax-3.3.3.tgz"&gt;http://downloads.sourceforge.net/project/avantfax/avantfax-3.3.3.tgz&lt;/a&gt;     &lt;br /&gt;4) # tar -zxvf avantfax-3.3.3.tgz     &lt;br /&gt;5) # cd avantfax-3.3.3     &lt;br /&gt;6) # mv /usr/src/avantfax-3.3.3/avantfax /var/www/     &lt;br /&gt;7) # chmod -R 777 /var/www/avantfax/tmp /var/www/avantfax/faxes     &lt;br /&gt;8) # cd /var/spool/hylafax/bin     &lt;br /&gt;9) # mv faxrcvd faxrcvd.old     &lt;br /&gt;10) # mv notify notify.old     &lt;br /&gt;11) # ln -s /var/www/avantfax/includes/faxrcvd.php /var/spool/hylafax/bin/faxrcvd     &lt;br /&gt;12) # ln -s /var/www/avantfax/includes/notify.php /var/spool/hylafax/bin/notify     &lt;br /&gt;13) # mv /usr/bin/faxcover /usr/bin/faxcover.old     &lt;br /&gt;14) # ln -s /var/www/avantfax/includes/faxcover.php /usr/bin/faxcover     &lt;br /&gt;15) # cd /usr/src/avantfax-3.3.3     &lt;br /&gt;16) # nano create_tables.sql     &lt;br /&gt;17) on top of this file add “USE avantfax;” without quotes     &lt;br /&gt;18) # nano debian-prefs.txt (&lt;u&gt;IMPORTANT&lt;/u&gt;!: Ensure the settings here are correct, e.g. ROOTMYSQLPWD is the root MySQL user, supply its password, pay attention to the httpuser and httpgroup (you can do a ps –ef |grep apache and see what user apache2 is running)     &lt;br /&gt;19) Fix some apache logging requirements for Avantfax    &lt;br /&gt;20) # mkdir /etc/apache2/logs     &lt;br /&gt;21) # touch /etc/apache2/logs/avantfax-error_log    &lt;br /&gt;22) # /etc/init.d/apache2 start     &lt;br /&gt;Start install script.    &lt;br /&gt;23) # ./debian-install.sh (if you do not want to use postfix because you already have an email server, like exim, edit the file and remove the existence of the word postfix normally found at the line that says apt-get install, then, start. Install will start downloading packages, configuring postfix (if enabled), getting some pear perl stuff, &lt;strong&gt;(YOU SHOULD NOT SEE ANY ERRORS!)&amp;#160; &lt;br /&gt;&lt;/strong&gt;     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;You can now login to the WebUI at http(s)://&amp;lt;IPADDRESS&amp;gt;/avantfax/admin. You will be asked to change the password, please do that!&lt;/p&gt;  &lt;p&gt;AvantFax setup done&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Creating new users&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Firstly, create a category, e.g. Engineering Team, using the pulldown menu.&lt;/p&gt;  &lt;p&gt;For each modem you create (iaxmodem), create it also in AvantFax. Modems can be mapped to users, which is what we will do now. Under the pull-down menu, select modems. Create the modem when you configured iaxmodem above.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_bgHtjJo0yK0/TT5qNn_RmDI/AAAAAAAAAlQ/kMKlMT3uw1w/s1600-h/image%5B5%5D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_bgHtjJo0yK0/TT5qONU82WI/AAAAAAAAAlU/sZa9ZIvGbcE/image_thumb%5B1%5D.png?imgmax=800" width="244" height="184" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now, you need to create a new user:&lt;/p&gt;  &lt;p&gt;Under the pull-down menu, select new user: create a user and make sure you map him/her to a modem like below;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_bgHtjJo0yK0/TT5qOoCVGHI/AAAAAAAAAlY/h_6CRVMNhNo/s1600-h/image%5B10%5D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_bgHtjJo0yK0/TT5qQPZy62I/AAAAAAAAAlc/ye1rZV_-XIo/image_thumb%5B4%5D.png?imgmax=800" width="412" height="652" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;IMPORTANT! – When you create a new user, there’s a “bug” in hylafax that you also need to manually do it over the cli. So in this case, I've created user sanjay and must delete this user and recreate via cli like below; YOU MUST FOLLOW THE ORDER IN WHICH IS SHOWN AFTER CREATING A USER IN AVANTFAX UI ABOVE.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;# faxdeluser sanjay    &lt;br /&gt;# faxadduser sanjay&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_bgHtjJo0yK0/TT5qQfpkgmI/AAAAAAAAAlg/aFZ-PVXXiFs/s1600-h/image%5B17%5D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_bgHtjJo0yK0/TT5qRt-ckdI/AAAAAAAAAlk/hz2XDaHaSm0/image_thumb%5B7%5D.png?imgmax=800" width="377" height="128" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;It should not have any other objects/characters after the @ for the newly created regular users! as seen corrected above by the faxadduser command.. Make sure the name you created in Avantfax is similar and unique and match that name with the faxadduser command.&lt;/p&gt;  &lt;p&gt;Restart hylafax&lt;/p&gt;  &lt;p&gt;# /etc/init.d/hylafax restart&lt;/p&gt;  &lt;p&gt;Now, you should be able to send the fax in to this user/extension and log on to the WebUI or you can receive an fax-to-email email.&lt;/p&gt;  &lt;p&gt;Regular users can login to: http(s)://&amp;lt;IPADDRESS&amp;gt;/avantfax/ and start receiving and sending faxes.&lt;/p&gt;  &lt;p&gt;Here’s a test fax i just received without any modification to the graphics and what not:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_bgHtjJo0yK0/TT5qSEDo34I/AAAAAAAAAlo/sFQy5hY8GiY/s1600-h/image%5B21%5D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_bgHtjJo0yK0/TT5qSlAow7I/AAAAAAAAAls/7RbozBvrqsw/image_thumb%5B9%5D.png?imgmax=800" width="544" height="425" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;To create more users:&lt;/p&gt;  &lt;p&gt;1) Create a FreePBX extension like shown above (make sure you use unique port numbers, like 4801….4802….4803…etc)    &lt;br /&gt;2) Create an IAX modem (you can copy the ttyIAX0 config file to another file, say #cp ttyIAX0 ttyIAX1, modify that 1 file to match the FreePBX extension info you just created on FreePBX), follow the rest of the steps there to restart and create the inittab entry, like below (for ttyIAX1) : NOTICE the underlined values go up as we add new modems.     &lt;br /&gt;    &lt;br /&gt;&lt;font face="Courier New"&gt;# Load modem      &lt;br /&gt;IA00:23:respawn:/usr/bin/iaxmodem ttyIAX0       &lt;br /&gt;IA0&lt;u&gt;1&lt;/u&gt;:23:respawn:/usr/bin/iaxmodem ttyIAX&lt;u&gt;1&lt;/u&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;# Faxgetty      &lt;br /&gt;m0:2345:respawn:/usr/sbin/faxgetty ttyIAX0       &lt;br /&gt;m&lt;u&gt;1&lt;/u&gt;:2345:respawn:/usr/sbin/faxgetty ttyIAX&lt;u&gt;1&lt;/u&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;3) # /etc/init.d/iaxmodem restart &amp;amp;&amp;amp; tellinit q    &lt;br /&gt;4) Add hylafax, faxmodem, #faxaddmodem, choose ttyIAX1 now and so on..     &lt;br /&gt;5) # /etc/init.d/hylafax restart     &lt;br /&gt;6) Create modem in AvantFax called ttyIAX1, create user, say john and map to ttyIAX1     &lt;br /&gt;7) # faxdeluser john     &lt;br /&gt;8) # faxadduser john     &lt;br /&gt;9) # /etc/init.d/hylafax restart     &lt;br /&gt;10) That user can log in to http(s)://&amp;lt;IPADDRESS&amp;gt;/avantfax/&lt;/p&gt;  &lt;p&gt;If you wish to get help with all of these and more customization, contact us at &lt;a href="mailto:sales@intuit.my"&gt;sales@intuit.my&lt;/a&gt; and ask for the membantu24 support packages!&lt;/p&gt;  &lt;p&gt;As usual, your feedback is much appreciated. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-6945086745111791218?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/5nHFUkkwUiA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/6945086745111791218/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=6945086745111791218&amp;isPopup=true" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/6945086745111791218?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/6945086745111791218?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/5nHFUkkwUiA/asterisk-freepbx-iaxmodem-hylafax.html" title="Asterisk &amp;amp; FreePBX Faxing Solution with IAXModem + Hylafax + AvantFax" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/_bgHtjJo0yK0/TT5qNJy7V3I/AAAAAAAAAlM/hNWym6JXZmo/s72-c/image_thumb.png?imgmax=800" height="72" width="72" /><thr:total>7</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/01/asterisk-freepbx-iaxmodem-hylafax.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QAQnw7eyp7ImA9Wx9WFUk.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-7130163170131440679</id><published>2011-01-21T00:35:00.001+08:00</published><updated>2011-01-21T00:35:43.203+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-21T00:35:43.203+08:00</app:edited><title>Cancelling an iPhone AppStore Application Install</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JVbKHt3ACW-hvOKcj-yTTpE1hIU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JVbKHt3ACW-hvOKcj-yTTpE1hIU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JVbKHt3ACW-hvOKcj-yTTpE1hIU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JVbKHt3ACW-hvOKcj-yTTpE1hIU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t1.gstatic.com/images?q=tbn:ANd9GcThjbSvcxrd4iFPwP4ZyvfuUwPgnh3Xrw-mG1kHJPHtz9urZ9qwRg" /&gt;&lt;/p&gt;  &lt;p&gt;Thought i’d write this if someone needs some assistance.&lt;/p&gt;  &lt;p&gt;Iphone installations using the Appstore while it’s a magical experience, it freaked me out when i had tried to download a game that was over 240MB but i wanted to cancel it and can’t do it on the phone itself (at least for when i tried it). Even though it was on a WiFi i am not fitting my lil pocket rocket with that kinda sized app!&lt;/p&gt;  &lt;p&gt;Anyway, to do this is simple. If you wish to cancel or delete a download happening in your Phone right now, simply go to your PC’s/Mac’s iTunes, plug in the iPhone and stop the download there, under the Downloads below STORE (see pic below). Click or Right click (on PCs) and say delete or something…and you’re done! And it will sync the action back to the phone and no more downloading baby!+&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_bgHtjJo0yK0/TThkPKfLvEI/AAAAAAAAAlA/GrsBsHHxis8/s1600-h/image%5B3%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_bgHtjJo0yK0/TThkP52HauI/AAAAAAAAAlE/sG2BAavibXc/image_thumb%5B1%5D.png?imgmax=800" width="321" height="292" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;PS&amp;gt; Lovin the iPhone!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-7130163170131440679?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/dVuZGfhV0y4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/7130163170131440679/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=7130163170131440679&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/7130163170131440679?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/7130163170131440679?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/dVuZGfhV0y4/cancelling-iphone-appstore-application.html" title="Cancelling an iPhone AppStore Application Install" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/_bgHtjJo0yK0/TThkP52HauI/AAAAAAAAAlE/sG2BAavibXc/s72-c/image_thumb%5B1%5D.png?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2011/01/cancelling-iphone-appstore-application.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQBSXg5cSp7ImA9Wx9RGU8.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-8196362746333323796</id><published>2010-12-21T18:45:00.001+08:00</published><updated>2010-12-21T18:45:58.629+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-21T18:45:58.629+08:00</app:edited><title>Asterisk 1.8.1.1 Fixes Google Voice Out</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8nZ4H707S7PcWToGfiI4z5KQ4xk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8nZ4H707S7PcWToGfiI4z5KQ4xk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8nZ4H707S7PcWToGfiI4z5KQ4xk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8nZ4H707S7PcWToGfiI4z5KQ4xk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This release fixes the Google Voice out bug. So this would then supersede any patching needed to get Google Voice working on Asterisk 1.8&lt;/p&gt;  &lt;p&gt;Get it from asterisk.org&lt;/p&gt;  &lt;p&gt;Cheers!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-8196362746333323796?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/V1_J-fWdlvU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/8196362746333323796/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=8196362746333323796&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/8196362746333323796?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/8196362746333323796?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/V1_J-fWdlvU/asterisk-1811-fixes-google-voice-out.html" title="Asterisk 1.8.1.1 Fixes Google Voice Out" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2010/12/asterisk-1811-fixes-google-voice-out.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04HRXc8fSp7ImA9Wx9RF0o.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-2989422016047811255</id><published>2010-12-19T23:18:00.001+08:00</published><updated>2010-12-19T23:18:54.975+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-19T23:18:54.975+08:00</app:edited><title>Merry Christmas and a Happy New Year 2011</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7M2Zuvz1ep9qwF76FGKZbA6tKzc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7M2Zuvz1ep9qwF76FGKZbA6tKzc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7M2Zuvz1ep9qwF76FGKZbA6tKzc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7M2Zuvz1ep9qwF76FGKZbA6tKzc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.iloverubberstamps.com/3_christmas_holidays/43_merry_christmas_tree.gif" /&gt;&lt;/p&gt;  &lt;p&gt;From all us at Intuittech Sdn Bhd, we wish you Merry Christmas and a Happy New Year. We all hope that the year that is to pass has brought much experience and will pave to an exciting 2011.&lt;/p&gt;  &lt;p&gt;Next year will indeed be a very exciting year for us at Intuit and we hope in the spirit of opensource, community ties and knowledge sharing, we build more and more powerful products and solutions around our fave duo, Nagios and Asterisk.&lt;/p&gt;  &lt;p&gt;We at Intuit will surely but humbly expand in both knowledge and people., but we will not forget we are just in our infancy and we need to learn and grow more, there’s so much we can do and so much that we will. For that, we will need to continue to be as aggressive or if not more, positive and outstanding as we were in 2010.&lt;/p&gt;  &lt;p&gt;With your kind support, our continuous passion and with our single most important asset, our folks at Intuit, God bless, we will make it happen.&lt;/p&gt;  &lt;p&gt;Thank you everyone..&lt;/p&gt;  &lt;p&gt;With respect and best wishes from the engineering office,&lt;/p&gt;  &lt;p&gt;Sanjay,    &lt;br /&gt;CTO of Intuittech Sdn Bhd&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-2989422016047811255?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/dV-FaNNvrkA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/2989422016047811255/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=2989422016047811255&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/2989422016047811255?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/2989422016047811255?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/dV-FaNNvrkA/merry-christmas-and-happy-new-year-2011.html" title="Merry Christmas and a Happy New Year 2011" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2010/12/merry-christmas-and-happy-new-year-2011.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcGQ34yeCp7ImA9Wx9RF0o.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-9045297580104128442</id><published>2010-12-19T22:47:00.001+08:00</published><updated>2010-12-19T22:47:02.090+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-19T22:47:02.090+08:00</app:edited><title>Nagios Bulk Host Creator (and other bulk operations, if you wish) straight into nagios format</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KvvDet1tyanhTDaz9NLQ5R8i1l0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KvvDet1tyanhTDaz9NLQ5R8i1l0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KvvDet1tyanhTDaz9NLQ5R8i1l0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KvvDet1tyanhTDaz9NLQ5R8i1l0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://3.bp.blogspot.com/_wEtkaYiEOpY/TLg2H5n9EII/AAAAAAAAAzs/0CNFCCqnOrg/s320/nagios_logo.png" /&gt;&lt;/p&gt;  &lt;p&gt;I was at the office today and had to create more than 150 hosts and to create it one by one even with a text editor or WUIs, it can be very taxing. So being the lazy guy that i am, i created this script to generate as many hosts and as an addon, create hostgroup list so that you just need to copy and paste into the hostgroup definition. &lt;/p&gt;  &lt;p&gt;This is to create the first of steps when defining Nagios hosts. It of course can be used to generate similar items if they are repeated.&lt;/p&gt;  &lt;p&gt;Pre-requisite:&lt;/p&gt;  &lt;p&gt;1) You need csvtool (apt-get install csvtool or yum)&lt;/p&gt;  &lt;p&gt;So, in essence here are the steps &lt;/p&gt;  &lt;p&gt;1) Create a CSV file (in excel or in text editor) with at least 3 fields, hostname, description and IP address. This is probably what your customer had given or your existing inventory.&lt;/p&gt;  &lt;p&gt;Example:&lt;/p&gt;  &lt;p&gt;MIS-M-3-ASW,MIS Admin Switch 3,192.168.199.103&lt;/p&gt;  &lt;p&gt;Where, MIS-M-3-ASW is the hostname, MIS Admin Switch 3 is the description and of course 192.168.199.103 is that hosts IP address&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;2) Create a script as seen below #nano ngenerator.sh and make it executable #chmod +x ngenerator.sh&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;font face="Courier New"&gt;###START ###&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;#!/bin/bash     &lt;br /&gt;# sanjay@intuit.my      &lt;br /&gt;#      &lt;br /&gt;hosttemplate=switches-host # nagios template to use      &lt;br /&gt;inputfile=master.csv # inputfile in csv format only      &lt;br /&gt;outputhost=hosts.txt # the output for hosts definition which you can copy paste into nagios      &lt;br /&gt;outputservices=services.txt # the output for services (all these hosts) definition which you can copy paste into nagios      &lt;br /&gt;columns=&amp;quot;1-3&amp;quot; #define like 3-4 to read column 3-4 etc&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;font face="Courier New"&gt;#start check tool     &lt;br /&gt;testcsvtool=`which csvtool`      &lt;br /&gt;if [[ $? == &amp;quot;1&amp;quot; ]]; then      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; clear      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;ERROR&amp;quot;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;No csvtool software found, do a 'apt-get install csvtool' or 'yum install csvtool'&amp;quot;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; exit 1      &lt;br /&gt;fi&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;#start script     &lt;br /&gt;listdata=`csvtool -t ',' col $columns $inputfile`      &lt;br /&gt;IFS=`echo -en &amp;quot;\n\b&amp;quot;`      &lt;br /&gt;echo &amp;quot;&amp;quot; &amp;gt; $outputhost &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;# to add all this in hosts.cfg     &lt;br /&gt;# modify accordingly      &lt;br /&gt;for i in $listdata; do       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; #set these      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; field1=`echo $i | cut -d &amp;quot;,&amp;quot; -f 1`      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; field2=`echo $i | cut -d &amp;quot;,&amp;quot; -f 2`      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; field3=`echo $i | cut -d &amp;quot;,&amp;quot; -f 3`&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;&amp;quot; &amp;gt;&amp;gt; $outputhost     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;# $field1&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;#----------------------------------------------------------------------&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;define host{&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; use&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $hosttemplate&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; host_name&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $field1&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; alias&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $field2&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; display_name&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $field2&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; address&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $field3&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;}&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;#----------------------------------------------------------------------&amp;quot; &amp;gt;&amp;gt; $outputhost      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;&amp;quot; &amp;gt;&amp;gt; $outputhost&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;done&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;# to add all this in services.cfg     &lt;br /&gt;echo &amp;quot;&amp;quot; &amp;gt; $outputservices      &lt;br /&gt;for i in $listdata; do       &lt;br /&gt;field1=`echo $i | cut -d &amp;quot;,&amp;quot; -f 1`      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo -n &amp;quot;$field1,&amp;quot; &amp;gt;&amp;gt; $outputservices      &lt;br /&gt;done      &lt;br /&gt;exit 0&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;###END###&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;3) Define settings like the &lt;strong&gt;hosttemplate&lt;/strong&gt; name you already created, &lt;strong&gt;inputfile &lt;/strong&gt;file name (the csv file), the &lt;strong&gt;outputhost &lt;/strong&gt;file name (will be the file you use to copy and paste into Nagios, &lt;strong&gt;outputservices&lt;/strong&gt; file where you can use this that lists all the hosts that were imported from your CSV file (you can use e.g. to add to hostgroup or a minimum ping for instance) and the &lt;strong&gt;columns&lt;/strong&gt; in the csv. If you have more than 3 values in your CSV you need to adjust this value and also the amount of fields you wish to import (field1, field2, field3 is currently defined).&lt;/p&gt;  &lt;p&gt;4) Run the script and it will take the input csv file and generate your output files hosts.txt and services.txt&lt;/p&gt;  &lt;p&gt;5) Paste into your actual nagios host configuration directly, restart nagios daemon. &lt;/p&gt;  &lt;p&gt;You can of course define a lot of other stuff if you wish. Just get a little creative. But this script should already help you a lot a little with the initial script creation.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-9045297580104128442?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/GpA8G2240DQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/9045297580104128442/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=9045297580104128442&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/9045297580104128442?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/9045297580104128442?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/GpA8G2240DQ/nagios-bulk-host-creator-and-other-bulk.html" title="Nagios Bulk Host Creator (and other bulk operations, if you wish) straight into nagios format" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_wEtkaYiEOpY/TLg2H5n9EII/AAAAAAAAAzs/0CNFCCqnOrg/s72-c/nagios_logo.png" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2010/12/nagios-bulk-host-creator-and-other-bulk.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMBRHY8eyp7ImA9Wx9RFU8.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-3261143732409489589</id><published>2010-12-17T03:07:00.001+08:00</published><updated>2010-12-17T03:07:35.873+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-17T03:07:35.873+08:00</app:edited><title>Google Plans To Give Chrome Notebooks only in the US! for the price of your privacy!</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/q-nkfPUDMBraHHlI94N9xrPlX88/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/q-nkfPUDMBraHHlI94N9xrPlX88/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/q-nkfPUDMBraHHlI94N9xrPlX88/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/q-nkfPUDMBraHHlI94N9xrPlX88/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Here’s what popped up while surfing around on Google Chrome&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_bgHtjJo0yK0/TQpjY9TPgUI/AAAAAAAAAkk/GpgArRg9y_M/s1600-h/image%5B4%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_bgHtjJo0yK0/TQpjZionawI/AAAAAAAAAko/wPM58oGQyY0/image_thumb%5B2%5D.png?imgmax=800" width="463" height="57" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Me being a cheapskate or an opportunist more like it, i did apply, and this form appeared through a proper URL:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_bgHtjJo0yK0/TQpjaNinZpI/AAAAAAAAAks/_DrVQD3Gjl4/s1600-h/image%5B12%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_bgHtjJo0yK0/TQpja8dwTwI/AAAAAAAAAkw/N2_lTHKz-Yc/image_thumb%5B6%5D.png?imgmax=800" width="472" height="53" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_bgHtjJo0yK0/TQpjck_vM5I/AAAAAAAAAk0/Dqcxi421RPo/s1600-h/image%5B8%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_bgHtjJo0yK0/TQpjdrQND0I/AAAAAAAAAk4/nTfP5YF0ldM/image_thumb%5B4%5D.png?imgmax=800" width="467" height="549" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Scary Highlights of their terms: &lt;/p&gt;  &lt;p&gt;I authorize Google to collect anonymous browsing statistics and other usage data for tracking and analysis purposes as outlined in the Google Privacy Policy, located at &lt;a href="http://www.google.com/privacypolicy.html"&gt;http://www.google.com/privacypolicy.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;US Only part…sniff sniff: &lt;/p&gt;  &lt;p&gt;I understand that Google will only ship the device to a US-based address and cannot send this device to a P.O. Box or address outside of the US&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-3261143732409489589?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/wodOsSwcT6c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/3261143732409489589/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=3261143732409489589&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/3261143732409489589?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/3261143732409489589?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/wodOsSwcT6c/google-plans-to-give-chrome-notebooks.html" title="Google Plans To Give Chrome Notebooks only in the US! for the price of your privacy!" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/_bgHtjJo0yK0/TQpjZionawI/AAAAAAAAAko/wPM58oGQyY0/s72-c/image_thumb%5B2%5D.png?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2010/12/google-plans-to-give-chrome-notebooks.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUDRHcyfSp7ImA9Wx9REk4.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-6990441278354312978</id><published>2010-12-13T16:48:00.001+08:00</published><updated>2010-12-13T16:51:15.995+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-13T16:51:15.995+08:00</app:edited><title>Unified Communications?– Use Google and Asterisk!</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zE_bb9M0gOLhgmcbbSEa41qYozM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zE_bb9M0gOLhgmcbbSEa41qYozM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zE_bb9M0gOLhgmcbbSEa41qYozM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zE_bb9M0gOLhgmcbbSEa41qYozM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t2.gstatic.com/images?q=tbn:ANd9GcR_4oewQL-zvIrnvX1xx7CZ9b-bStWzvh2GT7MsYyO3rxeyk_I0GQ" width="101" height="120" /&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t2.gstatic.com/images?q=tbn:ANd9GcRNGMuJG1IwHLMR0q3iUVGVHkfFcz_Fz7d6upt2sWSr5MyfteBL" width="111" height="103" /&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t3.gstatic.com/images?q=tbn:ANd9GcTl3dD44AQSNRhKsv5p91y1qmtQUL1d4smf9cSIMQhbosXLzFbjHg" width="82" height="110" /&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t0.gstatic.com/images?q=tbn:ANd9GcRduJh8JzTszPnp_qSxoPf3BScSPL5J3tmt4FpQBAfz6bG54Tp_" width="92" height="70" /&gt;&lt;img src="http://t0.gstatic.com/images?q=tbn:ANd9GcTTlHOSHE6lNDH5isy6_KBQTW1rTdkU2j_52BmeY2cshqqDu3MS" width="87" height="91" /&gt;&lt;/p&gt;  &lt;p&gt;Over the past two weekends, I've dwelled in some not-so-light weighted testing of the spanking new Asterisk 1. 8 PBX. While honestly, there’s not a world of improvements from its already awesome predecessors but heck, its technically only a minor version update from the powerhouses 1.4 and 1.6. While there are many tiny yet significant changes, the ones that I've had a chance to work on (as also seen in this blog) are;&lt;/p&gt;  &lt;p&gt;1) Google Talk/Voice (and oh, jabber)&lt;/p&gt;  &lt;p&gt;2) Calendaring&lt;/p&gt;  &lt;p&gt;3) Festival Text To Speech Engine&lt;/p&gt;  &lt;p&gt;See, in contrast these three alone, comprise of probably 90% of what those big boys like Microsoft, Cisco and Ayava would claim Unified Communications on their offerings and thus swoop your left leg out of your budget should you then want/need it. Fret not homies, read on..there’s hope with quality and just about nothing spent on software!&lt;/p&gt;  &lt;p&gt;Google boasts it’s business apps which is free for 200 users, mostly useless, but some really cool and completely integrated! Like GMail, Google Calendaring, Google Chat, Google Talk and Google Voice!&lt;/p&gt;  &lt;p&gt;The missing link here, is, corporatization of these services and not pocketed or isolations.&lt;/p&gt;  &lt;p&gt;Office PBXes are probably the first “corporatization” of a communication medium, next to email (but even that’s sometimes are disparate). People don’t really care if you are from @somedomain vs @someotherdomain, as long as you have a domain, you are regarded a more “serious” fish in the sea.&lt;/p&gt;  &lt;p&gt;Now, lets jive!. Imagine, if you have a corporate PBX that can integrate with Google Business Apps! Imagine these;&lt;/p&gt;  &lt;p&gt;1) Being able to make calls to the rest of the millions of Google (Talk) users worldwide for completely free&lt;/p&gt;  &lt;p&gt;2) Send and receive messages via Google, route them through your cellphone and let your phone read that message to you and vis-a-viz reply a person from your cellphone back!&lt;/p&gt;  &lt;p&gt;3) Let your PBX read out your calendar events and write impromptu events when on the GO&lt;/p&gt;  &lt;p&gt;4) Put yourself as “busy” on your Google status and all calls now go to your voicemail&lt;/p&gt;  &lt;p&gt;5) When a call comes to you, let the PBX decide, how to reach you? Your desk phone, cellphone, skype, google-talk, send you an SMS or an instant message that you got a call, do what ever. You can be reached and the lowest cost is decided by the system!&lt;/p&gt;  &lt;p&gt;6) Send Fax? Sure, but its only the most ancient way of communicating, hah! But yea go crazy, how do you wish it delivered? Read it to you over the phone? Sure. Print out straight to your printer/fax, easy!. Send it as an email, anytime!&lt;/p&gt;  &lt;p&gt;7) With a Text-To-Speech engine and the capability to do just about any dial-plan, use your PBX to read not only calendars, but things like your email, your tasks, your RSS feeds…google docs? yea, that also…&lt;/p&gt;  &lt;p&gt;8) With Google, you have a single UI when you sign in, to call/chat/email friends straight from your browser and integrates with your PBX or the other way around&lt;/p&gt;  &lt;p&gt;I am tickled silly with these capabilities. It really lies in the mind what you wish to build. The rest, coding etc, get a guy &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://lh3.ggpht.com/_bgHtjJo0yK0/TQXd2elwWsI/AAAAAAAAAkg/0EZDo3g1xBs/wlEmoticon-smile%5B2%5D.png?imgmax=800" /&gt;…&lt;/p&gt;  &lt;p&gt;I hope organizations will soon come to realize the power of Asterisk 1.8 with its partner in crime Google Apps! Happy building.&lt;/p&gt;  &lt;p&gt;From the Intuittech Geek (engineering) Office,&lt;/p&gt;  &lt;p&gt;Sanjay&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-6990441278354312978?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/2Yl9JDDD8to" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/6990441278354312978/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=6990441278354312978&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/6990441278354312978?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/6990441278354312978?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/2Yl9JDDD8to/unified-communications-use-google-and.html" title="Unified Communications?– Use Google and Asterisk!" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/_bgHtjJo0yK0/TQXd2elwWsI/AAAAAAAAAkg/0EZDo3g1xBs/s72-c/wlEmoticon-smile%5B2%5D.png?imgmax=800" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2010/12/unified-communications-use-google-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08GR3c4cCp7ImA9Wx9REU0.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-3274342791521270426</id><published>2010-12-12T04:42:00.001+08:00</published><updated>2010-12-12T05:10:26.938+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-12T05:10:26.938+08:00</app:edited><title>Asterisk 1.8 Calendaring with text to speech reading out your calendar info</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2Yw7vpuO7VYZ-b2q2jp1zix9dI4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2Yw7vpuO7VYZ-b2q2jp1zix9dI4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2Yw7vpuO7VYZ-b2q2jp1zix9dI4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2Yw7vpuO7VYZ-b2q2jp1zix9dI4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t2.gstatic.com/images?q=tbn:ANd9GcQZZjaVzGn8UvdsW4TPkNYoQOswXjSxfqwwq2V4G7JOhgG2i1UqwA" width="78" height="66" /&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t1.gstatic.com/images?q=tbn:ANd9GcTkCfmllZ3i3b_7n0evjHldYx5A7JqzgGjzsRakxTrJ4Y-p40C7Lg" /&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" border="0" src="http://t3.gstatic.com/images?q=tbn:ANd9GcRDjKz6IYrzJsblafq6_ZiFszuMyrv6xKU9MZfr6MElEHqt6CIB" width="66" height="66" /&gt;&lt;/p&gt;  &lt;p&gt;The Asterisk Calendaring API aims to be a generic interface for integrating Asterisk with various calendaring technologies. The goal is to be able to support reading and writing of calendar events as well as allowing notification of pending events through the Asterisk dialplan.&lt;/p&gt;  &lt;p&gt;There are three calendaring modules that ship with Asterisk that provide support for iCalendar, CalDAV, and Microsoft Exchange Server calendars. All three modules support event notification. Both CalDAV and Exchange support reading and writing calendars, while iCalendar is a read-only format.&lt;/p&gt;  &lt;p&gt;NOTE: This is for Debians alike. Please modify accordingly for your own distros.&lt;/p&gt;  &lt;p&gt;What we are attempting here to do is to read the calendar event on an and in this example/setup a Google Calendar using its iCal link and read the event to the user of his latest schedule.&lt;/p&gt;  &lt;p&gt;The Google iCal is currently set to a public accessible link showing Malaysian holidays: (IN HTML FORMAT)&lt;/p&gt;  &lt;p&gt;&lt;a href="https://www.google.com/calendar/b/0/embed?src=en.malaysia%23holiday@group.v.calendar.google.com&amp;amp;ctz=Asia/Kuala_Lumpur&amp;amp;gsessionid=3UZQTRxAyF3erYCVGGIcMw"&gt;https://www.google.com/calendar/b/0/embed?src=en.malaysia%23holiday@group.v.calendar.google.com&amp;amp;ctz=Asia/Kuala_Lumpur&amp;amp;gsessionid=3UZQTRxAyF3erYCVGGIcMw&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;u&gt;Part 1 – Getting calendar for ical to work on Asterisk&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;You need to get Asterisk 1.8. &lt;/p&gt;  &lt;p&gt;Go to your preferred source directory, extract Asterisk source &lt;/p&gt;  &lt;p&gt;1) wget http://sourceforge.net/projects/freeassociation/files/libical/libical-0.44/libical-0.44.tar.gz/download&lt;/p&gt;  &lt;p&gt;2)&amp;#160; tar -zxvf libical-0.44.tar.gz&lt;/p&gt;  &lt;p&gt;3 cd libical-0.44&lt;/p&gt;  &lt;p&gt;4) ./configure&lt;/p&gt;  &lt;p&gt;5) make &amp;amp;&amp;amp; make install&lt;/p&gt;  &lt;p&gt;6) apt-get install libneon27 # or use yum&lt;/p&gt;  &lt;p&gt;7) apt-get install libneon27-dev # or use yum&lt;/p&gt;  &lt;p&gt;8)&amp;#160; (Re)compile and install asterisk (not going to show how here), do a “make menuselect” to ensure that Calendar and Internet Calendar Icalendar is enabled/selected&lt;/p&gt;  &lt;p&gt;9) nano /etc/asterisk/calendar.conf # add a sample, like below from google’s malaysia holidays ical file&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;[myholidays]     &lt;br /&gt;type = ical      &lt;br /&gt;url = &lt;/font&gt;&lt;font face="Courier New"&gt;http://www.google.com/calendar/ical/en.malaysia%23holiday%40group.v.calendar.google.com/public/basic.ics&lt;/font&gt;    &lt;br /&gt;&lt;font face="Courier New"&gt;refresh = 15     &lt;br /&gt;timeframe = 1576800&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;u&gt;Part 2 – Getting festival (the free text to speech engine), parts taken off a guide from &lt;a href="http://lodge.glasgownet.com/2009/05/20/asterisk-and-festival-integration/"&gt;here&lt;/a&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;1) apt-get install festival # install it with apt or yum&lt;/p&gt;  &lt;p&gt;2) nano /etc/festival.scm # modify some configs on how to parse the audio files&lt;/p&gt;  &lt;p&gt;3) Add the following inside this file (below), check to ensure the texts are properly copied, i had issues with that causing festival not to start and listen on TCP port 1314.&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;;; Enable access to localhost (needed by debian users)     &lt;br /&gt;(set! server_access_list '(&amp;quot;localhost\\.localdomain&amp;quot; &amp;quot;localhost&amp;quot;))&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;;; set italian voice (comment the following 2 lines to use british_american)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;;;; Command for Asterisk begin&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;font face="Courier New"&gt;(define (tts_textasterisk string mode)     &lt;br /&gt;&amp;quot;(tts_textasterisk STRING MODE)      &lt;br /&gt;Apply tts to STRING. This function is specifically designed for      &lt;br /&gt;use in server mode so a single function call may synthesize the string.      &lt;br /&gt;This function name may be added to the server safe functions.&amp;quot;      &lt;br /&gt;(let ((wholeutt (utt.synth (eval (list 'Utterance 'Text string)))))      &lt;br /&gt;(utt.wave.resample wholeutt 8000)      &lt;br /&gt;(utt.wave.rescale wholeutt 5)      &lt;br /&gt;(utt.send.wave.client wholeutt)))&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;;;; Command for Asterisk end&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;4) Copy the init script (so it will auto run next time you reboot)&lt;/p&gt;  &lt;p&gt;5) cp /usr/share/doc/festival/examples/festival.init /etc/init.d/festival&lt;/p&gt;  &lt;p&gt;6) chmod +x /etc/init.d/festival&lt;/p&gt;  &lt;p&gt;7)&amp;#160; update-rc.d festival defaults&lt;/p&gt;  &lt;p&gt;8) nano /etc/default/festival # add the line below inside&lt;/p&gt;  &lt;p&gt;9) RUN_FESTIVAL=yes&lt;/p&gt;  &lt;p&gt;10) nano /etc/asterisk/festival.conf # configure asterisk to use festival, make sure that cache directory exists and permission are okay&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;[general]     &lt;br /&gt;host=localhost      &lt;br /&gt;port=1314      &lt;br /&gt;usecache=yes      &lt;br /&gt;cachedir=/var/cache/asterisk/festival/      &lt;br /&gt;festivalcommand=(tts_textasterisk &amp;quot;%s&amp;quot; 'file)(quit)\n&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;11)&amp;#160; /etc/init.d/festival start # start festival&lt;/p&gt;  &lt;p&gt;12)&amp;#160; netstat -an |grep 1314 # it must exist with TCP listening on 0.0.0.0, otherwise, can try starting it manually to see any error # /usr/bin/festival --server --script /etc/festival.scm&amp;#160;&amp;#160; this is also good for debugging if the text file is sent to the festival server from asterisk&lt;/p&gt;  &lt;p&gt;12) Now, create some dialplans in /etc/asterisk/extensions.conf or anywhere related (like in freepbx would be /etc/asterisk/extension_custom.conf)&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;exten =&amp;gt; gc*cal,1,Answer     &lt;br /&gt;exten =&amp;gt; gc*cal,n,Set(i=${MATH(${EPOCH}+1576800,int)}) ; 1576800 is about half a year EPOCH      &lt;br /&gt;exten =&amp;gt; gc*cal,n,NoOp(Math func addon is ${i})      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Set(id=${CALENDAR_QUERY(myholidays,${EPOCH},${i})})      &lt;br /&gt;exten =&amp;gt; gc*cal,n,NoOp(Event NoOp ${CALENDAR_QUERY_RESULT(${id},summary)})      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Set(es=$[${CALENDAR_QUERY_RESULT(${id},summary)}])      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Set(es=$[${CALENDAR_QUERY_RESULT(${id},summary)}])      &lt;br /&gt;;      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(Event type is)      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(${es})      &lt;br /&gt;;      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Set(epochstart=${CALENDAR_QUERY_RESULT(${id},start)})      &lt;br /&gt;exten =&amp;gt; gc*cal,n,set(startdate=${STRFTIME(${epochstart},,%A%t %e%t %B%t %G%t)})      &lt;br /&gt;exten =&amp;gt; gc*cal,n,set(starttime=${STRFTIME(${epochstart},,%H%t %M%t)})&amp;#160; &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(start date)      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(${startdate})      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(start time)      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(${starttime} hours)      &lt;br /&gt;;       &lt;br /&gt;exten =&amp;gt; gc*cal,n,Set(epochend=${CALENDAR_QUERY_RESULT(${id},end)})      &lt;br /&gt;exten =&amp;gt; gc*cal,n,set(enddate=${STRFTIME(${epochend},,%A%t %e%t %B%t %G%t)})      &lt;br /&gt;exten =&amp;gt; gc*cal,n,set(endtime=${STRFTIME(${epochend},,%H%t %M%t)})&amp;#160; &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(end date)      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(${enddate})      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(end time)      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Festival(${endtime} hours)      &lt;br /&gt;;      &lt;br /&gt;exten =&amp;gt; gc*cal,n,Hangup&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;13) Remember to restart asterisk at least once for all these to work, as we are loading the calendar module and dialplans in it.&lt;/p&gt;  &lt;p&gt;14) You would need a phone that’s capable to dial letters (or change that dialplan to dial a number instead like exten =&amp;gt; 1000&lt;/p&gt;  &lt;p&gt;15) Dial from your phone gc*cal&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-3274342791521270426?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/rWvD5fNKKGU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/3274342791521270426/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=3274342791521270426&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/3274342791521270426?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/3274342791521270426?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/rWvD5fNKKGU/asterisk-18-calendaring-with-text-to.html" title="Asterisk 1.8 Calendaring with text to speech reading out your calendar info" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2010/12/asterisk-18-calendaring-with-text-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcCR3s-eSp7ImA9Wx9REEw.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-5376889133252249749</id><published>2010-12-11T01:38:00.001+08:00</published><updated>2010-12-11T04:14:26.551+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-11T04:14:26.551+08:00</app:edited><title>Google Voice on Asterisk 1.8 bug is now fixed!</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1jWi0dd-ITdnLEiD3DcYCU7HYzo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1jWi0dd-ITdnLEiD3DcYCU7HYzo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1jWi0dd-ITdnLEiD3DcYCU7HYzo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1jWi0dd-ITdnLEiD3DcYCU7HYzo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://t3.gstatic.com/images?q=tbn:ANd9GcRIPxa2ntkrVZqTtyDcS-9JQ0L6r_PuejqV1BSA1LzK3cTX_6oG" /&gt;&lt;/p&gt;  &lt;p&gt;When Asterisk 1.8 was released, it had a perfect integration with Google Voice @voice.google.com service. Sometime in the 4th week of November, this broke and Gtalk worked (calling other google accounts) but calling Google Voice (e.g calling to US numbers for Free), didn’t.&lt;/p&gt;  &lt;p&gt;I just saw this fixed in Digium’s bug tracker &lt;a href="https://issues.asterisk.org/bug_view_advanced_page.php?bug_id=18412"&gt;here&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Here’s how i got my current working Asterisk to apply the patch. I am sure there are more “polished” ways but this just worked for me&lt;/p&gt;  &lt;p&gt;1) Go to your Asterisk source directory, mine is #cd /usr/src/asterisk-1.8.0&lt;/p&gt;  &lt;p&gt;2) Go to the channels directory #cd channels&lt;/p&gt;  &lt;p&gt;3) Backup the original chan_gtalk.c to somewhere # mv chan_gtalk.c /usr/src/somebackup&lt;/p&gt;  &lt;p&gt;4) Get the patch # wget &lt;a href="http://svnview.digium.com/svn/asterisk/trunk/channels/chan_gtalk.c?revision=297958&amp;amp;pathrev=297958"&gt;http://svnview.digium.com/svn/asterisk/trunk/channels/chan_gtalk.c?revision=297958&amp;amp;pathrev=297958&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;5) Rename it #mv chan_gtalk.c\?revision\=297958 chan_gtalk.c&lt;/p&gt;  &lt;p&gt;6) Go back to asterisk source main directory #cd ..&lt;/p&gt;  &lt;p&gt;7) # ./configure&lt;/p&gt;  &lt;p&gt;8) make &amp;amp;&amp;amp; make install&lt;/p&gt;  &lt;p&gt;9) Stop and restart asterisk # asterisk –rx “core stop now”&lt;/p&gt;  &lt;p&gt;And voila! Google Voice worked again, just dialed a friend in US for free &amp;lt;joy&amp;gt;, my dialplan had exten =&amp;gt; _1. I dial straight from my Deskphone!&lt;/p&gt;  &lt;p&gt;Perfect! now lets enjoy our weekend, &lt;/p&gt;  &lt;p&gt;PS&amp;gt; If you want some (flexible) dialplans, here an article that can help you. Go to &lt;a title="http://highsecurity.blogspot.com/2010/11/googlevoice-asterisk-18-with-freepbx.html" href="http://highsecurity.blogspot.com/2010/11/googlevoice-asterisk-18-with-freepbx.html"&gt;http://highsecurity.blogspot.com/2010/11/googlevoice-asterisk-18-with-freepbx.html&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-5376889133252249749?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/2jEuJ7j3iU4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/5376889133252249749/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=5376889133252249749&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/5376889133252249749?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/5376889133252249749?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/2jEuJ7j3iU4/google-voice-on-asterisk-18-bug-is-now.html" title="Google Voice on Asterisk 1.8 bug is now fixed!" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2010/12/google-voice-on-asterisk-18-bug-is-now.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEMRn05eCp7ImA9Wx9RFU8.&quot;"><id>tag:blogger.com,1999:blog-7262335442574749724.post-1992759441655579765</id><published>2010-12-07T01:10:00.001+08:00</published><updated>2010-12-17T01:31:27.320+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-17T01:31:27.320+08:00</app:edited><title>Asterisk Script for Recordings to Move or Copy -n- number of days old (an archiving tool if you may)</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/c8NjQr5CqV2wGChpsy49NSpWHT4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c8NjQr5CqV2wGChpsy49NSpWHT4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/c8NjQr5CqV2wGChpsy49NSpWHT4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c8NjQr5CqV2wGChpsy49NSpWHT4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://t3.gstatic.com/images?q=tbn:ANd9GcT7unIJVkIQqu1wFgl8wSCGzmwr_Rc9_kXSnrtEQvrmZlZu-p9wMg" width="57" height="57" /&gt;&lt;img src="http://t1.gstatic.com/images?q=tbn:ANd9GcTkCfmllZ3i3b_7n0evjHldYx5A7JqzgGjzsRakxTrJ4Y-p40C7Lg" /&gt;&lt;/p&gt;  &lt;p&gt;Here’s' a script that moves or copies certain files (in my case Asterisk recordings) of anything above a certain date (as defined in the CLI) to a destination you pick.&lt;/p&gt;  &lt;p&gt;You must first define the sourcepath, sourcefilename, destination and an option to flag move or just copy.&lt;/p&gt; Place it anywhere and execute ./archivefiles 10   &lt;br /&gt;-&amp;gt; which means move/copy files that are over 10 days old from date to a desired location.   &lt;p&gt;You could of course run it in cron if you like on a regular basis. Say you run ./&lt;/p&gt;  &lt;p&gt;Here’s the script. Copy from the start till the end. &lt;/p&gt;  &lt;p&gt;1) nano /usr/bin/archivefiles # create it    &lt;br /&gt;2) paste start –&amp;gt; end of script below # copy the script     &lt;br /&gt;3) chmod +x /usr/bin/archivefiles # make it executable&lt;/p&gt;  &lt;p&gt;NOTE: Make sure your date/time in server is consistent/correct.&lt;/p&gt;  &lt;p&gt;###start###&lt;/p&gt;  &lt;p&gt;#!/bin/bash    &lt;br /&gt;# sanjay@intuit.my     &lt;br /&gt;# usage #archivefiles 10 (meaning archivefiles will find files older than 10 days to do a move or copy)     &lt;br /&gt;#     &lt;br /&gt;# DEFINE THESE     &lt;br /&gt;SOURCEPATH=/var/spool/asterisk/monitor/&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; # With trailing / (slash )     &lt;br /&gt;SOURCEFILENAME=*.wav&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; # filetype     &lt;br /&gt;DEST=/usr/src/mytestdst/&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; # With trailing / (slash )     &lt;br /&gt;MOVE=0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; # NOTE:0 - copy, 1 - move&lt;/p&gt;  &lt;p&gt;#    &lt;br /&gt;#     &lt;br /&gt;#     &lt;br /&gt;# START THE SCRIPT     &lt;br /&gt;# CHECK IF OLDER THAN VARIABLE DEFINED     &lt;br /&gt;#     &lt;br /&gt;OLDERTHAN=$1     &lt;br /&gt;if [[ $OLDERTHAN = &amp;quot;&amp;quot; ]]; then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;Define a period. Like 10 for 10 days&amp;quot;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; exit 1     &lt;br /&gt;else     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;&amp;quot;     &lt;br /&gt;fi&lt;/p&gt;  &lt;p&gt;# CHECK IF VALUE ENTERED IS AN INTEGER    &lt;br /&gt;#     &lt;br /&gt;if [ $OLDERTHAN ]; then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; if [ ! $(echo &amp;quot;$OLDERTHAN&amp;quot; | grep -E &amp;quot;^[0-9]+$&amp;quot;) ]; then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo $OLDERTHAN is not a valid integer.     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; exit 1     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; else     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; if ! [ $OLDERTHAN -ge 0 ] || ! [ $OLDERTHAN -le 10000 ]; then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo $OLDERTHAN is an invalid value. Range is [1-10000]     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; exit 1     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; fi     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; fi     &lt;br /&gt;fi&lt;/p&gt;  &lt;p&gt;# CHECK IF SOURCE DIRECTORY EXIST    &lt;br /&gt;#     &lt;br /&gt;if [[ -d $SOURCEPATH ]]; then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;OK - Source directory exits&amp;quot;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; cd $SOURCEPATH     &lt;br /&gt;else     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;Source Directory not found, check your settings... quitting&amp;quot;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; exit 1     &lt;br /&gt;fi&lt;/p&gt;  &lt;p&gt;grabfiles=`ls -l&amp;#160; $SOURCEPATH$SOURCEFILENAME | head -n 1 | grep -c &amp;quot;\-r&amp;quot;`    &lt;br /&gt;if [[ $grabfiles != &amp;quot;0&amp;quot; ]]; then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;OK - Source files exist&amp;quot;     &lt;br /&gt;else     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;Oops, no source files, check your settings...quitting&amp;quot;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; exit 1     &lt;br /&gt;fi     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;# CHECK IF DESTINATION EXISTS     &lt;br /&gt;#     &lt;br /&gt;if [ -d $DEST ]; then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;OK - Destination directory exits&amp;quot;     &lt;br /&gt;else     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; echo &amp;quot;Destination directory not found, check your settings... quitting&amp;quot;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; exit 1     &lt;br /&gt;fi&lt;/p&gt;  &lt;p&gt;# START OUR JOB, DEFINE ACTIONS    &lt;br /&gt;#     &lt;br /&gt;if [[ $MOVE = &amp;quot;1&amp;quot;&amp;#160; ]];then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; find&amp;#160; $SOURCEPATH$SOURCEFILENAME -mtime +$OLDERTHAN -exec mv -f {} $DEST \;     &lt;br /&gt;else     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; find&amp;#160; $SOURCEPATH$SOURCEFILENAME -mtime +$OLDERTHAN -exec cp -fpr {} $DEST \;     &lt;br /&gt;fi&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;###end###&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;---http://highsecurity.blogspot.com---
---RSS http://feeds.feedburner.com/highsecurity---&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7262335442574749724-1992759441655579765?l=highsecurity.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/IwhnZ/~4/PoEzlet4M58" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://highsecurity.blogspot.com/feeds/1992759441655579765/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7262335442574749724&amp;postID=1992759441655579765&amp;isPopup=true" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/1992759441655579765?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7262335442574749724/posts/default/1992759441655579765?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/IwhnZ/~3/PoEzlet4M58/asterisk-script-for-recordings-to-move.html" title="Asterisk Script for Recordings to Move or Copy -n- number of days old (an archiving tool if you may)" /><author><name>Sanjay WS</name><uri>http://www.blogger.com/profile/04318296929423691109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://4.bp.blogspot.com/_bgHtjJo0yK0/SmgIWxxmqwI/AAAAAAAAAUc/S7_elsGXVkM/S220/n651503572_3606.jpg" /></author><thr:total>4</thr:total><feedburner:origLink>http://highsecurity.blogspot.com/2010/12/asterisk-script-for-recordings-to-move.html</feedburner:origLink></entry></feed>

