You can route SIP requests by specifying a next-hop action. This action controls the SIP entity towards which SIP requests are sent. You can configure the next-hop as a static IP address or an address extracted from the SIP request according to SIP rules. You can also configure where the request exits from the BSG by setting an egress service point.
Step-by-Step Procedure
To configure routing policy actions:
- user@host#edit services border-signaling-gateway
gateway bsg-1 sip new-transaction-policy tp1 term term1 then route
To configure the next-hop address as a static ip (ipv4) address:
- [edit services border-signaling-gateway gateway bsg-1 sip
new-transaction-policy tp1 term term1 then route]
- user@host#set next-hop address 196.10.3.45
To configure the next-hop address based on the input uri:
- [edit services border-signaling-gateway gateway bsg-1 sip
new-transaction-policy tp1 term term1 then route]
- user@host#set next-hop address request-uri
- [edit services border-signaling-gateway gateway bsg-1 sip
new-transaction-policy tp1 term term1 route]
- user@host#set egress-service-point eserv1