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

# How to Start Stream Server

How to start the Stream Server (tbstreamserver) under Toolpack - the application that plays and records audio files on Tmedia platforms, used by ringback tone behaviours.

### 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](/other-pages/operations/tb-streamserver.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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://tmediadocs.telcobridges.com/other-pages/operations/how-to-start-stream-server.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
