<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:access="http://www.bloglines.com/about/specs/fac-1.0">
<access:restriction relationship="allow" />
<channel>
<title>adhearsion</title>
<link>http://adhearsion.pbwiki.com/</link>
<description>RecentChanges for adhearsion</description>
<image>
 <url>http://adhearsion.pbwiki.com/feedlogo.gif</url>
 <title>PBwiki</title>
 <link>http://pbwiki.com/</link>
</image>
<generator>PBwiki 3.7</generator>
<webMaster>support@pbwiki.com</webMaster>
 <item>
  <title>AsteriskHelloWorld</title>
  <link>http://adhearsion.pbwiki.com/AsteriskHelloWorld</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/AsteriskHelloWorld">AsteriskHelloWorld</a></h3>
This folder is a place to store extensions to Adhearsion. If you come from the Rails universe, these are like plugins.<br />Note: the components system is about to undergo a huge refactoring. For now, you only need to understand the aforementioned concept. Specifics of writing a component will be documented later as things solidify.<br /><span style="font-weight:bold;color:green;background-color:#cfc;">Writing your first dialplan<br />Using your favorite text editor, open the dialplan.rb file. You'll see a sample application that runs a Simon game. This is a simple game that just tests your memory.<br />adhearsion { simon = new_simon_game simon.start}<br />Starting your application</span><br />Installing Asterisk<br />While binary distributions are available for most platforms, Asterisk has always been simple to install from source, and it will likely stay that way.<br />]]></description>
  <pubDate>Fri, 06 Jun 2008 06:12:54 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>FrontPage</title>
  <link>http://adhearsion.pbwiki.com/FrontPage</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/FrontPage">FrontPage</a></h3>
Adhearsion<br /> source<span style="color:red;background-color:#fcc;"> (LGPL)</span> framework that, in simplest terms, improves<span style="color:red;background-color:#fcc;"> Asterisk development.</span><span style="font-weight:bold;color:green;background-color:#cfc;"> the way the world writes &quot;voice&quot; applications.</span> It rests above<span style="color:red;background-color:#fcc;"> an Asterisk system, handling parts or all</span><span style="font-weight:bold;color:green;background-color:#cfc;"> a popular open-source platform called Asterisk, abstracting its many pain points and domain complexity. With Adhearsion, the following benefits are experienced:<br />The concept</span> of<span style="font-weight:bold;color:green;background-color:#cfc;"> a &quot;voice application&quot; is fully recognized<br />Your application can be traded around. This enables code reuse and helps remove</span> the<span style="color:red;background-color:#fcc;"> dial plan and,</span><span style="font-weight:bold;color:green;background-color:#cfc;"> enormous amount of repetition</span> in<span style="color:red;background-color:#fcc;"> a few unique ways, manages access</span><span style="font-weight:bold;color:green;background-color:#cfc;"> the open-source voice world.<br />Implementation of your ideas are greatly simplified. This leads</span> to<span style="color:red;background-color:#fcc;"> Asterisk</span><span style="font-weight:bold;color:green;background-color:#cfc;"> less development time and more maintainability.<br />Your application can more easily integrate</span> with<span style="color:red;background-color:#fcc;"> several improved interfaces.</span><span style="font-weight:bold;color:green;background-color:#cfc;"> other technologies.</span> Becau]]></description>
  <pubDate>Fri, 06 Jun 2008 05:52:12 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>AsteriskHelloWorld</title>
  <link>http://adhearsion.pbwiki.com/AsteriskHelloWorld</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/AsteriskHelloWorld">AsteriskHelloWorld</a></h3>
<span style="color:red;background-color:#fcc;">Installing</span><span style="font-weight:bold;color:green;background-color:#cfc;">Your First</span> Adhearsion<span style="color:red;background-color:#fcc;"><br />At the moment, the trunk version of</span><span style="font-weight:bold;color:green;background-color:#cfc;"> Application<br />So you can dive in head-first, we'll first create an Adhearsion application before we have Adhearsion installed.<br />If you're new to Adhearsion, you should definitely be using</span> Adhearsion<span style="color:red;background-color:#fcc;"> contains a much newer</span> version<span style="color:red;background-color:#fcc;"> than the gem version, though the features are not yet completely equivalent.<br />Version 0.8.0<br />Version 0.8.0</span><span style="font-weight:bold;color:green;background-color:#cfc;"> 0.8.0. This</span> is<span style="font-weight:bold;color:green;background-color:#cfc;"> presently only available from</span> the<span style="color:red;background-color:#fcc;"> completely rewritten version of Adhearsion that's much more fresh, reliable, and cutting-edge.</span><span style="font-weight:bold;color:green;background-color:#cfc;"> Subversion repository but it will soon be made available through RubyGems.</span> To download<span style="color:red;background-color:#fcc;"> this version,</span><span style="font-weight:bold;color:green;background-color:#cfc;"> the code for version 0.8.0,</span> run the following command<span style="color:red;background-color:#fcc;"> with</span><span style="font-weight:bold;color:green;background-color:#cfc;"> (with the</span> Subversion<span style="color:red;background-color:#fcc;"> installed:</span><span style="font-weight:bold;color:green;background-color:#cfc;"> client installed):</span><br />svn co http://svn.adhearsion.com/trunk<span style="color:red;background-color:#fcc;"><br />To use</span><span style="font-weight:bold;color:green;background-color:#cfc;"> adhearsion<</span>]]></description>
  <pubDate>Fri, 06 Jun 2008 05:43:29 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>AsteriskHelloWorld</title>
  <link>http://adhearsion.pbwiki.com/AsteriskHelloWorld</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/AsteriskHelloWorld">AsteriskHelloWorld</a></h3>
Using Tarballs<br />You should go ahead and untar them:<br /> xzf<span style="color:red;background-color:#fcc;"> asterisk-1.4.2.tar.gz<br />tar</span><span style="font-weight:bold;color:green;background-color:#cfc;"> asterisk-1.4.2.tar.gztar</span> xzf<span style="color:red;background-color:#fcc;"> zaptel-1.4.1.tar.gz<br />tar</span><span style="font-weight:bold;color:green;background-color:#cfc;"> zaptel-1.4.1.tar.gztar</span> xzf libpri-1.4.0.tar.gz<br />Using Subversion<br /> co<span style="color:red;background-color:#fcc;"> http://svn.digium.com/svn/asterisk/tags/1.4.2<br />svn</span><span style="font-weight:bold;color:green;background-color:#cfc;"> http://svn.digium.com/svn/asterisk/tags/1.4.2svn</span> co<span style="color:red;background-color:#fcc;"> http://svn.digium.com/svn/zaptel/tags/1.4.1<br />svn</span><span style="font-weight:bold;color:green;background-color:#cfc;"> http://svn.digium.com/svn/zaptel/tags/1.4.1svn</span> co http://svn.digium.com/svn/libpri/tags/1.4.0<br />Leading Edge or Bleeding Edge?<br />With Asterisk, much as with the Linux kernel, you have a choice between running stable release code, or running experimental development code. Sometimes, it pays to use the development code because features (and less often, bugfixes) are present in the development code that are not available in the stable code. This decision is up to you. We recommend that you run the stable code until or unless you find there is a feature o]]></description>
  <pubDate>Fri, 06 Jun 2008 04:38:34 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>FrontPage</title>
  <link>http://adhearsion.pbwiki.com/FrontPage</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/FrontPage">FrontPage</a></h3>
Adhearsion<br /><span style="color:red;background-color:#fcc;">Welcome to the official wiki of the Adhearsion project,</span><span style="font-weight:bold;color:green;background-color:#cfc;">Adhearsion is</span> an<span style="color:red;background-color:#fcc;"> open-source</span><span style="font-weight:bold;color:green;background-color:#cfc;"> open source (LGPL)</span> framework<span style="color:red;background-color:#fcc;"> written</span><span style="font-weight:bold;color:green;background-color:#cfc;"> that,</span> in<span style="color:red;background-color:#fcc;"> Ruby for improving VoIP development!<br />If you're interested</span><span style="font-weight:bold;color:green;background-color:#cfc;"> simplest terms, improves Asterisk development. It rests above an Asterisk system, handling parts or all of the dial plan and,</span> in<span style="color:red;background-color:#fcc;"> becoming</span> a<span style="color:red;background-color:#fcc;"> documenter of Adhearsion, see</span><span style="font-weight:bold;color:green;background-color:#cfc;"> few unique ways, manages access to Asterisk with several improved interfaces. Because it runs as a separate daemon process and integrates through</span> the<span style="color:red;background-color:#fcc;"> Adhearsiondocumenters'mailinglist.</span><span style="font-weight:bold;color:green;background-color:#cfc;"> already present Gateway (AGI) and Manager (AMI) interfaces, configuring a context to use Adhearsion is as simple as adding a few lines to your dial plan or adding a user to manager.conf.<br />Adhearsion primarily uses the highly dynamic, object-oriented Ruby programming language with optional support for other languages such as</span>]]></description>
  <pubDate>Fri, 06 Jun 2008 04:36:05 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>What is Adhearsion</title>
  <link>http://adhearsion.pbwiki.com/What+is+Adhearsion</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous removed <a href="http://adhearsion.pbwiki.com/What+is+Adhearsion">What is Adhearsion</a>]]></description>
  <pubDate>Fri, 06 Jun 2008 04:35:43 +0000</pubDate>
  <category>del</category>
 </item>
 <item>
  <title>FrontPage</title>
  <link>http://adhearsion.pbwiki.com/FrontPage</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/FrontPage">FrontPage</a></h3>
Table of Contents<br />What is Adhearsion?<br /><span style="color:red;background-color:#fcc;">Choosing a Telephony Platform<br />Asterisk<br />FreeSwitch<br />Other Platforms</span><br />Hello World in Asterisk<br />Installing Adhearsion<br />]]></description>
  <pubDate>Fri, 06 Jun 2008 04:35:29 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>FrontPage</title>
  <link>http://adhearsion.pbwiki.com/FrontPage</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/FrontPage">FrontPage</a></h3>
Using the Adhearsion command line interface<br />Integrating Adhearsion and PHP<br /><span style="font-weight:bold;color:green;background-color:#cfc;">Choosing a Telephony Platform<br />Asterisk<br />FreeSwitch<br />Other Platforms</span><br />Server Management<br />Automate management and deployments with Capistrano+Adhearsion<br />]]></description>
  <pubDate>Fri, 06 Jun 2008 04:35:01 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>Controlling call flow</title>
  <link>http://adhearsion.pbwiki.com/Controlling+call+flow</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/Controlling+call+flow">Controlling call flow</a></h3>
Since<span style="color:red;background-color:#fcc;"> Adhearion</span><span style="font-weight:bold;color:green;background-color:#cfc;"> Adhearsion</span> is written in Ruby, it's very easy to change the flow logic of a phone call as it's processed in the system. You can for example ask what the extension that was called and provide special processing. For example.<br />case extension<br />when 1000<br />end<br />You can ask the user for input an adjust processing based on their entry.<br /> :play<span style="color:red;background-color:#fcc;"> =&amp;gt;</span><span style="font-weight:bold;color:green;background-color:#cfc;"> =&gt;</span> &quot;/tmp/instructions&quot;)<br />if user_value == 1<br />// do something<br />t = Time.now<br />hour = t.hour<br /> hour<span style="color:red;background-color:#fcc;"> &amp;gt;</span><span style="font-weight:bold;color:green;background-color:#cfc;"> &gt;</span> 20<br />// it's too late to receive phone calls. hangup<br />else<br />]]></description>
  <pubDate>Thu, 05 Jun 2008 07:34:41 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>Using eventsrb</title>
  <link>http://adhearsion.pbwiki.com/Using+eventsrb</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/Using+eventsrb">Using eventsrb</a></h3>
What if you want to hook into the Asterisk bindings and perform some custom logic on each call when it comes in but before it's handed to the dialplan?<br />What if you want to need to initialize or cleanup resources when your Adhearsion initializes and shuts down?<br /><span style="font-weight:bold;color:green;background-color:#cfc;">What if you have an enterprise messaging bus which is constantly sends messages to your application?</span><br />The events.rb file and the DSL surrounding it was invented for this reason.<br />Anatomy of events.rb<br />]]></description>
  <pubDate>Wed, 04 Jun 2008 05:09:00 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>Using eventsrb</title>
  <link>http://adhearsion.pbwiki.com/Using+eventsrb</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/Using+eventsrb">Using eventsrb</a>]]></description>
  <pubDate>Wed, 04 Jun 2008 05:07:59 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>Using eventsrb</title>
  <link>http://adhearsion.pbwiki.com/Using+eventsrb</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous added <a href="http://adhearsion.pbwiki.com/Using+eventsrb">Using eventsrb</a></h3>
<h1>Using events.rb</h1><br />
<p>&nbsp;</p><br />
<p>If you've ever created an Adhearsion application, you've probably poked through the events.rb file that's included in the root directory by default. Though its usage case may be initially opaque, consider the following scenarios:</p><br />
<p>&nbsp;</p><br />
<ul><br />
 <li>What if you want to perform an action when new Asterisk Manager Interface events occur?</li><br />
 <li>What if you want to hook into the Asterisk bindings and perform some custom logic on each call when it comes in but before it's handed to the dialplan?</li><br />
 <li>What if you want to need to initialize or cleanup resources when your Adhearsion initializes and shuts down?</li><br />
</ul><br />
<p>&nbsp;</p><br />
<p>The events.rb file and the DSL surrounding it was invented for this reason.</p><br />
<p>&nbsp;</p><br />
<h2>Anatomy of events.rb</h2><br />
<p>&nbsp;</p><br />
<p>The file is all pure-Ruby with a few user-friendly APIs exposed. You'll primarily need to register new event handlers with the following (example) syntax:</p><br />
<p>&nbsp;</p</p>]]></description>
  <pubDate>Wed, 04 Jun 2008 05:07:37 +0000</pubDate>
  <category>add</category>
 </item>
 <item>
  <title>FrontPage</title>
  <link>http://adhearsion.pbwiki.com/FrontPage</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/FrontPage">FrontPage</a></h3>
Integrating with Asterisk CDRs<br />LDAP Integration with ActiveLDAP<br />Using<span style="color:red;background-color:#fcc;"> eventsrb</span><span style="font-weight:bold;color:green;background-color:#cfc;"> events.rb</span><br />Integrating with Ruby on Rails<br />Creating a Rails+Adhearsion hybrid project<br />]]></description>
  <pubDate>Wed, 04 Jun 2008 04:58:57 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>FrontPage</title>
  <link>http://adhearsion.pbwiki.com/FrontPage</link>
  <author>email.hidden@example.com (Anonymous)</author>
  <description><![CDATA[<h3>Anonymous edited <a href="http://adhearsion.pbwiki.com/FrontPage">FrontPage</a></h3>
Integrating with Asterisk CDRs<br />LDAP Integration with ActiveLDAP<br /><span style="font-weight:bold;color:green;background-color:#cfc;">Using eventsrb</span><br />Integrating with Ruby on Rails<br />Creating a Rails+Adhearsion hybrid project<br />]]></description>
  <pubDate>Wed, 04 Jun 2008 04:58:36 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>Java</title>
  <link>http://adhearsion.pbwiki.com/Java</link>
  <author>email.hidden@example.com (justin grammens)</author>
  <description><![CDATA[<h3>justin grammens edited <a href="http://adhearsion.pbwiki.com/Java">Java</a>]]></description>
  <pubDate>Thu, 17 Apr 2008 06:46:18 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>Java</title>
  <link>http://adhearsion.pbwiki.com/Java</link>
  <author>email.hidden@example.com (justin grammens)</author>
  <description><![CDATA[<h3>justin grammens edited <a href="http://adhearsion.pbwiki.com/Java">Java</a>]]></description>
  <pubDate>Thu, 17 Apr 2008 06:45:52 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>Java</title>
  <link>http://adhearsion.pbwiki.com/Java</link>
  <author>email.hidden@example.com (justin grammens)</author>
  <description><![CDATA[<h3>justin grammens edited <a href="http://adhearsion.pbwiki.com/Java">Java</a>]]></description>
  <pubDate>Thu, 17 Apr 2008 06:45:12 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>Java</title>
  <link>http://adhearsion.pbwiki.com/Java</link>
  <author>email.hidden@example.com (justin grammens)</author>
  <description><![CDATA[<h3>justin grammens edited <a href="http://adhearsion.pbwiki.com/Java">Java</a>]]></description>
  <pubDate>Thu, 17 Apr 2008 06:44:06 +0000</pubDate>
  <category>mod</category>
 </item>
 <item>
  <title>Java</title>
  <link>http://adhearsion.pbwiki.com/Java</link>
  <author>email.hidden@example.com (justin grammens)</author>
  <description><![CDATA[<h3>justin grammens added <a href="http://adhearsion.pbwiki.com/Java">Java</a></h3>
<p><span style="font-weight: bold;">Adhearsion using JRuby</span></p><p><br />
</p><p><br />
As of this writing, getting Adhearsion to run under JRuby requires a slight modification to one of the files in your project. I will be digging in and following up with the JRuby developers to find out more information. Feel free to update this documentation if you are able to get Adhearsion to run without the minor tweak to the .ahnrc file fix mentioned below.</p><p><br />
</p><p><br />
The fact that we can run Adhearsion from within the Java JVM open up a whole wealth of opportunity for Adhearsion in terms of leveraging libaries and being accepted and run in corporate environments. To summarize, what we will cover, here are the steps that I will be following:</p><p><br />
</p><p><br />
1. Download and install JRuby.</p><p><br />
2. Checkout Adhearsion from Subversion.</p><p><br />
3. Create a "jahn" (jan) script that uses the JRuby interpreter.</p><p><br />
5. Create an Adhearsion project using JRuby.</p><p><br />
4. Modify the .ahnrc file to work with JRuby.</p><p><br />
6. Modify the dialplan.rb to call out a J</p>]]></description>
  <pubDate>Thu, 17 Apr 2008 06:43:05 +0000</pubDate>
  <category>add</category>
 </item>
 <item>
  <title>AdhearsionAndRails</title>
  <link>http://adhearsion.pbwiki.com/AdhearsionAndRails</link>
  <author>email.hidden@example.com (Justin Grammens)</author>
  <description><![CDATA[<h3>Justin Grammens edited <a href="http://adhearsion.pbwiki.com/AdhearsionAndRails">AdhearsionAndRails</a></h3>
The host of the quiz show will be able to go to a website and enter the text of questions they would like to ask the contestants. They will also enter the correct answer the contestant should enter using their keypad, along with a value of what each question is worth. A contestant will call the system and using their phone, be asked the series of questions (from the least to most point values). The system will then determine and inform the contestant if the correct answer was given or not. The system will let the contestant know how many questions they must answer, keep track of the number of points they have won and if they answer all of the questions correctly, tell them their final point total.<br />For the website we will be using the awesome Ruby on Rails framework to allow a host to enter their questions. In order to get the questions to be read you must use some type of a &quot;text-to-speech&quot; application in your dialplan to read the questions to the contestants. For this example we will be using Sw]]></description>
  <pubDate>Mon, 07 Apr 2008 00:45:44 +0000</pubDate>
  <category>mod</category>
 </item>
</channel>
</rss>
