# `Twilio.Voice.V1.SourceIpMappingService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/voice/v1/source_ip_mapping_service.ex#L2)

# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
With Source IP Mappings, Twilio can recognize your SIP requests based on where they are sent from. The Request-URI no longer has to have the FQDN (Fully Qualified Domain Name) of your SIP Domain.

Operations: `list`, `create`, `fetch`, `update`, `delete`

# `create`

```elixir
@spec create(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Voice.V1.SourceIpMapping.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `CreateSourceIpMapping` | Tags: VoiceV1SourceIpMapping

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `IpRecordSid` | string | The Twilio-provided string that uniquely identifies the IP Record resource to map from. |
| `SipDomainSid` | string | The SID of the SIP Domain that the IP Record should be mapped to. |

# `delete`

```elixir
@spec delete(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
```

Operation: `DeleteSourceIpMapping` | Tags: VoiceV1SourceIpMapping

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Voice.V1.SourceIpMapping.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `FetchSourceIpMapping` | Tags: VoiceV1SourceIpMapping

# `list`

```elixir
@spec list(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `ListSourceIpMapping` | Tags: VoiceV1SourceIpMapping

# `stream`

```elixir
@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()
```

Stream:  (lazy auto-pagination).

# `update`

```elixir
@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Voice.V1.SourceIpMapping.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `UpdateSourceIpMapping` | Tags: VoiceV1SourceIpMapping

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `SipDomainSid` | string | The SID of the SIP Domain that the IP Record should be mapped to. |

---

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