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

Service for Country API operations.

Operations: `list`, `fetch`

# `fetch`

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

Retrieve voice dialing country permissions identified by the given ISO country code

Operation: `FetchDialingPermissionsCountry` | Tags: VoiceV1Country

# `list`

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

Retrieve all voice dialing country permissions for this account

Operation: `ListDialingPermissionsCountry` | Tags: VoiceV1Country

## Query Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `IsoCode` | string (iso-country-code) | Filter to retrieve the country permissions by specifying the [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) |
| `Continent` | string | Filter to retrieve the country permissions by specifying the continent |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `CountryCode` | string | Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html) |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `LowRiskNumbersEnabled` | boolean | Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `HighRiskSpecialNumbersEnabled` | boolean | Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false` |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `HighRiskTollfraudNumbersEnabled` | boolean | Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`. |

# `stream`

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

Stream: Retrieve all voice dialing country permissions for this account (lazy auto-pagination).

---

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