<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SYSADMINMAN&#187; sysadminman &#8211; Asterisk VPS &#8211; Trixbox, Elastix, PIAF, A2Billing</title>
	<atom:link href="http://sysadminman.net/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://sysadminman.net/blog</link>
	<description>UK based Asterisk, Trixbox, FreePBX and A2Billing Servers</description>
	<lastBuildDate>Sun, 28 Feb 2010 23:52:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Asterisk/FreePBX dial plan injection vulnerability</title>
		<link>http://sysadminman.net/blog/2010/asteriskfreepbx-dial-plan-injection-vulnerability-1046</link>
		<comments>http://sysadminman.net/blog/2010/asteriskfreepbx-dial-plan-injection-vulnerability-1046#comments</comments>
		<pubDate>Sun, 28 Feb 2010 23:52:42 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[freepbx]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=1046</guid>
		<description><![CDATA[There is an interesting discussion on the PBX-in-a-Flash forums here regarding an Asterisk security announcement.
If you write custom Asterisk contexts outside of FreePBX then you should read through how to do this securely. You should not be using wildcard pattern matching as this could be used to create channels in a manner not intended.
Also raised [...]]]></description>
			<content:encoded><![CDATA[<p>There is an interesting discussion on the PBX-in-a-Flash forums <a title="PBX in a Flash forum" href="http://pbxinaflash.com/forum/showthread.php?t=6760" target="_blank">here</a> regarding an Asterisk security announcement.</p>
<p>If you write custom Asterisk contexts outside of FreePBX then you should read through how to do this securely. You should not be using wildcard pattern matching as this could be used to create channels in a manner not intended.</p>
<p>Also raised is the potential of a Asterisk/FreePBX system being compromised via the Asterisk Recording Interface (ARI). This is the web interface that allows you to view and manage voicemails. If you do not use this feature of FreePBX it is strongly recommended that you remove access to it. This can be done simply by running the following command as root on systems with standard configuration -</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">chmod 000 /var/www/html/recordings</div></div>
<p>This will prevent the ARI being accessible via a browser.</p>
<p>If you would like more information regarding Asterisk diaplan security please see the following resources -</p>
<p><a title="Asterisk dial plan security" href="http://www.asterisk.org/node/49906" target="_blank">http://www.asterisk.org/node/49906</a><br />
<a title="Asterisk dial plan security" href="http://downloads.asterisk.org/pub/security/AST-2010-002.html" target="_blank">http://downloads.asterisk.org/pub/security/AST-2010-002.html</a><br />
<a title="Asterisk dial plan security" href="http://svn.asterisk.org/svn/asterisk/trunk/README-SERIOUSLY.bestpractices.txt">http://svn.asterisk.org/svn/asterisk/trunk/README-SERIOUSLY.bestpractices.txt</a><br />
<a title="Asterisk dial plan security" href="http://www.freepbx.org/forum/freepbx/users/dial-plan-injection-vulnerability" target="_blank">http://www.freepbx.org/forum/freepbx/users/dial-plan-injection-vulnerability</a></p>
<p>Also, <strong>always use complex and difficult-to-guess passwords in all areas when setting up Asterisk/FreePBX</strong></p>
<p>If you have a sysadminman VPS and would like the ARI interface disabling please raise a ticket via the helpdesk.</p>
<p>As always thanks to <a href="http://nerdvittles.com/">Ward Mundy</a> and <a href="http://www.star2billing.com/">Joe Roper</a> who make a great contribution to the Asterisk community.</p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2010/asteriskfreepbx-dial-plan-injection-vulnerability-1046" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2010/asteriskfreepbx-dial-plan-injection-vulnerability-1046/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-mail to voice call &#8211; with Asterisk, Postfix and Cepstral</title>
		<link>http://sysadminman.net/blog/2010/e-mail-to-voice-call-with-asterisk-postfix-and-cepstral-1010</link>
		<comments>http://sysadminman.net/blog/2010/e-mail-to-voice-call-with-asterisk-postfix-and-cepstral-1010#comments</comments>
		<pubDate>Sun, 14 Feb 2010 11:56:09 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[ami]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[asterisk manager interface]]></category>
		<category><![CDATA[cepstral]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[text to speech]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=1010</guid>
		<description><![CDATA[A few times recently I&#8217;ve wanted to be able to turn an e-mail into a voice call. This would be especially handy for emergency server monitoring and notification.
Here is my first attempt. It&#8217;s also my first attempt at writing something in Python so you definitely use at your own risk!
There is room for improvement as [...]]]></description>
			<content:encoded><![CDATA[<p>A few times recently I&#8217;ve wanted to be able to turn an e-mail into a voice call. This would be especially handy for emergency server monitoring and notification.</p>
<p>Here is my first attempt. It&#8217;s also my first attempt at writing something in Python so you definitely use at your own risk!</p>
<p>There is room for improvement as there is no validation on any of the fields extracted from the e-mail.</p>
<p>It also assumes that these components are already in place -</p>
<ul>
<li>Asterisk (with Astersk Manager Interface)</li>
<li>E-mail server (I&#8217;m using Postfix)</li>
<li>Ceptral text-to-speech (<a title="Cepstral text-to-speech" href="http://cepstral.com/" target="_blank">www.cepstral.com</a>) &#8211; installed in /opt/swift/bin</li>
<li>Python (I&#8217;m using v2.4.3)</li>
<p><span id="more-1010"></span>
</ul>
<p>First we need to pipe the incoming e-mail to our Python script. For this I added a line to /etc/aliases -</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">emailspeak: &quot;|/usr/local/bin/emailspeak.py&quot;</div></div>
<p>and ran newaliases -</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">newaliases</div></div>
<p>Now for the script which is called &#8216;/usr/local/bin/emailspeak.py&#8217;</p>
<p>You will need to change at least the USER, SECRET and TRUNK settings at the top of the script to match you Asterisk setup.</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!/usr/bin/env python<br />
# emailspeak.py by sysadminman - http://sysadminman.net<br />
# v1.0 &nbsp;13/2/10<br />
<br />
# Import libs we need<br />
import sys, time, email, email.Message, email.Errors, email.Utils, smtplib, os, socket, random<br />
from datetime import date<br />
from email.Iterators import typed_subpart_iterator<br />
from time import sleep<br />
<br />
# Asterisk Manager connection details<br />
HOST = '127.0.0.1'<br />
PORT = 5038<br />
# Asterisk Manager username and password<br />
USER = 'manageruser'<br />
SECRET = 'managerpass'<br />
# Set the name of the SIP trunk to use for outbound calls<br />
TRUNK = 'trunkforcalls'<br />
<br />
# Generate a random number as a string. We'll use this for file names later on<br />
callnum = str(random.randint(1, 100000000))<br />
<br />
# Taken from here, with thanks - http://ginstrom.com/scribbles/2007/11/19/parsing-multilingual-email-with-python/<br />
def get_charset(message, default=&quot;ascii&quot;):<br />
&nbsp; &nbsp; &quot;&quot;&quot;Get the message charset&quot;&quot;&quot;<br />
<br />
&nbsp; &nbsp; if message.get_content_charset():<br />
&nbsp; &nbsp; &nbsp; &nbsp; return message.get_content_charset()<br />
<br />
&nbsp; &nbsp; if message.get_charset():<br />
&nbsp; &nbsp; &nbsp; &nbsp; return message.get_charset()<br />
<br />
&nbsp; &nbsp; return default<br />
<br />
# Taken from here, with thanks - http://ginstrom.com/scribbles/2007/11/19/parsing-multilingual-email-with-python/<br />
def get_body(message):<br />
&nbsp; &nbsp; &quot;&quot;&quot;Get the body of the email message&quot;&quot;&quot;<br />
<br />
&nbsp; &nbsp; if message.is_multipart():<br />
&nbsp; &nbsp; &nbsp; &nbsp; #get the plain text version only<br />
&nbsp; &nbsp; &nbsp; &nbsp; text_parts = [part<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for part in typed_subpart_iterator(message,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'text',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'plain')]<br />
&nbsp; &nbsp; &nbsp; &nbsp; body = []<br />
&nbsp; &nbsp; &nbsp; &nbsp; for part in text_parts:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; charset = get_charset(part, get_charset(message))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; body.append(unicode(part.get_payload(decode=True),<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; charset,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;replace&quot;))<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; return u&quot;\n&quot;.join(body).strip()<br />
<br />
&nbsp; &nbsp; else: # if it is not multipart, the payload will be a string<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # representing the message body<br />
&nbsp; &nbsp; &nbsp; &nbsp; body = unicode(message.get_payload(decode=True),<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;get_charset(message),<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;replace&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; return body.strip()<br />
<br />
# Read the e-mail message that has been piped to us by Postfix<br />
raw_msg = sys.stdin.read()<br />
emailmsg = email.message_from_string(raw_msg)<br />
<br />
# Extract database Fields from mail<br />
msgfrom = emailmsg['From']<br />
msgto = &nbsp;emailmsg['To']<br />
msgsubj = emailmsg['Subject']<br />
msgbody = get_body(emailmsg)<br />
<br />
# Write a log file in /tmp with a record of the e-mails<br />
currtime = date.today().strftime(&quot;%B %d, %Y&quot;)<br />
logfile = open('/tmp/email2voice.log', 'a')<br />
logfile.write(currtime + &quot;\n&quot;)<br />
logfile.write(&quot;Call Number: &quot; + callnum + &quot;\n&quot;)<br />
logfile.write(&quot;From: &quot; + msgfrom + &quot;\n&quot;)<br />
logfile.write(&quot;To: &quot; + msgto + &quot;\n&quot;)<br />
logfile.write(&quot;Subject: &quot; + msgsubj + &quot;\n&quot;)<br />
logfile.write(&quot;Body: &quot; + msgbody + &quot;\n\n&quot;)<br />
logfile.close()<br />
<br />
# Convert the body of the text to a wav file<br />
swiftcommand = &quot;/opt/swift/bin/swift -n Millie-8kHz -o /tmp/&quot; + callnum + &quot;.wav '&quot; + msgbody + &quot;'&quot;<br />
os.system(swiftcommand)<br />
<br />
# We need to allow Asterisk permission to read the wav file<br />
chmodcommand = &quot;chmod 777 /tmp/&quot; + callnum + &quot;.wav&quot;<br />
os.system(chmodcommand)<br />
<br />
# Set the number to be dailed as the subject of the e-mail<br />
OUTBOUND = msgsubj<br />
<br />
# Send the call details to the Asteirsk Manager Interface<br />
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)<br />
s.connect((HOST, PORT))<br />
sleep(3)<br />
s.send('Action: login\r\n')<br />
s.send('Username: ' + USER + '\r\n')<br />
s.send('Secret: ' + SECRET + '\r\n\r\n')<br />
sleep(3)<br />
s.send('Events: off\r\n\r\n')<br />
sleep(3)<br />
s.send('Action: originate\r\n')<br />
s.send('Channel: Sip/' + TRUNK + '/' + OUTBOUND + '\r\n')<br />
s.send('WaitTime: 30\r\n')<br />
s.send('CallerId: 1234\r\n')<br />
s.send('Application: playback\r\n')<br />
s.send('Data: /tmp/' + callnum + '\r\n')<br />
s.send('Context: from-internal\r\n')<br />
s.send('Async: true\r\n')<br />
s.send('Priority: 1\r\n\r\n')<br />
sleep(3)<br />
s.send('Action: Logoff\r\n\r\n')<br />
s.close()</div></div>
<p>And that should be it. To test just send an e-mail to emailspeak@yourserver.com with the telephone number you want to call as the subject line, and the text you want to be read in the body.</p>
<p>Don&#8217;t forget to write the telephone number in the format that your SIP provider is expecting it.</p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2010/e-mail-to-voice-call-with-asterisk-postfix-and-cepstral-1010" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2010/e-mail-to-voice-call-with-asterisk-postfix-and-cepstral-1010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreePBX security advisory for version 2.5.1</title>
		<link>http://sysadminman.net/blog/2010/freepbx-security-advisory-for-version-2-5-1-997</link>
		<comments>http://sysadminman.net/blog/2010/freepbx-security-advisory-for-version-2-5-1-997#comments</comments>
		<pubDate>Sun, 24 Jan 2010 09:53:32 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>
		<category><![CDATA[freepbx]]></category>
		<category><![CDATA[injection]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=997</guid>
		<description><![CDATA[On 15/1/2010 a security advisory was released for FreePBX version 2.5.1 (and potentially earlier versions) concerning a SQL injection vulnerability. If you are running this version then I would suggest upgrading to version 2.5.2. You can find more details of the vulnerability here.
You can upgrade through the FreePBX GUI by using the module admin menu. [...]]]></description>
			<content:encoded><![CDATA[<p>On 15/1/2010 a security advisory was released for FreePBX version 2.5.1 (and potentially earlier versions) concerning a SQL injection vulnerability. If you are running this version then I would suggest upgrading to version 2.5.2. You can find more details of the vulnerability <a title="FreePBX 2.5.1 SQL injection vulnerability" href="http://marc.info/?l=full-disclosure&amp;m=126385082917779&amp;w=2" target="_blank">here</a>.</p>
<p>You can upgrade through the FreePBX GUI by using the module admin menu. Here are the steps -</p>
<p>* While FreePBX 2.6 is available please make sure you&#8217;re aware of any implications before updating to this version.</p>
<p>1 &#8211; Select the &#8216;Module Admin&#8217; menu</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin.jpg"><img class="alignnone size-full wp-image-1004" style="border: 1px solid black; margin-top: 5px; margin-bottom: 5px;" title="FreePBX module admin" src="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin.jpg" alt="" width="606" height="280" /></a></p>
<p>2 &#8211; Click &#8216;Upgrade All&#8217;</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-upgrade-all.jpg"><img class="alignnone size-full wp-image-1003" style="border: 1px solid black; margin-top: 5px; margin-bottom: 5px;" title="FreePBX module admin upgrade all" src="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-upgrade-all.jpg" alt="" width="614" height="360" /></a></p>
<p>3 &#8211; Click &#8216;Process&#8217;</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-upgrade-all-process.jpg"><img class="alignnone size-full wp-image-1002" style="border: 1px solid black; margin-top: 5px; margin-bottom: 5px;" title="FreePBX module admin upgrade all process" src="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-upgrade-all-process.jpg" alt="" width="614" height="360" /></a></p>
<p>4 &#8211; Click &#8216;Confirm&#8217;</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-upgrade-all-confirm.jpg"><img class="alignnone size-full wp-image-1001" style="border: 1px solid black; margin-top: 5px; margin-bottom: 5px;" title="FreePBX module admin upgrade all confirm" src="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-upgrade-all-confirm.jpg" alt="" width="592" height="242" /></a></p>
<p>5 &#8211; Click &#8216;Return&#8217;</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-return.jpg"><img class="alignnone size-full wp-image-1000" style="border: 1px solid black; margin-top: 5px; margin-bottom: 5px;" title="FreePBX module admin return" src="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-return.jpg" alt="" width="449" height="182" /></a></p>
<p>6 -Click &#8216;Apply Changes&#8217;</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-apply.jpg"><img class="alignnone size-full wp-image-999" style="border: 1px solid black; margin-top: 5px; margin-bottom: 5px;" title="FreePBX module admin apply" src="http://sysadminman.net/blog/wp-content/uploads/2010/01/FreePBX-module-admin-apply.jpg" alt="" width="382" height="73" /></a></p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2010/freepbx-security-advisory-for-version-2-5-1-997" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2010/freepbx-security-advisory-for-version-2-5-1-997/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling the OpenFire service in Elastix</title>
		<link>http://sysadminman.net/blog/2010/disabling-the-openfire-service-in-elastix-992</link>
		<comments>http://sysadminman.net/blog/2010/disabling-the-openfire-service-in-elastix-992#comments</comments>
		<pubDate>Thu, 14 Jan 2010 20:03:33 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>
		<category><![CDATA[elastix]]></category>
		<category><![CDATA[openfire]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=992</guid>
		<description><![CDATA[Elastix includes an Instant Messenger server called OpenFire. While not enabled by default it is very easy to enable.
What&#8217;s not so obvious is how to disable OpenFire if you decide, once you&#8217;ve had a look at it, you don&#8217;t want/need to run it. You might want to do this as OpenFire runs on Java which [...]]]></description>
			<content:encoded><![CDATA[<p>Elastix includes an Instant Messenger server called OpenFire. While not enabled by default it is very easy to enable.</p>
<p>What&#8217;s not so obvious is how to disable OpenFire if you decide, once you&#8217;ve had a look at it, you don&#8217;t want/need to run it. You might want to do this as OpenFire runs on Java which can be quite memory hungry, also it opens another point of attack to your server.</p>
<p>The easiest way to disable it is via the command prompt by running -</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">service openfire stop<br />
<br />
chkconfig openfire off</div></div>
<p>This will also stop it starting automatically when the server is rebooted.</p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2010/disabling-the-openfire-service-in-elastix-992" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2010/disabling-the-openfire-service-in-elastix-992/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow rate browsing in A2Billing</title>
		<link>http://sysadminman.net/blog/2010/slow-rate-browsing-in-a2billing-982</link>
		<comments>http://sysadminman.net/blog/2010/slow-rate-browsing-in-a2billing-982#comments</comments>
		<pubDate>Sun, 10 Jan 2010 11:35:49 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[a2billing]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rates]]></category>
		<category><![CDATA[slow]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=982</guid>
		<description><![CDATA[I recently looked at an A2Billing 1.34 install that was slow to browse the rates through the GUI. There were over 800,000 rates which was causing the slowdown. While probably not a good idea to have so many rates, it is possible to speed up this screen by creating an index in MySQL.
To do that [...]]]></description>
			<content:encoded><![CDATA[<p>I recently looked at an A2Billing 1.34 install that was slow to browse the rates through the GUI. There were over 800,000 rates which was causing the slowdown. While probably not a good idea to have so many rates, it is possible to speed up this screen by creating an index in MySQL.</p>
<p>To do that -</p>
<p>Log in to MySQL -</p>
<p>(you should be able to get the username/password you need from the top of the /etc/asterisk/a2billing.conf file)</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mysql <span style="color: #660033;">-u</span> a2billing-user <span style="color: #660033;">-p</span> mya2billing</div></div>
<p>Create an index on the destination field in the cc_ratecard table -</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">create index ind_cc_ratecard_destination using btree on cc_ratecard<span style="color: #7a0874; font-weight: bold;">&#40;</span>destination<span style="color: #7a0874; font-weight: bold;">&#41;</span>;</div></div>
<p>To find out why queries are taking so long in MySQL you can turn on the slow-query log in MySQL.</p>
<p>See here for more info &#8211; <a title="Slow queries in MySQL" href="http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html" target="_blank">http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html</a></p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2010/slow-rate-browsing-in-a2billing-982" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2010/slow-rate-browsing-in-a2billing-982/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sysadminman Elsatix VPS template updated to Elastix 1.6</title>
		<link>http://sysadminman.net/blog/2009/sysadminman-elsatix-vps-template-updated-to-elastix-1-6-977</link>
		<comments>http://sysadminman.net/blog/2009/sysadminman-elsatix-vps-template-updated-to-elastix-1-6-977#comments</comments>
		<pubDate>Wed, 16 Dec 2009 20:27:06 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[elastix]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=977</guid>
		<description><![CDATA[The Sysadminman Elastix VPS template has been updated to version 1.6
See here for more details &#8211; http://sysadminman.net/distro-elastix.html
]]></description>
			<content:encoded><![CDATA[<p>The Sysadminman Elastix VPS template has been updated to version 1.6</p>
<p>See here for more details &#8211; <a title="Sysadminman Elastix template" href="http://sysadminman.net/distro-elastix.html" target="_self">http://sysadminman.net/distro-elastix.html</a></p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2009/sysadminman-elsatix-vps-template-updated-to-elastix-1-6-977" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2009/sysadminman-elsatix-vps-template-updated-to-elastix-1-6-977/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skype for Asterisk with Elastix</title>
		<link>http://sysadminman.net/blog/2009/skype-for-asterisk-with-elastix-974</link>
		<comments>http://sysadminman.net/blog/2009/skype-for-asterisk-with-elastix-974#comments</comments>
		<pubDate>Sun, 13 Dec 2009 12:18:09 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[digium]]></category>
		<category><![CDATA[elastix]]></category>
		<category><![CDATA[skype for asterisk]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=974</guid>
		<description><![CDATA[I was about to write a blog post about setting up Skype for Asterisk on Elastix but after searching round on the web I found this great blog post by &#8216;Bob&#8217; on the Elastix website.
It gives a good walkthrough and screenshots for getting Skype for Asterisk from Digium up and running.
If you do want to [...]]]></description>
			<content:encoded><![CDATA[<p>I was about to write a blog post about setting up Skype for Asterisk on Elastix but after searching round on the web I found <a title="Setting ip Skype for Asterisk on Elastix" href="http://blogs.elastix.org/en/2009/11/skype-for-elastix-asterisk/" target="_blank">this great blog post</a> by &#8216;Bob&#8217; on the Elastix website.</p>
<p>It gives a good walkthrough and screenshots for getting Skype for Asterisk from Digium up and running.</p>
<p>If you do want to install this on your Sysadminman Elastix VPS just open a support ticket first asking for an éth0&#8242;device to be setup as you&#8217;ll need this for the Digium registration process</p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2009/skype-for-asterisk-with-elastix-974" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2009/skype-for-asterisk-with-elastix-974/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No audio with certain Asterisk calls</title>
		<link>http://sysadminman.net/blog/2009/no-audio-with-certain-asterisk-calls-972</link>
		<comments>http://sysadminman.net/blog/2009/no-audio-with-certain-asterisk-calls-972#comments</comments>
		<pubDate>Fri, 11 Dec 2009 22:37:37 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[no audio]]></category>
		<category><![CDATA[sip]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=972</guid>
		<description><![CDATA[I had an unusual problem recently with certain calls going to the PSTN via a SIP provider. The call would connect but with no audio at either end.
I&#8217;ve seen this lots before and is often caused by NAT or a firewall blocking the audio stream but that wasn&#8217;t the cause this time.
The problem was caused [...]]]></description>
			<content:encoded><![CDATA[<p>I had an unusual problem recently with certain calls going to the PSTN via a SIP provider. The call would connect but with no audio at either end.</p>
<p>I&#8217;ve seen this lots before and is often caused by NAT or a firewall blocking the audio stream but that wasn&#8217;t the cause this time.</p>
<p>The problem was caused my trunk only being setup to allow the ulaw codec (allow=ulaw on the trunk). What I think was happening was that my provider was accepting, and connecting, the call but then when it tried to hand the call off to it&#8217;s upstream provider, which only accepted alaw, it would fail.</p>
<p>So if you&#8217;re having problems with connected calls but no audio it might be worth enabling all of the codecs on the trunk to rule out any codec mismatch issues.</p>
<p>If that doesn&#8217;t help look at NAT or firewalling  <img src='http://sysadminman.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2009/no-audio-with-certain-asterisk-calls-972" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2009/no-audio-with-certain-asterisk-calls-972/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A2Billing upgraded to v1.4.2.1 on Sysadminman VPS</title>
		<link>http://sysadminman.net/blog/2009/a2billing-upgraded-to-v1-4-2-1-on-sysadminman-vps-968</link>
		<comments>http://sysadminman.net/blog/2009/a2billing-upgraded-to-v1-4-2-1-on-sysadminman-vps-968#comments</comments>
		<pubDate>Sun, 25 Oct 2009 13:59:22 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[a2billing]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[freepbx]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=968</guid>
		<description><![CDATA[The version of A2Billing has been updated to the latest release on the Sysadminman VPS template.
This template now includes -

Asterisk v1.6
FreePBX v2.5
A2Billing v1.4.2.1

More details can be found here &#8211; http://sysadminman.net/uk-voip-vps.html
]]></description>
			<content:encoded><![CDATA[<p>The version of A2Billing has been updated to the latest release on the Sysadminman VPS template.</p>
<p>This template now includes -</p>
<ul>
<li>Asterisk v1.6</li>
<li>FreePBX v2.5</li>
<li>A2Billing v1.4.2.1</li>
</ul>
<p>More details can be found here &#8211; <a href="http://sysadminman.net/uk-voip-vps.html" target="_self">http://sysadminman.net/uk-voip-vps.html</a></p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2009/a2billing-upgraded-to-v1-4-2-1-on-sysadminman-vps-968" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2009/a2billing-upgraded-to-v1-4-2-1-on-sysadminman-vps-968/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>asterisk.org gets a facelift</title>
		<link>http://sysadminman.net/blog/2009/asterisk-org-gets-a-facelift-961</link>
		<comments>http://sysadminman.net/blog/2009/asterisk-org-gets-a-facelift-961#comments</comments>
		<pubDate>Mon, 19 Oct 2009 18:22:37 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>
		<category><![CDATA[asterisk]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=961</guid>
		<description><![CDATA[The home of Asterisk has had a nice makeover. With well over 1 million downloads already this year it is definitely a major player in the VOIP space.
Check it out here &#8211; www.asterisk.org
]]></description>
			<content:encoded><![CDATA[<p>The home of Asterisk has had a nice makeover. With well over 1 million downloads already this year it is definitely a major player in the VOIP space.</p>
<p>Check it out here &#8211; <a href="http://asterisk.org" target="_blank">www.asterisk.org</a></p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2009/asterisk-org-gets-a-facelift-961" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2009/asterisk-org-gets-a-facelift-961/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
