And no, please don't write me back to say "why would you do that". This is only meant as helpful information for those who decide they DO want to do it.
I upgraded my EVB-based system to FreePBX 2.5rc1.
My USB Fob would no longer function, and in fact generated a lot of log entries as rpt kept respawning itself, unable to detach the USB HID device.
It seems that the /usr/local/bin/app_rpt_helper routine...
grep "permiblast" /var/lib/asterisk/bin/freepbx_engine > /dev/null 2>&1
res=$?
if [ $res = 1 ]; then
sed -i 's/\[ -e \/dev\/dsp ] && chown -R asterisk:asterisk \/dev\/dsp/\/usr\/local\/bin\/permiblast/' /var/lib/asterisk/bin/freepbx_engine
fi
...is no longer sufficient.
Now the lines in /var/lib/asterisk/bin/freepbx_engine look like this:
So the match fails. Rather than muck up freepbx_engine too much, I just added a line right below that line in freepbx_engine:
/usr/local/bin/permiblast
All is well now. I suppose I should fix the app_rpt_helper script to look for the new format, because future updates in the FreePBX series are likely to keep this pattern and my next upgrade may well break things again.
On Mon, Sep 15, 2008 at 2:32 PM, Steven Palm <n9yty@n9yty.com> wrote:
Hi All,
Just a note that may be useful to others....
And no, please don't write me back to say "why would you do that".
This is only meant as helpful information for those who decide they DO
want to do it.
I upgraded my EVB-based system to FreePBX 2.5rc1.
My USB Fob would no longer function, and in fact generated a lot of
log entries as rpt kept respawning itself, unable to detach the USB
HID device.
It seems that the /usr/local/bin/app_rpt_helper routine...
grep "permiblast" /var/lib/asterisk/bin/freepbx_engine > /dev/null 2>&1
res=$?
if [ $res = 1 ]; then
sed -i 's/\[ -e \/dev\/dsp ] && chown -R asterisk:asterisk \/dev\/
dsp/\/usr\/local\/bin\/permiblast/' /var/lib/asterisk/bin/freepbx_engine
fi
...is no longer sufficient.
Now the lines in /var/lib/asterisk/bin/freepbx_engine look like this:
So the match fails. Rather than muck up freepbx_engine too much, I
just added a line right below that line in freepbx_engine:
/usr/local/bin/permiblast
All is well now. I suppose I should fix the app_rpt_helper script
to look for the new format, because future updates in the FreePBX
series are likely to keep this pattern and my next upgrade may well
break things again.
Hey consider it a mild chiding! Seriously I was just kidding. This
stuff is made to be broken. It's the only way we make any progress. So
have fun. Push it to the max. - 73, Steve
···
On Mon, Sep 15, 2008 at 5:22 PM, Steven Palm <n9yty@n9yty.com> wrote:
On Sep 15, 2008, at 3:42 PM, Steven Henke wrote:
I guess I should be more explicit in warning people to only use the
upgrade script that comes with the package!
...and that's why I said in my original email NOT to write back
saying don't do it.
I KNOW it's not approved, I was passing on info to others, not
looking to be scolded, but I guess the temptation is too hard to
resist. LoL.
I finally got my own dsl at KN6VR qth. Install date is 10/3. I’ll initially set up as a reflector and add radios as I can. IRLP and Echolink will be an intigral part. I’ll get you the ip address(es) as soon as they arrive so node numbers can be issued.
I finally got my own dsl at KN6VR qth. Install date is 10/3. I’ll initially set up as a reflector and add radios as I can. IRLP and Echolink will be an intigral part. I’ll get you the ip address(es) as soon as they arrive so node numbers can be issued.
I finally got my own dsl at KN6VR qth. Install date is 10/3. I’ll initially set up as a reflector and add radios as I can. IRLP and Echolink will be an intigral part. I’ll get you the ip address(es) as soon as they arrive so node numbers can be issued.
I finally got my own dsl at KN6VR qth. Install date is 10/3. I’ll initially set up as a reflector and add radios as I can. IRLP and Echolink will be an intigral part. I’ll get you the ip address(es) as soon as they arrive so node numbers can be issued.