Streaming audio server - SPA2102

Hi.
It's possible using the SPA2102 as a streaming audio server. How to connect a external audio source to the FXS port? The manual refers to an adapter / music coupler from neogadgets.com, but they are not answering my e-mails.
Kind regards
D.

Link from neogadgets is
http://www.neogadgets.com/cart/cart.php?target=product&product_id=17&substring=music+coupler
From our admin guide
7.2.24. Streaming Audio Server – SAS
This feature allows one to attach an audio source to one of the SPA FXS ports and use it as a streaming audio source device. The corresponding Line (1 or 2) can be configured as a streaming audio server (SAS) such that when the Line is called, the SPA answers the call automatically and starts streaming audio to the calling party provided the FXS port is off-hook. If the FXS port is on-hook when the incoming call arrives, the SPA replies with a SIP 503 response code to indicate "Service Not Available." If an incoming call is auto-answered, but later the FXS port becomes on-hook, the SPA does not terminate the call but continues to stream silence packets to the caller. If an incoming call arrives when the SAS line has reached full capacity, the SPA replies with a SIP 486 response code to indicate "Busy Here". The SAS line can be setup to refresh each streaming audio session periodically (via SIP re-INVITE) to detect if the connection to the caller is down. If the caller does not respond to the refresh message, the SAS line will terminate the call so that the streaming resource can be used for other callers.
7.2.25. Music On Hold – MOH
On a connected call, the SPA may place the remote party on call (the only way to do this on te SPA- 2000 is to perform a hook-flash to initiate a 3-way call or to swap 2 calls during call-waiting). If the remote party indicates that they can still receive audio while the call is holding, the SPA-2000 can be setup to contact an auto-answering SAS as described in Section 4 and have it stream audio to the holding party. When used this way, the SAS is referred to as a MOH Server.

Similar Messages

  • Streaming audio from clients to server

    Hi folks,
    I am looking for a method in which I can stream audio from a device mac/win to the server which is connected to the good sound system over the local network.
    I have looked at pulseaudio and followed the directions in the wiki, but without any results
    This was a linux to linux setup. But it seems to only get worse when trying to stream from mac/win (found these pages)
    https://labitat.dk/wiki/Apple/Mac_OS_X#PulseAudio
    http://gleamynode.net/articles/2228/
    So what I am looking for here is either a thorough tutorial/directions or a plug n play solution.
    Any inputs, links or directions are greatly appreciated, since I have spent this entire weekend researching it, and failed horribly every time

    hmm its simple and it sort of works. Their is very little documentation as far as I can see.
    I start server by commiting rsd -D -v
    then stream some audio by cat sound.wav | rsdplay -s 127.0.0.1 --raw -r 44100 -c 2
    It sounds very sluggish, and it also tells me that Only 8 or 16 bit WAVE files supported.
    Also it looks like the last update was a OSS patch which was mentioned in the original thread over a year ago
    Last edited by odp (2013-08-11 19:13:02)

  • Does my Server need audio installed for streaming audio and video

    I have flash media streaming server installed onto my s
    erver and wondered whether i actually need a sound card on my server to enable audio to be streamed. I was told i
    did not??? so how would audio be streamed if no sound card/???

    Flash Media Interactive/Streaming/Development Server only stores and serves files hence it doesn't need any audio/video devices installed. The Flash Player or FMLE does need access to local media resource in order to incroporate audio/video data.

  • Configuring WebLogic 8.1 to serve Streaming Audio and Video

    Hello,
    I have a requirement to serve video and audio on my application. Could anyone
    please give me the details about how to configure webLogic8.1 for streaming audio/video.
    Where should the files be placed? How to go about it...etc...etc.
    It would also be very helpful if anyone could direct me to websites or other
    resources that can provide extensive details about the same.

    it's not a feature unless someone adds it...
    You mean Apple will never accepts such feature in the App Store ?
    I'm wondering why they want to apply a restriction like this one, this really does not make sense to me...
    I've seen in a shop a device with 32gb internal flash to connect to the iphone ipad and use it like an hd for storing stuff, if they allow such thing why they don't allow this one, there is no difference in the end, also they allow streaming thru wi-fi, and they allow media players to store and read audio and video without using itunes. So i really don't get the point of their policy.

  • Is Flash Server required to incrementally "stream" audio?

    I need the ability to jump forward through an mp3 file
    without downloading
    the entire file.
    Do I need Flash Server to do this?
    Thank you

    "David Stiller" <[email protected]> wrote in
    message
    news:ggjt48$29r$[email protected]..
    > Tim,
    >
    >> I need the ability to jump forward through an mp3
    file without
    >> downloading the entire file.
    >> Do I need Flash Server to do this?
    >
    > Yes. Flash Media Server gives you RTMP, which is the
    protocol you need
    > for that sort of streaming. Without FMS, you're using
    HTTP -- the same
    > protocol the browser uses to download HTML, JGPs, CSS
    files, and nearly
    > everything else.
    >
    >
    > David Stiller
    > Adobe Community Expert
    > Dev blog,
    http://www.quip.net/blog/
    > "Luck is the residue of good design."
    >
    Thank you. It would be nice if a watered down version of
    Flash Server
    existed for people who only need to incrementally stream
    audio.

  • Streaming audio data won't stop unless I turn off the phone for 5 minutes.

    I have been testing the Curve 8330 regarding streaming audio from an icecast server. The address of the station is http://www.AirProgressive.org, click on "listen". (I have already run this by the icecast experts and they say it is a Blackberry "bug")
    BLACKBERRY USERS! PLEASE BE AWARE THAT THE STREAM (dataflow) DOES NOT STOP WHEN YOU CLICK "STOP" ON THE MEDIA PLAYER! (and will continue for as long as you leave it on, and even if you turn off your BB for less than 5 Minutes.) I'm not sure if you are charged for these streams, but it seems that the battery is depleted rapidly if this continues without aborting it. See details of my testing below:
    > Access icecast stream by clicking on the link on the website:
         http://www.airprogressive.org:8000/stream.m3u
    > Stream consists of mp3 at 32kbps / 22050 Hz.
    > Stock media player launches, stops at "Do you want to open or save the item."
        > No connections started yet (viewing "List Clients" page of icecast admin interface).
    > Click "open", stream begins playing.
    > Two connections are started instead of just one, always offset by 2 seconds.
        -- but sometimes only one connection starts.
    > FYI, Icecast config: <client-timeout>30</client-timeout>
    Here is the output from the "List Clients" page of Icecast2 Admin
    IP
    Seconds Connected
    User Agent
    Action
    68.7.238.55
    406
    WinampMPEG/5.62, Ultravox/2.1
    Kick
    74.82.68.16
    6
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    74.82.68.16
    4
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    Note the last two entries with the same IP address. This is the Blackberry. Top entry is winamp player on PC for reference. Don't know why two listener connections are generated.
    > Stream is "Stopped" (i.e. click stop)
    > Stream is restarted (i.e. click Play)
    > A new connection is started, this time with a new +1 IP address.
    IP
    Seconds Connected
    User Agent
    Action
    68.7.238.55
    687
    WinampMPEG/5.62, Ultravox/2.1
    Kick
    74.82.68.16
    287
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    74.82.68.16
    285
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    74.82.68.17
    8
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    I can understand that the player may continue to communicate when "stopped" to fill the lookahead buffer, but when it is restarted, it should use the same connection and not start a new one.
    > Click Stop.
    > Click Play.
    IP
    Seconds Connected
    User Agent
    Action
    68.7.238.55
    803
    WinampMPEG/5.62, Ultravox/2.1
    Kick
    74.82.68.16
    403
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    74.82.68.16
    401
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    74.82.68.17
    124
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    74.82.68.18
    24
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    > Yet another connection is started with a new "listener".
    > Click "back" to exit from browser in Blackberry.
    > All threads continue.
        --> I have tested this many times and the threads continue without being cleaned up indefinitely, even though the player is stopped and the stream is not "playing" on the handset.
    > Turn off mobile network. Handset not communicating.
    > Threads continue
    > Handheld turned off.
    IP
    Seconds Connected
    User Agent
    Action
    68.7.238.55
    995
    WinampMPEG/5.62, Ultravox/2.1
    Kick
    74.82.68.16
    595
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    74.82.68.16
    593
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    74.82.68.17
    316
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    74.82.68.18
    216
    Mozilla/4.8 [en] (Windows NT 5.0; U)
    Kick
    Finally, after over 300 seconds, the threads are finally cleaned up.
    IP
    Seconds Connected
    User Agent
    Action
    68.7.238.55
    1139
    WinampMPEG/5.62, Ultravox/2.1
    Kick
    So, to stop the streaming server from communicating with the Blackberry handset, you must either turn it off or disable mobile network for at least 5 minutes.
    It appears that the handset continues to transfer data (and therefore incur charges, if the user does not have an unlimited data plan) if the handset is not turned off or mobile network disabled for at least five minutes. It also runs down the battery much faster because the radio transmitter is actively being used, even if the user is not listening to the stream.
    The Blackberry network has intervening servers that continue to receive data from the streaming server even if the handset is off. This behavior likely has utility to deal with the realities of the cellphone network, to allow the stream to be transferred from one cell to another, and deal with the possibility that the handset may be out of range for up to 5 minutes without "interruption." However, it is hard to turn off the stream.
    QUESTIONS:
    1. Is there a way to stop this sort of behavior using a configuration setting or something? It seems particularly stupid to start a new stream connection each time a STOP/START cycle is completed, allowing the old connections to continue streaming data (even if the data does not make it to the handset).
    2. IS IT TRUE that the user will be "charged" for the data streams that are not disconnected?
    3. Is there a way for a developer to send a signal to the intervening cellphone network to discontinue the orphan streams?
    THANKS!!

    No, I'm using something like this :
    to start...
                       channel = new SoundChannel();
                                            soundPlay = new Sound();
                                            urlReq=new URLRequest;
                                            urlReq.url=mylUrl;  // url of radio mp3
                                            soundPlay.load(urlReq);
                       channel = soundPlay.play();
    to stop it...
                          channel.stop();
                          channel=null;
                          try{soundPlay.close();} catch (e:Error) {} // error or not, the sream won't stop.
    Any idea ? Did you try with a NetStream object ?
    Bernard

  • Streaming Audio on iWeb

    Is there any software out there that will allow you to have streaming audio through your iWeb and web server? I know I have seen sites that had live audio, but was wondering what kind of software I would need to get and if iWeb has that kind of capability.

    http://www.apple.com/quicktime/technologies/
    Broadcaster and Streaming Server software for "live" files.

  • Streaming audio. Is it really?

    Hi All,
    I want to listen a streaming audio via mobile phone. Is it really? What kind of protocols I must select? Currently I want to use a ASF (ASX) format.
    Sun's developers is it really?

    What about this?
    Playing MP3 files from your server on J2ME devices
    http://www.java-tips.org/content/view/153/39/

  • Streaming audio-video on the mobile device

    Please, I must do the streaming audio-video on the mobile device using a server standard.
    I must to program the application for the server using j2se:in this case how i can send the file audio/video?This file have specifies classes?
    For the client i must using the j2me:in this case how can receive the file audio and creating the player?
    Thanks.

    Hi, please help,
    I have problem in this area also,
    am intending to stream audio and video data to mobile phone using j2me for my bs project.,
    is that true, midlets can only 'plays back' one file at time specified by url?
    I want to store many files in database( e.g ms access), and call them to midlets, to make some how interactive and real,because i have tomcat server installed in my pc.
    is this possible?
    How can i call file stored beyond path of WTK ?
    can i store audio/ video file in ms- access?
    Please, please help !
    thanks in advance.
    Message was edited by:
    nbkamani

  • Streaming audio to video UI component, any ways possible?

    I'm looking into streaming audio from online radio sources our locally to the video component in interface builder, but I'm sure where to start. Any suggestions?

    for a more generic approach -- since mpd requires you to put the media on the server and only plays certain defined filed types -- pulseaudio might be interesting, or even dlna/upnp? that last one for sure would be the most cross-platform solution. then each client could decide for itself which kind of audio to pass to the hub, be it mpd, radio, youtube etc.
    interesing experiment you're doing here btw, i think more people will be interested in using a single small device that routes all their network audio to a stereo.
    p.s., in case you want to stick to the classic mpd setup, there are windows clients available incluing a handy firefox plugin:
    http://mpd.wikia.com/wiki/Windows_Compatibility
    http://mpd.wikia.com/wiki/Clients

  • Play Streaming Audio

    I'm busy designing an app to play audio from a link. The audio is being streamed by a Shoutcast server. The link I have been given is 'http://live.rmr.ru.ac.za'. I've got the following code so far:
        // Read sampled audio data from the specified URL and play it
        private void streamSampledAudio(URL url)
            throws IOException, UnsupportedAudioFileException,
                   LineUnavailableException
            ain = null;  // We read audio data from here
            SourceDataLine line = null;   // And write it here.
            try {
                // Get an audio input stream from the URL
                ain=AudioSystem.getAudioInputStream(url);
                // Get information about the format of the stream
                AudioFormat format = ain.getFormat( );
                DataLine.Info info=new DataLine.Info(SourceDataLine.class,format);
                // If the format is not supported directly (i.e. if it is not PCM
                // encoded), then try to transcode it to PCM.
                if (!AudioSystem.isLineSupported(info)) {
                    // This is the PCM format we want to transcode to.
                    // The parameters here are audio format details that you
                    // shouldn't need to understand for casual use.
                    AudioFormat pcm =
                        new AudioFormat(format.getSampleRate( ), 16,
                                        format.getChannels( ), true, false);
                    // Get a wrapper stream around the input stream that does the
                    // transcoding for us.
                    ain = AudioSystem.getAudioInputStream(pcm, ain);
                    // Update the format and info variables for the transcoded data
                    format = ain.getFormat( );
                    info = new DataLine.Info(SourceDataLine.class, format);
                // Open the line through which we'll play the streaming audio.
                line = (SourceDataLine) AudioSystem.getLine(info);
                line.open(format); 
                // Allocate a buffer for reading from the input stream and writing
                // to the line.  Make it large enough to hold 4k audio frames.
                // Note that the SourceDataLine also has its own internal buffer.
                int framesize = format.getFrameSize( );
                byte[] buffer = new byte[4 * 1024 * framesize]; // the buffer
                int numbytes = 0;                               // how many bytes
                // We haven't started the line yet.
                boolean started = false;
                for(;;) {  // We'll exit the loop when we reach the end of stream
                    // First, read some bytes from the input stream.
                    int bytesread=ain.read(buffer,numbytes,buffer.length-numbytes);
                    // If there were no more bytes to read, we're done.
                    if (bytesread == -1) break;
                    numbytes += bytesread;
                    // Now that we've got some audio data to write to the line,
                    // start the line, so it will play that data as we write it.
                    if (!started) {
                        line.start( );
                        started = true;
                    // We must write bytes to the line in an integer multiple of
                    // the framesize.  So figure out how many bytes we'll write.
                    int bytestowrite = (numbytes/framesize)*framesize;
                    // Now write the bytes. The line will buffer them and play
                    // them. This call will block until all bytes are written.
                    line.write(buffer, 0, bytestowrite);
                    // If we didn't have an integer multiple of the frame size,
                    // then copy the remaining bytes to the start of the buffer.
                    int remaining = numbytes - bytestowrite;
                    if (remaining == 0)
                        System.arraycopy(buffer,bytestowrite,buffer,0,remaining);
                    numbytes = remaining;
                // Now block until all buffered sound finishes playing.
                line.drain( );
            finally { // Always relinquish the resources we use
                if (line != null) line.close( );
                if (ain != null) ain.close( );
        }Although I get an UnsupportedAudioFileException when using the link above.
    Please can someone point me in the right direction on how to play streaming audio?

    Please can I refer you to this thread.
    I'm struggling like you can't believe to do something which I thought would be quite simple.

  • WiFi syncing / Streaming Audio

    I will be getting a Touch soon, and want to get some things figured out beforehand.
    WiFi Syncing. I have a non-Apple (2Wire) 802.11g server for my laptops, also wired (ethernet) to my desktop (older iMac, 10.5.X). Desktop has no Airport card.
    If I want to sync to iTunes on my iMac, I assume I need to use the cable, and can't do it wirelessly through the router. I assume that installing an Airport card into the iMac would allow WiFi syncing.
    Second - Streaming Audio. I listen to several radio stations that offer streaming audio - Windows Media, MP3 (.pls, .m3u). It's not clear if the Touch supports this, or if there is some clever work-around. I'd love to use the Touch as a wireless streaming-audio device. Suggestions?
    Thanks!

    WiFi syncing is not a feature of the iPod touch at all, you cannot do it.
    You can ONLY sync with iTunes via a cable.
    If the streaming radio station uses Quicktime then you can listen to it on the iPod touch, if not then you can't.

  • Stream audio from sound card input thru network

    Good Day:
    I have an application where I need to access instruments at a remote location.  Command/Control of the instruments is not a problem, but I also need to stream the audio present at the remote system's sound card thru the network connection.  Any suggestions on how to accomplish this via LabWindows?
    Thanks in advance for any replies.
    -Ed

    Hi Ed,
    First, I was wondering, how do you get the audio from the sound card?  Is it from a LabWindows program? I've never done that.  Second, I was wondering how do you play the audio on the remote machine?  Is that through a LabWindows program?  I've never done that either.
    But I was wondering if just a remote PC app would do the job.  Like admins use to take over your PC from there desk and fix problems.  I assume they have these that send the audio thru the net as well as the screen.  Then on the radio's PC you just need a LabWindows program to control the radio and some other app to play sound from the sound card input to the local speaker.  Then the remote PC app would magically transfer the screen and audio from the radio PC to the remote PC.
    Otherwise, I can just say that to stream the audio thru the net, after the Radio's PC gets it off the sound card somehow, I would just set up two TCP servers on the remote PC, one for audio and one for the commands/control.  When the remote PC client connects to the audio server the audio server would just start sending audio data to the client.  The client would receive the data and put it in a big buffer to handle network speed variation.  Let the buffer fill up to like a second or more worth of data before having anothe function/thread read the buffer data and give the data to the client PC's sound card.  Big problem is that the client PC's sound card will alway's consume the data at a slightly different speed than the servers sound card produces it.  Different clocks running at slightly different frequencies.  So the client function that reads the audio buffer to give it to the sound card must play games.  If the buffer is shrinking over time then it has to create extra samples to give to the sound card, just duplicating a sample every 100 samples or whatever. If the buffer is growing over time then it throws away a sample every 100 sample or whatever.  So it's kind of a challenge to manage the buffer with the variable speed of the net transfering data and the two different rates of producing and consuming the audio data.
    LabWindows has the TCP server create and client create functions so that's pretty easy.  The harder part is that you probibly want to set the Radio's PC to a fixed IP address so that you can connect to it without worrying about domain names and such.  Then the two TCP ports that the LabWindows uses for command and audio might need to be setup in all the routers to let you establish a connection.  Your IT guy's can answer that.
    PS. you can play around with this suff on one PC by using the RegisterTCPServerEx function and setting the local host address to "localhost", or "127.0.0.1" on one LabWindows project and using the corresponding ConnectToTCpServerEx with "NULL" as the server host name on another LabWindows project.  This creates a virtual TCP connection on the same machine.  This does not duplicate the different audio clock issue I talked about above.

  • Streaming audio to an embedded Linux device

    A friend and I are tossing around some ideas for a project, which would be a music-activated RGB lights controller.  We have an ARM board with network connectivity, running Linux.  What we want to be able to do is to stream audio from a laptop/desktop computer to the device, for processing.  I'm not sure what software to use on the computer, for streaming, as well as client software on the embedded board.  Here are my primary constraints:
    1) The streaming software has to run on at least Windows/Linux (although Mac would be a plus), and has to either be part of, or be pluggable into, a music app that's suitable for using playlists and managing large libraries (e.g. something like Songbird, rather than VLC).
    2) The client software needs to have as little overhead as possible, due to the limitations of the embedded board, and it needs to be CLI
    3) We really don't care about the quality of the audio, so long as the waveforms look enough like the originals that the lights can actually correspond to something meaningful in the audio
    4) Service discovery would be a plus, as we'd eventually like to just plug in the controller and go, without having to mess with IP addresses and such
    Any suggestions?

    for a more generic approach -- since mpd requires you to put the media on the server and only plays certain defined filed types -- pulseaudio might be interesting, or even dlna/upnp? that last one for sure would be the most cross-platform solution. then each client could decide for itself which kind of audio to pass to the hub, be it mpd, radio, youtube etc.
    interesing experiment you're doing here btw, i think more people will be interested in using a single small device that routes all their network audio to a stereo.
    p.s., in case you want to stick to the classic mpd setup, there are windows clients available incluing a handy firefox plugin:
    http://mpd.wikia.com/wiki/Windows_Compatibility
    http://mpd.wikia.com/wiki/Clients

  • Live streaming audio on flash site

    Hello,
    I am new to Flash and I am working on a web page using flash, the page itself is going to be pretty basic, but the situation I am in is this,  we would like to but a live streaming audio feed on the site and I am having trouble figuring out how to add that.  The server it is from is a Broadwave server, and it does stream in MP3.  I would like the audio stream to start automatically when the web page is open.  Any help would be greatly appriciated.

    You could build your own player but if you are new to Flash, you might want to just embed or place on the Web page a prebuilt player. For example:
    http://www.longtailvideo.com/players/jw-flv-player/
    or
    http://flowplayer.org/
    or
    http://ffmp3.sourceforge.net/
    each player will have it's own config setup for autoplay etc.
    Best wishes,
    Adninjastrator

Maybe you are looking for