MP3Player( ) | Plays an MP3 file or stream |
MP3Player( location )
Uses the mpg123 program to play the given location to the caller. The specified location can be either a filename or a valid URL. The caller can exit by pressing any key.
|
Returns -1 on hangup; otherwise , returns .
exten => 123,1,Answer( ) exten => 123,2,MP3Player(test.mp3) exten => 123,1,Answer( ) exten => 123,2,MP3Player(http://server.tld/test.mp3)