Attaching Policies to a Service Point
Service points identify a service interface and transport parameters for incoming requests. You attach policies to the service point, and all requests that arrive at the service point are handled by these policies. You can also configure a service point to be used as an egress service point from which SIP requests are routed.
This topic includes the following tasks:
Configuring a Service Point
To configure a service point:
- Create a service point, and assign it a name.[edit services border-signaling-gateway gateway bsg-1]user@host# edit service-point sip-udp-5060
- Assign a service interface to the service
point. This is the logical interface that you configured for the BSG.[edit services border-signaling-gateway gateway bsg-1 service-point sip-udp-5060]user@host# set service-interface ms-0/3/0.0
- Assign transport parameters, which can
include any combination of port number, IP address, and transport
protocol. Policies are applied only to incoming requests that match
the transport parameters. Make sure that the IP address is the address
of the service interface that you configured for the BSG. [edit services border-signaling-gateway gateway bsg-1 service-point sip-udp-5060]user@host# set transport-details port 5060 ip-address 10.10.200.20 udp
- Assign a VoIP protocol as the service
point type. Currently, SIP is the only protocol supported. [edit services border-signaling-gateway gateway bsg-1 service-point sip-udp-5060]user@host# set service-point-type sip
- Attach new transaction input and output
service policies or policy sets to the service point. New transaction
input policies apply to transactions entering at the service point,
while new transaction output policies apply to transactions exiting
from the service point.[edit services border-signaling-gateway gateway bsg-1 service-point sip-udp-5060]user@host# set service-policies new-transaction-input-policies peer-to-core [edit services border-signaling-gateway gateway bsg-1 service-point sip-udp-5060]user@host# set service-policiesnew-transaction-output-policies core-to-peer
- Attach new call usage input and policies
or policy sets to the service point. New call usage input policies
apply to calls entering at the service point, while new call usage
output policies apply to new calls exiting from the service point.[edit services border-signaling-gateway gateway bsg-1 service-point sip-udp-5060]user@host# set service-policies new-call-usage-input-policies peer-media-2-core user@host# set service-policiesnew-call-usage-output-policies core-media-2-peer
Deleting Service Points
Deletion of service points that are handling active calls is not supported. Before you delete a service point, we recommend that you detach it from its policies and wait for the active calls to close.