> 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/use-cases/interoperability-examples/fraud-detection-youmail.md). Agents can also search and read this documentation through its [MCP server](https://prosbcdocs.telcobridges.com/~gitbook/mcp).

# Fraud Detection \[YouMail]

Add YouMail fraud protection to ProSBC. Calls trigger an HTTPS lookup of the calling number, returning level 0 valid, 1 spam or 2 fraud for call routing.

## Introduction

This configuration note describes how to set up Telcobridges ProSBC for adding YouMail fraud protection service to any system.

### Prerequisites

* ProSBC devices must be installed with release 3.1.113 or later. Here is a link to the installation guides.
* Need to have an account at [YouMail](https://www.youmail.com/) to get a Security ID (SID) and an API key. Trial accounts are available.
* ProSBC must be configured in one of the [ProSBC Use Cases](https://prosbcdocs.telcobridges.com/use-cases/interoperability-examples.md). This script will be an addon to the rest of the configuration.

<br>

### Example Environment for Fraud Protection with YouMail

Calls received on ProSBC will systematically send a HTTPS request to the YouMail service running on the cloud.\
The calling number (ANI) will be verified by the YouMail service and will return a response to the ProSBC with a level.\
Call Routes can be configured to pass valid numbers (level 0), pass or block potential spam numbers (level 1), and block fraudulous calls (level 2)

<figure><img src="https://3811773442-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiK3TemJSDhHz3xNMOvvk%2Fuploads%2F5aoInAKVYAdgqk8STMNK%2Fimage.png?alt=media&amp;token=bc5b8caf-6e3a-4455-a507-ace8250eee9e" alt="An incoming SIP call triggers an HTTPS lookup of the calling number to YouMail; level 0 continues the call while level 2 returns 603 Decline to the caller."><figcaption></figcaption></figure>

### Example Configuration

The configuration is mainly adding a script to the ProSBC. See [Adding the YouMail Script](https://prosbcdocs.telcobridges.com/configuration-details/configuration-by-use-case/configuration-for-adding-youmail-script-to-routing-scripts.md)

### Troubleshooting

<table><thead><tr><th width="200">Call Trace</th><th width="200">Test Call</th><th width="200">TBReport</th><th width="200">Advanced Troubleshooting of FreeSBC</th></tr></thead><tbody><tr><td><ul><li><a href="https://prosbcdocs.telcobridges.com/troubleshooting-and-support/troubleshooting-tips-and-actions/configuring-call-trace.md">Configure call trace</a></li><li><a href="https://prosbcdocs.telcobridges.com/troubleshooting-and-support/troubleshooting-tips-and-actions/configuring-call-trace/retrieving-call-trace.md">Retrieve call trace</a></li></ul></td><td><ul><li><a href="https://prosbcdocs.telcobridges.com/troubleshooting-and-support/troubleshooting-tips-and-actions/creating-a-test-call.md">Creating a Test Call</a></li></ul></td><td><ul><li><a href="https://prosbcdocs.telcobridges.com/troubleshooting-and-support/troubleshooting-tips-and-actions/tbreport.md">Capture a report of the system</a></li></ul></td><td><ul><li><a href="https://prosbcdocs.telcobridges.com/troubleshooting-and-support/troubleshooting-common-problems.md">Advanced Troubleshooting of ProSBC</a></li></ul></td></tr></tbody></table>

### Video guide

We also have a video guide if you prefer: [Youmail configuration video](https://youtu.be/_7Egw3nd6nwtraining)


---

# 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://prosbcdocs.telcobridges.com/use-cases/interoperability-examples/fraud-detection-youmail.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.
