<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Asterisk &#8211; Realtime Installation Guide 1.4.x</title>
	<atom:link href="http://bahjons.com/stuff/asterisk-realtime-installation-guide/feed" rel="self" type="application/rss+xml" />
	<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide</link>
	<description></description>
	<lastBuildDate>Fri, 01 Jul 2011 03:16:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: rob</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-649</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Fri, 01 Jul 2011 03:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-649</guid>
		<description>I haven&#039;t seen this behavior. We were running 1.4.26 not that long ago without any problems. 

--Author</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t seen this behavior. We were running 1.4.26 not that long ago without any problems. </p>
<p>&#8211;Author</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-593</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 15 May 2011 11:28:39 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-593</guid>
		<description>Hello,

Thanks for the tuto. I&#039;ve managed to get Realtime working easily using Asterisk 1.6.2.18 but when it comes to Asterisk 1.4.26.1, as soon as a call hits the box, Asterisk start rebooting.

Have you ever met this behaviour?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thanks for the tuto. I&#8217;ve managed to get Realtime working easily using Asterisk 1.6.2.18 but when it comes to Asterisk 1.4.26.1, as soon as a call hits the box, Asterisk start rebooting.</p>
<p>Have you ever met this behaviour?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-347</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Thu, 30 Sep 2010 20:05:55 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-347</guid>
		<description>Why not use an AGI if you want to get query results during the call? You can write your AGI in php (or whatever language you want) and use whatever database type you want as well.</description>
		<content:encoded><![CDATA[<p>Why not use an AGI if you want to get query results during the call? You can write your AGI in php (or whatever language you want) and use whatever database type you want as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Venables</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-299</link>
		<dc:creator>Chris Venables</dc:creator>
		<pubDate>Tue, 14 Sep 2010 15:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-299</guid>
		<description>Hi,

I am looking for a way to perform a database query during a call and retrieve the results. Many moons ago I managed to use unixODBC and app_dbodbc which worked just fine however now app_dbodbc has a mountain of compile errors, is no longer supported and has apparently been superseded by realtime. 

Although realtime looks like a really neat solution I cannot see how to use it to perform custom query&#039;s. Is there a way to do this with realtime or am I searching for a pot of Gold?

Regards,

Chris V</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am looking for a way to perform a database query during a call and retrieve the results. Many moons ago I managed to use unixODBC and app_dbodbc which worked just fine however now app_dbodbc has a mountain of compile errors, is no longer supported and has apparently been superseded by realtime. </p>
<p>Although realtime looks like a really neat solution I cannot see how to use it to perform custom query&#8217;s. Is there a way to do this with realtime or am I searching for a pot of Gold?</p>
<p>Regards,</p>
<p>Chris V</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-271</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Thu, 26 Aug 2010 17:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-271</guid>
		<description>Glad that you liked the tutorial. 

The database structure mentioned in the tutorial is just for storing messages in a database. As far as I know, this can only be done with the odbc voicemail storage system. You have to use &#039;make menuselect&#039; and enable this selection and recompile Asterisk.  As for voicemail users, here&#039;s the database structure that I&#039;m currently using on Asterisk v1.4.x:

&lt;code&gt;
CREATE TABLE IF NOT EXISTS `voicemail_users` (
  `uniqueid` int(11) NOT NULL auto_increment,
  `customer_id` varchar(11) NOT NULL default &#039;0&#039;,
  `context` varchar(50) NOT NULL default &#039;&#039;,
  `mailbox` varchar(11) NOT NULL default &#039;0&#039;,
  `password` varchar(5) NOT NULL default &#039;0&#039;,
  `fullname` varchar(150) NOT NULL default &#039;&#039;,
  `email` varchar(50) NOT NULL default &#039;&#039;,
  `pager` varchar(50) NOT NULL default &#039;&#039;,
  `tz` varchar(10) NOT NULL default &#039;central&#039;,
  `attach` varchar(4) NOT NULL default &#039;yes&#039;,
  `saycid` varchar(4) NOT NULL default &#039;no&#039;,
  `dialout` varchar(10) NOT NULL default &#039;&#039;,
  `callback` varchar(10) NOT NULL default &#039;&#039;,
  `review` varchar(4) NOT NULL default &#039;no&#039;,
  `operator` varchar(4) NOT NULL default &#039;no&#039;,
  `envelope` varchar(4) NOT NULL default &#039;no&#039;,
  `sayduration` varchar(4) NOT NULL default &#039;no&#039;,
  `saydurationm` tinyint(4) NOT NULL default &#039;1&#039;,
  `sendvoicemail` varchar(4) NOT NULL default &#039;yes&#039;,
  `delete` varchar(4) NOT NULL default &#039;no&#039;,
  `nextaftercmd` varchar(4) NOT NULL default &#039;yes&#039;,
  `forcename` varchar(4) NOT NULL default &#039;no&#039;,
  `forcegreetings` varchar(4) NOT NULL default &#039;no&#039;,
  `hidefromdir` varchar(4) NOT NULL default &#039;yes&#039;,
  `stamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  PRIMARY KEY  (`uniqueid`),
  KEY `mailbox_context` (`mailbox`,`context`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=106 ;
&lt;/code&gt;

Here&#039;s a sample for insert:

&lt;code&gt;INSERT INTO `voicemail_users` (`uniqueid`, `customer_id`, `context`, `mailbox`, `password`, `fullname`, `email`, `pager`, `tz`, `attach`, `saycid`, `dialout`, `callback`, `review`, `operator`, `envelope`, `sayduration`, `saydurationm`, `sendvoicemail`, `delete`, `nextaftercmd`, `forcename`, `forcegreetings`, `hidefromdir`, `stamp`) VALUES
(1, &#039;0&#039;, &#039;employees&#039;, &#039;1000&#039;, &#039;12345&#039;, &#039;Robert&#039;, &#039;admin@astrag.com&#039;, &#039;&#039;, &#039;central&#039;, &#039;yes&#039;, &#039;no&#039;, &#039;&#039;, &#039;&#039;, &#039;no&#039;, &#039;no&#039;, &#039;no&#039;, &#039;no&#039;, 1, &#039;yes&#039;, &#039;no&#039;, &#039;yes&#039;, &#039;no&#039;, &#039;no&#039;, &#039;yes&#039;, &#039;&#039;);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Glad that you liked the tutorial. </p>
<p>The database structure mentioned in the tutorial is just for storing messages in a database. As far as I know, this can only be done with the odbc voicemail storage system. You have to use &#8216;make menuselect&#8217; and enable this selection and recompile Asterisk.  As for voicemail users, here&#8217;s the database structure that I&#8217;m currently using on Asterisk v1.4.x:</p>
<p><code><br />
CREATE TABLE IF NOT EXISTS `voicemail_users` (<br />
  `uniqueid` int(11) NOT NULL auto_increment,<br />
  `customer_id` varchar(11) NOT NULL default '0',<br />
  `context` varchar(50) NOT NULL default '',<br />
  `mailbox` varchar(11) NOT NULL default '0',<br />
  `password` varchar(5) NOT NULL default '0',<br />
  `fullname` varchar(150) NOT NULL default '',<br />
  `email` varchar(50) NOT NULL default '',<br />
  `pager` varchar(50) NOT NULL default '',<br />
  `tz` varchar(10) NOT NULL default 'central',<br />
  `attach` varchar(4) NOT NULL default 'yes',<br />
  `saycid` varchar(4) NOT NULL default 'no',<br />
  `dialout` varchar(10) NOT NULL default '',<br />
  `callback` varchar(10) NOT NULL default '',<br />
  `review` varchar(4) NOT NULL default 'no',<br />
  `operator` varchar(4) NOT NULL default 'no',<br />
  `envelope` varchar(4) NOT NULL default 'no',<br />
  `sayduration` varchar(4) NOT NULL default 'no',<br />
  `saydurationm` tinyint(4) NOT NULL default '1',<br />
  `sendvoicemail` varchar(4) NOT NULL default 'yes',<br />
  `delete` varchar(4) NOT NULL default 'no',<br />
  `nextaftercmd` varchar(4) NOT NULL default 'yes',<br />
  `forcename` varchar(4) NOT NULL default 'no',<br />
  `forcegreetings` varchar(4) NOT NULL default 'no',<br />
  `hidefromdir` varchar(4) NOT NULL default 'yes',<br />
  `stamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,<br />
  PRIMARY KEY  (`uniqueid`),<br />
  KEY `mailbox_context` (`mailbox`,`context`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=106 ;<br />
</code></p>
<p>Here&#8217;s a sample for insert:</p>
<p><code>INSERT INTO `voicemail_users` (`uniqueid`, `customer_id`, `context`, `mailbox`, `password`, `fullname`, `email`, `pager`, `tz`, `attach`, `saycid`, `dialout`, `callback`, `review`, `operator`, `envelope`, `sayduration`, `saydurationm`, `sendvoicemail`, `delete`, `nextaftercmd`, `forcename`, `forcegreetings`, `hidefromdir`, `stamp`) VALUES<br />
(1, '0', 'employees', '1000', '12345', 'Robert', 'admin@astrag.com', '', 'central', 'yes', 'no', '', '', 'no', 'no', 'no', 'no', 1, 'yes', 'no', 'yes', 'no', 'no', 'yes', '');</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alimoni</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-255</link>
		<dc:creator>alimoni</dc:creator>
		<pubDate>Sat, 21 Aug 2010 07:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-255</guid>
		<description>hi author
thanks for your great tutorial.

would you plz give me a sample sql query for voicemail setup.
I appreciate your concern.</description>
		<content:encoded><![CDATA[<p>hi author<br />
thanks for your great tutorial.</p>
<p>would you plz give me a sample sql query for voicemail setup.<br />
I appreciate your concern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-250</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Tue, 13 Jul 2010 13:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-250</guid>
		<description>Hi Neven,

I think this has to do with your settings in /etc/asterisk/extconfig.conf
With Asterisk 1.6.x you have to set the &#039;connection&#039; being used in that as well. Check the config samples for extconfig.conf to know what I mean.</description>
		<content:encoded><![CDATA[<p>Hi Neven,</p>
<p>I think this has to do with your settings in /etc/asterisk/extconfig.conf<br />
With Asterisk 1.6.x you have to set the &#8216;connection&#8217; being used in that as well. Check the config samples for extconfig.conf to know what I mean.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neven</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-249</link>
		<dc:creator>Neven</dc:creator>
		<pubDate>Fri, 09 Jul 2010 00:59:27 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-249</guid>
		<description>I followed your article and everything is explained great. But now i have problem / or not, i don&#039;t know. When I go to the asterisk CLI i get:
  
WARNING[3583]: res_config_mysql.c:325 realtime_mysql: MySQL RealTime: Invalid database specified: asterisk (check res_mysql.conf)

But when I issue the command: \realtime mysql status\ i get that i&#039;m connected at asterisk@127.0.0.1 for xy period of time. And everything seems to be fine.

My res_mysql.conf:

[general]
dbhost = 127.0.0.1
dbname = asterisk
dbuser = asterisk
dbpass = 123456
dbport = 3306
dbsock = /tmp/mysql.sock
requirements=createclose 

I&#039;m using 1.6.2.1 version. Please can someone help me with this?</description>
		<content:encoded><![CDATA[<p>I followed your article and everything is explained great. But now i have problem / or not, i don&#8217;t know. When I go to the asterisk CLI i get:</p>
<p>WARNING[3583]: res_config_mysql.c:325 realtime_mysql: MySQL RealTime: Invalid database specified: asterisk (check res_mysql.conf)</p>
<p>But when I issue the command: \realtime mysql status\ i get that i&#8217;m connected at asterisk@127.0.0.1 for xy period of time. And everything seems to be fine.</p>
<p>My res_mysql.conf:</p>
<p>[general]<br />
dbhost = 127.0.0.1<br />
dbname = asterisk<br />
dbuser = asterisk<br />
dbpass = 123456<br />
dbport = 3306<br />
dbsock = /tmp/mysql.sock<br />
requirements=createclose </p>
<p>I&#8217;m using 1.6.2.1 version. Please can someone help me with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-212</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Mon, 07 Jun 2010 01:19:04 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-212</guid>
		<description>Hi,

You can do this with voicemail.conf setting: attach=yes - this will send an email automatically with the email attached. I honestly haven&#039;t tried it without the attach=yes, but I would imagine that it would still send the email.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>You can do this with voicemail.conf setting: attach=yes &#8211; this will send an email automatically with the email attached. I honestly haven&#8217;t tried it without the attach=yes, but I would imagine that it would still send the email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinodh</title>
		<link>http://bahjons.com/stuff/asterisk-realtime-installation-guide/comment-page-1#comment-177</link>
		<dc:creator>vinodh</dc:creator>
		<pubDate>Mon, 24 May 2010 07:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://hostseries.com/asterisk-realtime-installation-guide/#comment-177</guid>
		<description>Is it possible to trigger email once we got voicemail messages saved in the Mysql table.

If it is yes..Can u just guide me with few examples.

vinodh</description>
		<content:encoded><![CDATA[<p>Is it possible to trigger email once we got voicemail messages saved in the Mysql table.</p>
<p>If it is yes..Can u just guide me with few examples.</p>
<p>vinodh</p>
]]></content:encoded>
	</item>
</channel>
</rss>

