login | register
Wed 01 of Aug, 2007 [09:13 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.

Web www.voip-info.org
Shoutbox
  • Aykut, Wed 01 of Aug, 2007 [07:53 UTC]: Hi all, does anybody know about Thomson ST2030 SIP phone. I have upgraded it to latest version (1.56) but "Hold" and "Conf" features are not working after the upgrade ?? Do you know any solution or do you have Ver. 1.52 ?? Where can I find it?
  • Edward J Brown, Tue 31 of Jul, 2007 [23:33 UTC]: Has anybody experienced Choppy voice quality when using a Linksys SPA942 in an Asterisk Conference bridge? It works fine with my polycom and Cisco, but sucks with my Linksys.
  • www.astawerks.com, Fri 27 of Jul, 2007 [18:00 UTC]: does anyone use asterisk on top of clark connect? does it work good?
  • simon, Fri 27 of Jul, 2007 [14:16 UTC]: Hi All, Has anyone here managed to get the Cisco79x1 to successfully fail over to the backup proxy. I have 2 asterisk servers , handsets all register and function, except that backup proxy function doesn't work. Any working example would be very apprecia
  • Matthew Richmond, Thu 26 of Jul, 2007 [03:40 UTC]: using the page() application to page across our building...often the meetme conferences don't disconnect after the caller hangs up. Anyone else having this problem. (using Polycom phones)
  • Matthew Richmond, Wed 25 of Jul, 2007 [02:58 UTC]: thanks Nicholas Blasgen! I haven't worked with AGI before, but there's always a first! Thanks again!
  • Nicholas Blasgen, Tue 24 of Jul, 2007 [19:18 UTC]: Matthew Richmond, AGI will handle all that for you.
  • sam, Mon 23 of Jul, 2007 [16:39 UTC]: need help - certain voicemail extension will stop working and recording voicemail on asterisk - anyone know why and how to fix it? Thanks
  • john haji, Mon 23 of Jul, 2007 [14:55 UTC]: free calls to pakistan
  • bong, Sat 21 of Jul, 2007 [19:09 UTC]: hi good day to all can anyone help me how to configured the nortel sip to the signaling server and how to activate in mobile w/ sip compatible without mcs
Server Stats
  • Execution time: 0.42s
  • Memory usage: 2.21MB
  • Database queries: 29
  • GZIP: Disabled
  • Server load: 3.18

Asterisk cmd MP3Player

MP3Player

Synopsis

Plays an MP3 sound file or stream

Description

   MP3Player(location)

Executes the mpg123 unix program to play the given location which typically would either be the filename of an MP3 sound file, or the URL of an MP3 stream. The callers can exit by dialing any digit.

The mpg123 program seems to work best at playing mp3s which do not have any ID3 tag details embedded in them. (Suppressing stderr output fixes the ID3 problem)

Return Codes

Returns -1 on hangup or 0 otherwise.

Example

   MP3Player(/var/lib/asterisk/mohmp3/test.mp3)

Alternative approach

Idea: Implement streaming mp3 as standard music-on-hold.
Question: What happens if the stream is broken, does mpg123 attempt to resume it?

I renamed mpg123 to mpg123.bin and then put this in /usr/local/bin/mpg123. You'll need to restart asterisk in order for this change to take effect.

#!/bin/sh
/usr/bin/mpg123.bin -q -s --mono -r 8000 -f 4096 \
-Z http://66.28.68.70:8005 \
http://66.224.103.98:8930/ \
http://207.200.96.227:8040/


See Also



Asterisk | Configuration | The Dialplan - extensions.conf | Dialplan Commands
Created by oej, Last modification by al9000 on Sat 15 of Jan, 2005 [17:20 UTC]

Comments Filter

Asterisk 1.0.7 beta 3 + OS X 10.4.1 + MPG123 0.59r

by henryjunior on Friday 03 of June, 2005 [07:15:15 UTC]
Getting the proper version of MPG123 (v0.59r) setup under OS X was
unusually complicated for me. I finally got the correct file at:

http://www.macupdate.com/info.php/id/6275

What I did was:
(1) First, download the installer at:
http://www.macupdate.com/download.php/6275/mpg123-0.59r.pkg.tgz
(2) un-tar/gzip the resulting file
(3) cntrl+clicked on the resulting 'mpg123-0.59r.pkg' and selected
"Show Package Contents"
(4) navigated to the file 'mpg123'
(5) finally, copied 'mpg123' to the directory /usr/bin/

Apparently, I attempted this with incorrect builds every other time I
tried this 'cuz it didn't work. The good news is now it does (as you can see
I didn't even trust installers this time.) Hope this helps anyone else running Asterisk under OS X.

musiconhold.conf

by hdevito on Thursday 24 of March, 2005 [04:05:47 UTC]
(:confused:)I understand what this is doing, but how do I define musiconhold.conf. What do I need to enter into the conf file? I must be overlooking something.

Streams per caller?

by rustyhodge on Wednesday 16 of March, 2005 [20:48:46 UTC]
Does this open a distinct stream for each caller on hold?
Edit

Important end for playing URL

by Anonymous on Wednesday 05 of January, 2005 [15:12:55 UTC]
Note that it is important to end the 'URL' with a '/', otherwise MP3Player will return with an error.
Edit

Play random?

by Anonymous on Thursday 23 of December, 2004 [15:05:38 UTC]
Any way to play all files within a folder in a random order?

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2007 Arte Marketing, Inc.

Powered by bitweaver