Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus batch bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming gpu hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
My asterisk guru's need your help

Reply  
Thread Tools
joenational's Avatar
Member with 53 posts.
 
Join Date: Dec 2005
05-Dec-2006, 11:50 PM #1
My asterisk guru's need your help
I have an asterisk master file that shows what calls were made and what extensions made the calls etc... it is a .csv file at this point. I need to make a database out of it somehow so that people can look up certain phone numbers that were called or speific extensions.

Basically from this master file I need something so that managers can seach it for it exactly what they want. I am trying to figure out how to do this and was suggested by some that Access might be a good way. I am pretty strong in MS access so I can import the csv file into a table but how do I clean it up or is there another tool that can be used. Of course the asterisk is running off a Linux box so if there is a tool to bridge the linux file to an MS file or something like that.

Hope that makes sense.

Thanks guys,
fenderfreek's Avatar
Computer Specs
Senior Member with 201 posts.
 
Join Date: Mar 2006
Location: Raleigh, NC
Experience: Advanced
06-Dec-2006, 07:12 PM #2
If it were me doing it, I'd use a php script to load it into a MySQL database(the scripts are everywhere online). From there, you could have a php-driven search page to get what you want. If you needed it updated daily, you could just run the commands against MySQL with a shell script.

That's just one way though. I'm not very familiar with M$ products, so I can't tell you about using Access with it.
__________________
NCSU CSC Major
Registered Linux user #433004
  • Dell Vostro 1500 with Ubuntu 7.10
  • Intel Q6600 Quad Desktop running XP Pro
If this helped you, please take the time to rate the value of this post: http://rate.affero.net/fenderfreek/

Windows [n.] - A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
joenational's Avatar
Member with 53 posts.
 
Join Date: Dec 2005
06-Dec-2006, 08:26 PM #3
Hmm... well if there was another way then I would do it that way, I looked at PHP not that long ago but not familar with Mysql. Where are these scripts that you speak of though. I would like to take a look at them.

Thanks,
fenderfreek's Avatar
Computer Specs
Senior Member with 201 posts.
 
Join Date: Mar 2006
Location: Raleigh, NC
Experience: Advanced
06-Dec-2006, 09:03 PM #4
If you Google for "insert csv into mysql" there's several script/code banks that have snippets to do just that. As for using MySQL, it's not too hard. There's tons of great books that will get you as far as you need to for this. The only significant thing that prior experience might lend is how to properly secure your code. If security is less of an issue(all of this is used on a small, private network) then I wouldn't worry quite so much about it.
__________________
NCSU CSC Major
Registered Linux user #433004
  • Dell Vostro 1500 with Ubuntu 7.10
  • Intel Q6600 Quad Desktop running XP Pro
If this helped you, please take the time to rate the value of this post: http://rate.affero.net/fenderfreek/

Windows [n.] - A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:47 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.