Phone Systems

Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#224218 11/24/08 02:32 PM
Joined: Mar 2007
Posts: 346
surdel Offline OP
Member
*
OP Offline
Member
*
Joined: Mar 2007
Posts: 346
I dont know who is or who knows its issues problems and solutions but I have used it for a number of years and sometimes, I just run into a wall on a solution to a issue.

Example, Currently running 1.6 and want to get Festival working properly with asterisk but it seems there is a patch issue that needs to be resolved. This is in /usr/src/asterisk/contrib/festival The patch needs to be taken care of before Festival can work properly with the extention i have setup in extentions.conf.

If anyone has sucsefully setup festival perhaps I could ask you about some of the steps you took to resolve it?

Advertising Sponsor
Joined: Jun 2007
Posts: 2,106
Member
Offline
Member
Joined: Jun 2007
Posts: 2,106
I would not run 1.6 for anything that has to work for more then a few test calls.

Version number does not equal stability.

I would recommend you use 1.4.21.2 or 1.2.30.2 for production use.

I have looked at 1.6 but wont be investing any real time into it for at least 6 months. Any new version of anything Open Source is always riddled with bugs and potential re-writes.

Joined: Mar 2007
Posts: 346
surdel Offline OP
Member
*
OP Offline
Member
*
Joined: Mar 2007
Posts: 346
That is so true kumba. I got rid of 1.6 and went for 1.4. So far so good. BTW there must be more people on here that use and deploy asterisk. Anyone else that you know of? Also, do you configure medium to advanced dail plans?

Joined: Jun 2007
Posts: 2,106
Member
Offline
Member
Joined: Jun 2007
Posts: 2,106
I know of a dozen or so people on here that use asterisk back at the shop/bench to simulate a fake CO for testing stuff. Some of them also use it for trouble-shooting or diagnosing issues that would otherwise require thousands of dollars of hardware.

I think Arthur Bloom uses it too hook up his antique/collectible phones and PBX's so they are usable and part of an enthusiast's network. Evidently there are quite a few people who do that (although not many of them frequent here).

I've seens some switchvox and trixbox guys on here. That's essentially a highly modified and re-skinned Asterisk. Depends on how purist you want to get with your Asterisk deployments.

My company does consulting on ViciDial (a call center set-up) as well as vanilla Asterisk. Medium to Advanced are relative terms unfortunately. If you can define those a little more I could answer. I would consider myself an Advanced user, at least in my own opinion. I've done all kinds of strange things with Asterisk including integrating it with a CCTV package called ZoneMinder, standard-style PBX's, load-balanced SIP/IAX gateways, and now call centers.

Joined: Mar 2007
Posts: 346
surdel Offline OP
Member
*
OP Offline
Member
*
Joined: Mar 2007
Posts: 346
Yes, I have looked at Zonemindser site. What did you do to have asterisk integrate with zoneminder may I ask?

Joined: Jun 2007
Posts: 2,106
Member
Offline
Member
Joined: Jun 2007
Posts: 2,106
Wrote a perl script that would monitor ZoneMinder for motion detection during alarm states. If ZoneMinder detected motion it would fire off a trigger. The job of the perl script was to watch for the trigger, capture the information about the trigger (camera, time, percent of motion in picture), then place a call out to a pre-defined list of numbers. The people on the call list would get a call saying "This is the CCTV system at Building X (or company, whatever)! An alarm has been detected on: <say camera number/name>, at <say time>, with <percent of motion> percent of motion!".

The reason for the percent of motion was so that you could distinguish between a cat or something like camera moved (storms, it's Florida you know). Percent of motion was defined as the average amount of change from frame to frame relative to the total amount of pixels in the image (usually 720x480 or 345K-pixels).

Something small like a cat was always about 5% of motion (depending on camera angle/mounting). 20-80% of motion was usually legit. If you had 80%+ it was something like a tree hit the camera, bird flew into it, bad storm, etc.

It was also hooked into the PA and the overhead light power relay so when it alarmed it would play sirens over the PA and turn the lights on. If you knew the phone number you could call in to deactivate it/etc.

The owner had me modify it so that he could turn the lights on with his phone. The shop entrance door was on the other side of the building from the light switch and he hated crawling through a dark machine shop to turn them on. And yes, he did spend more to have me do that then he would have to have had the electrician extend a switch. Just like he then paid me to make the sirens and warning call use the voice of the computer from star trek and the red-alert sirens. Was a fun project while it lasted.

Joined: Mar 2007
Posts: 346
surdel Offline OP
Member
*
OP Offline
Member
*
Joined: Mar 2007
Posts: 346
Kumba,

Have all the hardware here cctv card ect to make a working system. You dont mind if I get a copy of that perl script and see how this work?

Sounds pretty good since this eliminated the use of security watching the cameras 24 hours a day.

Joined: Jun 2007
Posts: 2,106
Member
Offline
Member
Joined: Jun 2007
Posts: 2,106
I'll have to swing by and see if I can copy it off his system. I did that almost two years ago. That script has long since perished from my desktop. Also keep in mind that almost nothing in these scripts will be copy-paste into your set-up and work. Almost everything was site/camera specific.

You can start by getting ZoneMinder up and running. That was always pretty fun depending on the capture cards you were dealing with.

After that there are two ways to make it do things on motion detection. First is by telling zone minder to run a command when it detects motion. Problem with this was that if your capture timeframe were 5-minutes (5-minute chunks from segment to segment) that it could take up to that long for it to run.

Second way was using a perl module with ZoneMinder that you could include in a perl script to somewhat do realtime monitoring (take seconds now). The perl script that I started with was zmtrigger.pl which is part of the regular ZoneMinder distribution. This has to be customized to your particular monitor (camera) set-up to work.

The first method was the easiest but had the longest delay obviously. The second method was a real pain to get working from what I remember.

The Asterisk part (turning alarms on/off, lights, etc) was all handled through shell scripts on the OS.

Also, it wasn't perfect, as with any motion detection set-up. And i'm not sure I would go as far as to say it can replace a guard. But it was a lot better then nothing smile

Joined: Oct 2006
Posts: 248
Member
Offline
Member
Joined: Oct 2006
Posts: 248
wow, it is awesome to find people that are doing things that I am. I just did my first install of zoneminder last week, with two IP cameras, I havent gotten into it as much as you. I am looking into setting up a .call file in asterisk to do the same thing, call me when something is in the camera view. I have been running asterisk at my house for years. Our company sold only one system as the salesmen would rather sell avaya (I think its cause the asterisk system has never generated a call back for service). I would appreciate it if I could email you guys and discuss a project, a salesman said one of his clients asked him about Asterisk, and he said he had a tech that knew alot about it....Mind you I have only setup my house and 1 small company 10 phones. 4 Trunk lines. This new site would have 80 phones and a PRI, I am not sure about hardware specs and all that, so any thoughts?

btw I have a script that I put together using python and twill to allow me to call home and setup manual recordings in mythtv.

Joined: Jun 2007
Posts: 2,106
Member
Offline
Member
Joined: Jun 2007
Posts: 2,106
Yeah, sure. You are welcome to e-mail me.

The number of phones doesn't really matter to Asterisk as much as the concurrent call volume and extra features like call recording. Still, with a vanilla Asterisk system, a small server can easily handle a single PRI. My standard server platform can handle rapid-dialing of 150-concurrent channels without any real issues.

It all just depends on how complicated a dialplan you are executing.

Page 1 of 2 1 2

Moderated by  metelcom 

Link Copied to Clipboard
Most Recent 5 Post
Saying good by to all the rest of my toshiba
by SSPhone - 05/07/21 04:28 PM
IP Office 500 V2 crash
by Mercenary Roadie - 05/07/21 08:24 AM
Random characters on screen
by dougster - 05/06/21 06:49 PM
How to subscribe to get full access.
by Ruben - 05/05/21 09:29 PM
OS UNI Card Version Question
by RM SYSTEMS - 05/04/21 04:53 PM
Popular Topics (Views)
Forum Statistics
Forums93
Topics94,377
Posts639,660
Members49,454
Most Online5,661
May 23rd, 2018
Today's Birthdays
KWH, PulseDial
Newest Members
Andrea Sau, eos90066, Sonic, ERA, Mackino
49,454 Registered Users
Get Tech Support Now! Click the banner below
Get Tech Support Now!
defencebyte.com
Antiransomware
Global Test Supply
EMP & Lightning Home Surge Protection
EMP - Click Here!
Top Posters (30 Days)
dexman 48
pvj 18
Ruben 15
bditech 11
Phone.com 300x250
300x250 Your Business Phone Service in the Cloud
www.aweber.com
landing page builder
Linked Banner to your Product or Website
NordVPN
Advertising Sponsor Spot 2
EMP Shield for Commercial - Home & Vehicle
Use Coupon code SAVE - Click Here!
Who's Online Now
33 members (mbhydro, nfcphoneman, sundance, nortelvoip, newtecky, BobRobert, dexman, pvj, Yoda, Mercenary Roadie, CyberLaw, jeffmoss26, nameless, JBean3329, Touch Tone Tommy, Curlycord, Bushmills, Carl Navarro, Professor Shadow, SSPhone, KRRath, Ruben, justbill, gelehu, dougster, Biztel Cuban Okie Tech, hitechcomm, mongo5150, www.telcom1.net, Skunky, MooreTel, metelcom, RonP), 460 guests, and 83 robots.
Key: Admin, Global Mod, Mod
vpnproxymaster
Contact Us | Telephone System Tech Support | Terms of Service

Sundance Communications is not affiliated with any of the above manufacturers.
©Copyright Sundance Communications 1998-2021
Trusted Partners