NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Dialrule → Count Dialrules in a Dialplan

AI-generated

Summary

Count dialrules in a specified dialplan

Inputs

  • refreshOptions — Bypass cached dropdown values and fetch fresh options
  • v45Notice — Operation may require NetSapiens API v45+; older servers may not support it
  • GetDomainsByDialplansByDialrulesCount__path__domain (required) — Domain to query
  • GetDomainsByDialplansByDialrulesCount__path__dialplan (required) — Dialplan identifier

Output shape

integer count of dialrules

Returns the number of dialrules in the specified dialplan; may be zero if none

Examples

Example 1: User selects a domain and dialplan to count dialrules

Set domain to a chosen domain, dialplan to a dialplan name, optionally enable refreshOptions

Links

Discussion