[
Contents ]
[
Prev ]
[
Next ]
[
Index ]
[
Report an Error ]
Configuring a New Call Usage Policy
Use new call usage policies to classify media and to provision
the actions to take on the media streams. Actions can include marking,
dropping, or rate limiting.
We suggest that you assign meaningful names to your policies
and terms. In this procedure, we are creating a policy for traffic
going from the peer to the core. The policy has two conditions, one
for voice traffic and one for video traffic.
Step-by-Step Procedure
To configure a new call usage policy instance:
Create a new call usage policy, and assign
it a name.
[edit services border-signaling-gateway gateway bsg-1 sip]
user@host#edit new-call-usage-policy peer-media-2-core
Configure a term for voice traffic coming
from the peer.
[edit services border-signaling-gateway gateway bsg-1 sip
new-call-usage-policy peer-media-2-core]
user@host#edit term voice
Configure match conditions for the term.
For example, to match any call made to area code 555:
[edit services border-signaling-gateway gateway bsg-1 sip
new-call-usage-policy peer-media-2-core term voice]
user@host#set from request-uri regular-expression
sip:555.+
Configure the actions taken on media
sessions that match the term condition. For example, set the media
policy to a service class.
[edit services border-signaling-gateway gateway bsg-1 sip
new-call-usage-policy peer-media-2-core term voice]
user@host#set then media-policy service-class
voice-high
Configure a term for video traffic coming
from the peer.
[edit services border-signaling-gateway gateway bsg-1 sip
new-call-usage-policy peer-media-2-core]
user@host#edit term video
Configure match conditions for the term.
[edit services border-signaling-gateway gateway bsg-1 sip
new-call-usage-policy peer-media-2-core term video]
user@host#set from request-uri regular-expression
sip:121.+
Configure the actions taken on media
sessions that match the term condition.
[edit services border-signaling-gateway gateway bsg-1 sip
new-call-usage-policy peer-media-2-core term video]
user@host#set then media-policy service-class
video-high
Related Topics
Chapter 31, Summary of Border Signaling Gateway
Configuration Statements in JUNOS Services Interfaces Configuration Guide
[
Contents ]
[
Prev ]
[
Next ]
[
Index ]
[
Report an Error ]