call-type (policy)

Syntax

call-type class-of-call;

Hierarchy Level

[edit services convergence-services class-of-restriction class-of-restriction-configuration policy policy-name permission (allow | deny) ]

Release Information

Statement introduced in Release 10.0 of Junos OS.

Description

Specify the call-type parameter to indicate the type of call that the policy for it applies to. The policy specifies whether the call is allowed or denied.

You define policies for class of restriction configurations. You can define policies for inter-branch, local, long-distance, and international and custom call types.

A class of restriction configuration is applied to a station or a station template. If a policy specifies that a type of call is allowed and its class of restriction configuration is applied to a station, a user is allowed to make the call type from the station’s telephone. A class of restriction configuration assigned to a station takes precedence when a template that specifies a class-of-restriction configuration is also applied to the station.

You can configure many policies for a single class of restriction configuration, but you must configure each one separately.

By default, all classes of calls are denied except emergency calls and intra-branch calls.

Note: The trunk-call type of call is an exception. The SRX Series media gateway dial plan can include route patterns for the trunk-call call type, but no class of restriction is required for it.

Apart from trunk-call, the call-type statement for class of restriction policies is applicable when the SRX Series survivable call server is in control.

Options

class-of-call—Type of call for which a policy is defined.

Only one type of call applies to the media gateway, the trunk call.

trunk-call—Used by the peer call server to route calls back through the media gateway trunks to the PSTN.

Usage Guidelines

For configuration instructions and examples, see the Junos OS Integrated Convergence Services Configuration and Administration Guide.

Required Privilege Level

services—To view this statement in the configuration.

services–control—To add this statement to the configuration.