LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-19-2010, 07:39 PM   #1
ieatbunnies
Member
 
Registered: Feb 2010
Posts: 37

Rep: Reputation: 14
bash script recording remote host output?


i want to dial businesses and record a response from the person. i use a bash script to call then and go through the progress of getting through the menu. then i want to record the response of the person on the phone.

got the dialing rocking and don'tk wn much after that.
 
Old 07-20-2010, 05:51 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196
If you want to do it from a script, familiarize yourself with doing it from the command line first. I would be more helpful but I don't know how to capture sound from what is presumably a modem or serial port. Might help if you said what the hardware is and which sound utilities you are using.

BTW, you might have had more response if "don'tk wn much" had made sense.
 
Old 07-21-2010, 08:52 AM   #3
ieatbunnies
Member
 
Registered: Feb 2010
Posts: 37

Original Poster
Rep: Reputation: 14
thats pretty funny now that I read my last sentence. thank you for your response. I will be using a usb us robotics 56k modem on a netbook. i am running ubuntu so i imagine it has to be alsa or pulse audio right?

i was guessing i could use a script with AT commands to do the dialing then maybe use the mgetty voicemail feature ? maybe? to record the remote host output?
 
Old 07-21-2010, 11:32 AM   #4
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
You might find some idea by playing around with this tool: minicom.
 
Old 07-21-2010, 01:23 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196
Quote:
Originally Posted by ieatbunnies View Post
... alsa or pulse audio right? ... maybe use the mgetty voicemail feature ...
IDK. Sounds reasonable but I can't confirm. minicom looks promising. Enough to start netsearching ... I did; not much (mostly for VoIP now, not POTS); a page: http://superuser.com/questions/10463...of-a-programme

BTW it may be illegal to record calls without advising the other party.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash - start remote script from local script? babag Programming 7 04-06-2008 06:46 PM
running script on a remote host p_test Programming 5 10-02-2006 04:40 PM
remote secure shell script text output aral Programming 6 09-02-2006 11:01 PM
Logging into a remote host automatically through shell script patil_reddy Red Hat 1 06-13-2006 07:23 AM
remote host connection script question??? gopi_20us Programming 4 03-01-2002 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration