iWestDev PlanetiWestDev Title
Left Corner  Home    About    Contact    Sponsor  Right Corner
Programming
  Acquire GBA  
  ezNetwork Engine  
  IM Compatible  
  Laffy Taffy GBA  
  Newsletter  
  Numbers Game  
  Scantron  
  SEO Tips  
  Speed up Postgres  
  T1 work arounds  
  Install squirrelmail  

Other
  Towing Scam  

   12-09-2008 - Asterisk monitor sox audio command
It all started with wanting to add monitor to and asterisk box. When I finally figured out that AGI does not allow access to Monitor from everything I tested, I added it to the extensions.conf file. Tada, it worked. Oddly enough there ended up being two audio files. One for each end of the phone. Then I found the m feature which combines the two files after the call finishes. Somehow it wouldn't work though. I tried doing it by hand on the command line and kept getting the error "unknown file type auto". What the huh? After some digging I decided to just add a couple packages by using the following commands:
apt-get install sox
apt-get install libsox-fmt-all

From what I could tell the audio formats are installed seperately. Kind of feels like a no brainer to include them all together since it's soo small, but I can only guess it affects things I don't know about. Hopefully this helps someone on the internet as well.

(0) Comments


Leave a comment? (2000 character max)
(Verify Code)




   
Copyright© 2004 - 2008 West Anderson