> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/wifi-pineapple-pager/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/wifi-pineapple-pager/ringtones.md).

# Ringtones

The WiFi Pineapple Pager uses the `rtttl` format for ringtones.

`RTTTL` - the Ring Tone Text Transfer Language - was developed originally by Nokia for transferring ringtones to cell phones. This seemed highly appropriate for use with the Pager!

You can learn more about the internals of the RTTTL format [here](https://en.wikipedia.org/wiki/Ring_Tone_Text_Transfer_Language)

### RTTTL ringtones  <a href="#rtttl-ringtones" id="rtttl-ringtones"></a>

Very large quantities of ringtones can be found on the Internet; use your favorite search engine and search for “RTTTL ringtone collection” for instance.

A RTTTL ringtone will look something like this:

```none
Desk Phone:d=8,o=5,b=500:c#,f,c#,f,c#,f,c#,f,c#,f,4p.,c#,f,c#,f,c#,f,c#,f,c#,f,1p.,c#,f,c#,f,c#,f,c#,f,c#,f,4p.,c#,f,c#,f,c#,f,c#,f,c#,f
```

It consists of a name, default octave and note lengths, and the note data.

### Uploading ringtones  <a href="#uploading-ringtones" id="uploading-ringtones"></a>

Ringtones should be placed in `/root/ringtones`.

Each ringtone file should have a single ringtone, and be named `whatever-you-want.rtttl`.

Ringtones can be copied using `scp` or `sftp` (or a graphical front end for these tools), or created on the device directly using a text editor such as `nano` or `vim`.

### Testing ringtones  <a href="#testing-ringtones" id="testing-ringtones"></a>

Ringtones can be tested using the `RINGTONE` command, by passing either a complete ringtone string (in quotes!) or the name of the ringtone file.

```shell
root@pager:/mmc/root# RINGTONE "Desk Phone:d=8,o=5,b=500:c#,f,c#,f,c#,f,c#,f,c#,f,4p.,c#,f,c#,f,c#,f,c#,f,c#,f,1p.,c#,f,c#,f,c#,f,c#,f,c#,f,4p.,c#,f,c#,f,c#,f,c#,f,c#,f"
```

<br>


---

# 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://documentation.hak5.org/wifi-pineapple-pager/ringtones.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.
