[VoIP] Asterisk-SIP Trunk

Mark Rudholm mark at rudholm.com
Sun Dec 23 15:09:13 CST 2007


Modern printers haven't used parallel port interfaces for about ten
years now :-)

Local printers typically use USB, network printers typically use
IP over Ethernet.  CUPS is relatively simple and works well
cross-platform.  I have a CUPS-managed USB printer in my
office and share it on the network so I can print from other
computers (MacOS, Linux, and my cellphone) in the house.

Years ago, APC published a CD with versions of their
Powerchute management software for various Unixes and Linux
(Solaris, HP-UX, IRIX, AIX, SCO, etc).  It included an RPM
for Red Hat Linux systems.  They seem to have stopped doing
that in recent years, though.  So for linux, your best bet is
probably now apcupsd.  With it you'll be able to schedule alerts
and unattended shutdowns when power fails and batteries are
nearly drained, which is what it sounds like you're looking for.

You seemed concerned about system provisioning and capacity
planning, which makes me curious how much call traffic your
Asterisk box is handling (and if it's doing a lot of transcoding)
and what kind of hardware you're running it on.

windmill wrote:
> Haha! Again it's all quite foreign to me at present, ideally I suppose 
> I'll have to make the time to determine what is absolutely necessary and 
> then take the time to learn how to use it. I don't print because 1) I 
> don't know how and 2) I have the parallel port disabled to free 
> interrupts for the X100P cards.
>
> Mark Rudholm wrote:
>   
>> CUPS is Common Unix Printing System, apcupsd is the daemon for APC UPSes.
>> They're not related to each other.
>>
>> If you don't print, you can safely stop cups.
>>
>> -Mark
>>
>> windmill wrote:
>>   
>>     
>>> Lee,
>>>
>>> I don't have a Linux Desktop on my *boxes but I have seen cups loading 
>>> at start up, might that be the same thing? My APC RS500 came with 
>>> Windows software, my other UPSs are all Belkin and I have never yet 
>>> checked what software comes with them, I'll have to look into this a 
>>> little more closely. At the moment I use my UPSs to iron out the surges 
>>> or carry the loads in the majority of outages which generally are around 
>>> 30 seconds or less. I was asleep a few weeks ago when I heard one UPS 
>>> beeping, the Windows PC on the APC UPS had shutdown but two *boxes and a 
>>> second PC as well as my router and network switches were all still alive 
>>> after a 20 minute outage which I thought was pretty good. The house ELCB 
>>> had tripped presumably due to a large surge and I was able to reset it 
>>> as soon as I was aware of it but I don't supposde an outage that long 
>>> did the batteries in my UPSs any good at all.
>>>
>>> Brian
>>>
>>> Lee Spenadel wrote:
>>>   
>>>     
>>>       
>>>> Brian,
>>>>
>>>> I'm no guru myself, but here's the link to the i386 version of the apcups
>>>> daemon for Linux.  It's an RPM which means you double-click it from the
>>>> Linux desktop and it will automatically install.  I recently installed it
>>>> and it's working fine:
>>>>
>>>> http://sourceforge.net/project/downloading.php?group_id=54413&use_mirror=int
>>>> ernap&filename=apcupsd-3.14.2-1.el4.i386.rpm&68540459
>>>>
>>>> Lee
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] On Behalf Of
>>>> windmill
>>>> Sent: Saturday, December 22, 2007 9:37 AM
>>>> To: Voice Over IP Tandem for Analog Switches
>>>> Subject: Re: [VoIP] Asterisk-SIP Trunk
>>>>
>>>> Lee,
>>>>
>>>> I would love to be able to do that but I don't know enough about Linux. 
>>>> I know that the UPSs can shutdown my Windows PCs because I have seen it 
>>>> in practice although I don't have any UPS comms set up at all at 
>>>> present. On the *boxes all the USB and serial ports are disabled to free 
>>>> up interrupts otherwise the X100P cards might not work.
>>>>
>>>> Brian
>>>>
>>>> Lee Spenadel wrote:
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> Brian,
>>>>>
>>>>> Apparently you have bad PC Karma.  Perhaps your * boxes reside on top of
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>> an
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> ancient PBX burial ground...
>>>>>
>>>>> Seriously, why not image your hard drive so that when disaster strikes you
>>>>> can make a copy and slap it back in to a different machine.  Also, I would
>>>>> install the apcupsd on your Linux/ *box?  This way when the reserve power
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>> of
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> the UPS dips below a certain level it will send a shutdown command to the
>>>>> PC.  You won't have to run around shutting down the machines manually and
>>>>> they will be shutdown  gracefully.
>>>>>
>>>>> Lee
>>>>>
>>>>> -----Original Message-----
>>>>> From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] On Behalf Of
>>>>> windmill
>>>>> Sent: Friday, December 21, 2007 9:51 PM
>>>>> To: Voice Over IP Tandem for Analog Switches
>>>>> Subject: Re: [VoIP] Asterisk-SIP Trunk
>>>>>
>>>>> I'm still not sure why but I have lost four *boxes in the last year for 
>>>>> one reason or another. Something has become corrupted on the hard drives 
>>>>> and I'm fairly certain that the almost daily power outages a few months 
>>>>> ago had a great deal to do with it, that was before I had UPSs, they 
>>>>> will only carry the load for 15 or 20 minutes but it's enough for most 
>>>>> outages. Having said that there was a power fault yesterday which took 
>>>>> out my village and about 20 others around Lincoln yesterday at 0813 and 
>>>>> it took Central Electricity Networks 20 minutes to restore the supply by 
>>>>> which time I had manually switched off all my telephone and computer 
>>>>> equipment. I'll be shopping for more UPS kit in the January sales and 
>>>>> another PC or two if I can't get my old *boxes running again, I think 
>>>>> one has developed a motherboard fault which prevents it from reading the 
>>>>> hard drive.
>>>>>
>>>>> Nothing seems to go smoothly these days, I have been trying to get ahead 
>>>>> and delve deeper into Asterisk and Linux but things keep getting in the 
>>>>> way, so much so that I tend to describe myself as 'on permanent interrupt'
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>> !
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> Brian
>>>>>
>>>>> Lee Spenadel wrote:
>>>>>   
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>>> I can tell you that I have had no major problems rebuilding my * PBX on
>>>>>> Centos 4.5 and Asterisk 1.4.13.  It's been rock solid, though the Shared
>>>>>> Line Appearance is feature still eludes me :(
>>>>>>
>>>>>> Lee
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] On Behalf Of
>>>>>> windmill
>>>>>> Sent: Friday, December 21, 2007 10:26 AM
>>>>>> To: Voice Over IP Tandem for Analog Switches
>>>>>> Subject: Re: [VoIP] Asterisk-SIP Trunk
>>>>>>
>>>>>> Ah yes FWD can be quite unreliable going down for hours at the weekend. 
>>>>>> For backup I have the FWD communicator on my desktop but generally both 
>>>>>> IAX and SIP are out together.
>>>>>>
>>>>>> I use Zoiper but also have Xlite and Express Talk with all three running 
>>>>>> from a single desktop.  I prefer real phones but  multiple softphones on 
>>>>>> a desktop are very handy for testing a dialplan from a single point. I 
>>>>>> guess I'll be doing some of that over the next few days now that I've 
>>>>>> had to rush my experimental *pbx6 into service and then I'll be looking 
>>>>>> to rebuild/update my failed *pbx2 possibly giving Fedora 8 a try as I 
>>>>>> got it on the front of a magazine last week.
>>>>>>
>>>>>> Brian
>>>>>>
>>>>>> Lee Spenadel wrote:
>>>>>>   
>>>>>>     
>>>>>>       
>>>>>>         
>>>>>>           
>>>>>>             
>>>>>>> I was having trouble with FWD running under iax - I don't think they
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>> were
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> supporting it well at the time, so I went the sip route.  I also use the
>>>>>>> X-lite soft phone which seems to work well too.
>>>>>>>
>>>>>>> Lee
>>>>>>>               


More information about the VoIP mailing list