# `Twilio.Routes.V2.TrunkService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/routes/v2/trunk_service.ex#L2)

Service for Trunk API operations.

Operations: `fetch`, `update`

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Routes.V2.Trunk.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Fetch the Inbound Processing Region assigned to a SIP Trunk.

Operation: `FetchTrunks` | Tags: RoutesV2Trunk

# `update`

```elixir
@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Routes.V2.Trunk.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Assign an Inbound Processing Region to a SIP Trunk

Operation: `UpdateTrunks` | Tags: RoutesV2Trunk

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `FriendlyName` | string | A human readable description of this resource, up to 64 characters. |
| `VoiceRegion` | string | The Inbound Processing Region used for this SIP Trunk for voice |

---

*Consult [api-reference.md](api-reference.md) for complete listing*
