In this tab, you can view the general information about the service policy, such as the protocol this service policy is based on or the description.

Service policy, General tab

Description

Link copied to clipboard

This is a short description of the service policy.

Also, this field is used in the Internet service policy to configure Sharing an Internet quota among multiple devices (you can specify “verify_mac=alias” or “verify_mac=customer” to activate the NetAccessVerifyMAC module).

Match policy based on

Link copied to clipboard

Select the protocol used to match the service policy: SIP or Diameter.

UserAgent pattern

Link copied to clipboard

This field is available for Voice calls service policies and specifies a pattern for the user agent (UA) type. If this field is filled, PortaSIP uses its value to dynamically match against every new call from/to internal accounts. If the specified pattern matches the caller/callee UA type, the policy attributes apply to this call. This field can contain either a full UA name (e.g., Linksys/SPA941-5.1.8) or a list of patterns separated by a comma (e.g., Cisco%,Sipura%,Grandstream%).

Recipient domain pattern

Link copied to clipboard

This field is available for Messaging service policies and specifies the recipient’s domain name or CLD. If this field is filled, PortaSIP uses its value to dynamically match against every new message from/to internal accounts. If the specified pattern matches the recipient domain, the policy attributes (i.e., transport protocol, routing and billing parameters) are used for processing and delivery of messages (both SMS and instant messages). For example, if you want to allow your end users to send SMS messages to any mobile network, type %. If you only allow end users to send SMS to a specific mobile operator, specify the pattern as follows: %XXX% (e.g., %380% for all mobile operators in Ukraine or %38050% for Vodafone Ukraine). Thus, when a user sends an SMS to +38055551122, PortaSIP matches the number with the pattern (e.g., %380%) and applies the service policy attributes.

Attribute pattern

Link copied to clipboard

This field is available for the service policies matched based on the Diameter (Ro/Gy) requests.

Enter a key=value pattern to match incoming Diameter requests. If the request contains an attribute that matches this pattern, PortaBilling applies this service policy automatically.

This is typically used to identify requests from specific mobile core elements (for example, packet gateways). For example, “Origin-Host=%.company.domain” matches any host within that realm (such as pgw1.company.domain or pgw2.company.domain).

Only matching requests will have this policy applied (i.e., the Ignore user name option).

Match priority

Link copied to clipboard

This is only used for policies that match dynamically (Voice service policies must have the SIP end-point pattern field filled and Messaging service policies must have the Recipient domain pattern field filled). So, if more than one service policy matches, then the one with the highest priority is used.

Hotlining

Link copied to clipboard

This section is available for Internet access service policies only. You can configure hotlining – the redirection of Internet users to a specific website where they can quickly pay for the Internet service if their traffic quota has exceeded or if they have insufficient balance to access the Internet.To enable hotlining, select one or both checkboxes:

  • If account is out of funds – select this checkbox to redirect end users if their traffic quota has exceeded or if they have insufficient balance to access the Internet.
  • If account is suspended or blocked – select this checkbox to redirect end-users whose accounts are blocked, suspended or expired.

Captive portal (Hotline URL)

Link copied to clipboard

Specify the website URL here.

To disable hotlining, clear the checkboxes.

Docs for
What's new
Admin manuals
Handbooks
UI help
Developers documentation