> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/server-and-os-administration/how-to-start-stream-server.md).

# How to Start Stream Server

### How to start a Stream Server with Toolpack

Stream Server application (tbstreamserver) is used to play and record files to and from the Tmedia platforms. For example, the gateway application RingBack tone behavior uses this Stream Server application to play files to the caller while waiting for the other party to answer. The platform requires to have IVR DSPs to play or record files.

To start a Stream Server on a host server:

```
Status -&gt; Applications-&gt; stream_server -&gt; Oam target state -&gt; Run
```

The default file extensions are these ones:

“.alaw": Raw alaw encoded audio file (8khz, 8 bits, mono, alaw) ".ulaw": Raw ulaw encoded audio file (8khz, 8 bits, mono, ulaw) ".pcm" : Linear 16 bits PCM audio file (8khz, 16 bits, mono) ".g721": ADPCM 32Kbps, G721 encoding ".g723": ADPCM 24Kbps, G723 encoding ".g726": ADPCM 16Kbps, G726 encoding ".vox" : ADPCM 32Kbps (Dialogic) encoding ".vox6": ADPCM 24Kbps (6Kbps sampling rate) (Dialogic) encoding ".wav" : Microsoft Wave file format using any of the following options: aLaw / uLaw, PCM 8 bits / 16 bits, ADPCM (G721 32Kbps, G723 24Kbps or G726 16Kbps), Mono / Stereo, 8Khz, 11.025Khz, 16Khz, 22.05Khz, 44.1Khz or 48Khz

".tiff" for terminating or generating a fax (requires VoIP devices)

To modify default file extensions, you can do these steps:

* Download tb640\_\[version]\_\[OS]\_release.tgz file
* Copy the file tb\apps\tbstreamserver\config.txt file of the streamserver in:

```
/tb/toolpack/setup/12358/2.4/apps/streamserver
```

* Then you go in the web portal to select the configuration:

```
Applications-&gt; configurations -&gt; tbstreamserver (Edit) -&gt; add "-c config.txt" in the parameters
```

The extra\_audio\_file\_extension overrides default file extension

### References

* [TB StreamServer](https://github.com/telcobridges-main/tmedia-wiki/tree/main/tmedia/operations/tb-streamserver/README.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/server-and-os-administration/how-to-start-stream-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
