<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" face="Tahoma"><br>Thanks for all the replies on my announcement. I got so many that I am sorry I cannot respond to everyone individually. So there definitely is interest in doing this.<br><br>I am currently working on compiling it with the latest USB rewrite updates in the 3.10 kernel. While it works OK now there are some slight delay issues I am not happy with. It currently only runs in USB 1.1 mode which on the Pi puts the Ethernet into low speed also. Hopefully the updates will fix that.<br><br>I certainly understand the enthusiasm out there for this but I would not want to put out something prematurely that would cause problems. So bear with me for a bit until things are ironed out. In the meantime you can get your RPI, USB FOB, and SD card ready. I would recommend a Sandisk Ultra class 10 16gb or better. <br id="FontBreak"></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">Date: Mon, 17 Mar 2014 22:04:50 -0500<br>Subject: Re: [App_rpt-users] Asterisk Allstar on the Raspberry Pi<br>From: mhebert1975@gmail.com<br>To: doug@crompton.com<br><br><div dir="ltr"><div class="ecxgmail_default" style="font-family:tahoma,sans-serif;">Any update? What do you need help with? </div></div><div class="ecxgmail_extra"><br><br><div class="ecxgmail_quote">On Mon, Mar 10, 2014 at 12:09 AM, Doug Crompton <span dir="ltr"><<a href="mailto:doug@crompton.com" target="_blank">doug@crompton.com</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr"><font face="Tahoma"><b><font style="font-size:16pt;" size="4">Update on the Raspberry Pi A</font><font style="font-size:16pt;" size="4">sterisk Allstar project</font></b><br><br>Great news, Allstar is running on the Raspberry Pi! I have been working on this over the last few months and testing now for several weeks. It seems to be stable. Audio is great using simpleusb. The project makes it possible to assemble a small, low power, and inexpensive Allstar server and node that fits in the palm of your hand minus the radio.<br>
<br>The project was started by Mihhail, ES1BIS who successfully compiled the code on Pidora FC17 on the Pi. I took that code, optimized it, and made it work well in the real world. I later successfully compiled the code under the latest Raspbien release for the Pi. This was an important transition for a number of reasons as Pidora has been poorly supported recently and does not have direct overclocking and memory management capabilities. It is the Acid release except using Dahdi.<br>
<br>The code is on a 16G SD card and while it would fit on an 8G card the added space at little additional cost are worth it. Using a larger size SD card is also purported to increase the life of the card giving more space for wear levelling. The Pi is run as a "headless" system with ssh access. I also have added the apache2 web browser and my lsnodes remote web display and control program which allows you to monitor and control the server remotely.<br>
<br>The test system is running with a DMK URI USB interface but would work with an inexpensive modified sound FOB. An entire system could be built for around $50 in this way. It would also be possible to write code and build a small interface to allow the Pi GPIO pins control the PTT and COS.<br>
<br>Asterisk typically uses about 10-20% of CPU on the Pi and other operations like web accesses and even a compile going on while Allstar is running caused no glitches. I currently run overclocking at modest (800mhz) but it could be run at much higher speeds if necessary. I have two nodes running on the Pi but only one connected to a radio. If you did not know it was running on the Pi you would not know the difference to any other server. <br>
<br>Things to be done include -<br> <br> Recompile under USB driver rewrite kernel<br> A script to install your node information and setup <br> Test use of a wireless card in the Pi<br> Test Mobile node applications<br>
Test Additional nodes (2 or more simultaneous nodes)<br> Test usbradio (it might be possible for one node with overclocking)<br> <br>Item number one on this list is the most important right now. There is a problem running the USB at full (2.0) speed with USB audio. This shows up as unacceptable distortion in the receive (DAC) audio. Running in USB high (1.1) speed solves the audio problem but causes some minor delay problems. In the scheme of things this is acceptable but I am not completely happy with this and I want to get this running in USB 2.0 mode before I release it. There is currently a complete rewrite of the Pi USB stack going on that hopefully will solve this problem. My plans are to let things settle a little and pick up the new kernel and recompile very soon. So stay tuned for that. <br>
<br>When I do make the image available it will not be plug and play. It will require IP address and port setup for your LAN and editing of rpt.conf and other configuration files. I will put together a checklist of tasks you will need to complete in bringing up your own Pi Allstar server. This is a server and node so you will have to transfer an existing server and node or set up a new one at <a href="http://allstarlink.org" target="_blank">allstarlink.org</a> If you don't feel comfortable mucking in Linux this might be a problem but the upside is that you will have the original image to go back to should you mess something up and need to start over. It is always a good idea to save additional image copies after you make significant changes and you are sure it is working. This allows you to go back to prior images that work rather than recreating things from earlier images. <br>
<br>A quick note about SD card life since I know this is a big topic and a question you would ask. First I will say I have several IRLP Pi nodes, one running for 10 months straight, without a failure. I have never had an SD card fail period. Not due to power failure, longevity or any other cause. I also only buy good quality cards like the Sandisk Ultra class 10 or better. That is not to say one won't fail at some point but that is what backups are for and with an SD card it is easy, pop one out and put the other one that you have burned the image to in. Like anything else it is important to have a backup. I have done most everything practical to minimize writes to the SD card. Only time will tell how long it will last but I have confidence it will be a long time.<br>
<br>I will be setting up a web page for this and there will be additional information as well as image downloads there when they are available. I would be glad to answer any questions you may have. <br><br>And finally I saw this statement on an Asterisk site and I though it pointed out how far we have come in the past 15-20 years!<br>
<br><i> "I just received my Raspberry Pi and looking forward to running Asterisk on it. I’ve been in tech for 30 years and I can’t believe what is in front of me. 15 years ago, as a department head, I signed off on a $200K project to upgrade a PBX system with a voicemail system that can email you the sound file and provide web access to your VM messages. Now, I am about to deploy a full PBX system for $50. Maybe a $75 if I buy a case for my Raspberry Pi."</i><br>
<br></font><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4"><a href="http://www.crompton.com/hamradio" target="_blank">http://www.crompton.com/hamradio</a></font></b><font style="font-size:16pt;" size="4"><br>
</font> </div></div>
<br>_______________________________________________<br>
App_rpt-users mailing list<br>
<a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br>
<a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br>
<br>
To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. <br></blockquote></div><br></div></div> </div></body>
</html>