Manual Chapter : Common Elements for SIP message routing Tasks

Applies To:

Show Versions Show Versions

BIG-IP LTM

  • 15.0.0
Manual Chapter

Common Elements for SIP message routing Tasks

  1. On the Main tab, click
    Local Traffic
    Profiles
    Message Routing
    SIP
    .
    The SIP session profiles list screen opens.
  2. On the Main tab, click
    iApps
    Application Services
    Applications LX
    .
    The Application Service List screen opens.
  3. On the Main tab, click
    iApps
    Package Management LX
    .
    The Package Management LX screen opens.
  4. Click
    Import
    .
  5. For the
    File Name
    setting, click
    Browse
    to navigate to the SIP Configuration Wizard RPM package, and then click
    Open
    to upload the package.
    The SIP Configuration Wizard RPM package is named
    sipConfigurationWizard-xx.x.x-x.xx.x.xxx.noarch.rpm
    .
  6. Click
    Upload
    .
    The SIP Configuration Wizard RPM package uploads to the Applications Service List screen.
  7. Click
    Create
    .
    The new SIP Session profile screen opens.
  8. Click the name of a SIP application.
    The default iApps LX SIP application is
    SIP Configuration
    .
  9. In the SIP Configuration Wizard, click the General Configuration tab.
    The General Configuration screen opens.
  10. In the
    Application Name
    field, type a unique name for the SIP application.
  11. For the inbound, outbound, and wildcard virtual servers, complete the following steps.
    1. In the
      Virtual Server Name
      field, type a unique name for the virtual server.
      A virtual server name cannot include special characters.
    1. In the
      Virtual Server IP
      field, type the IP address for the virtual server.
    2. In the
      Netmask
      field, type a value for the netmask.
    3. In the
      Port
      field, type a value for the ingress port for the virtual server.
    4. From the
      Type
      list, select a type of virtual server:
      SIP
      or
      RTP (forward)
      .
      RTP (forward)
      uses fastL4 functionality and requires no pool.
    5. From the
      Client Protocol
      list, select a client-side protocol:
      UDP
      or
      TCP
      .
    6. In the
      Egress Port
      field, type the egress port for the virtual server.
    7. From the
      Destination
      list, select a destination:
      Destination
      Description
      Pool
      Load balances traffic across pool members.
      When configuring a SIP ALG, do not configure a Port Block Allocation (PBA) translation LSN pool with a zombie timeout. Configuring a SIP ALG with an LSN pool that uses PBA mode with a zombie timeout can stop media translations.
      Route by URI
      Routes messages based on the URI (forwards messages to the IP address of the domain SIP proxy server associated with the Request-URI) in the SIP header. Resolves Name Authority Pointer (NAPTR) resource records.
      Forward
      For a wildcard virtual server using RTP, routes messages using the Transport Destination IP Address of the message. No pool is required.
    8. Click
      More Options
      .
    9. In the
      Vlan List
      list, select a VLAN for the virtual server, for example, internal, external, or HA.
    10. For a Route by URI destination, in the DNS Pool Members area, type an IP address and port number.
      You cannot configure a wildcard DNS pool member.
    11. Click the plus (
      +
      ) button to add another DNS pool member.
      You must configure a DNS pool member IP address and port number before you can add another DNS pool member.
    12. Select the
      Session Persistence
      check box to enable session persistence.
    13. Select the
      Insert Via Header
      check box to insert a top Via Header at the egress side of the flow, after the SIP_REQUEST_SEND event.
    14. Select the
      Honor Via Header
      check box to honor a Via header that was inserted by a system other than the BIG-IP system.
    15. Select the
      Insert Record-Route Header
      check box to insert a record-route header, that is, the local-IP address and port of the flow the system uses to forward the message.
    16. Select the
      Honor Route Header
      check box to honor a Route header that was inserted by a system other than the BIG-IP system.
    17. From the
      SNAT
      list, select the one of the options:
      • none
        .
      • automap
        .
      • snatpool
        .
        1. In the IP address field, type an IP address.
        2. Click the plus (
          +
          ) button to add an IP address, as necessary.
    18. For a Pool destination, in the Destination Pool Members area, type an IP address and port number.
      You cannot configure a wildcard destination pool member.
    19. Click the plus (
      +
      ) button to add another destination pool member.
      You must configure a destination pool member IP address and port number before you can add another destination pool member.
  12. Click
    Add Application
    to configure an additional SIP application, as necessary.
  13. In the SIP Configuration Wizard, click the Transformation tab.
    The Transformation screen opens.
  14. On the Transformation tab, click the Templates tab.
    The Templates screen opens.
  15. Click
    Add Template
    .
  16. In the
    templatex
    field, type a name for the template.
  17. Click
    Add
    to open Conditions and Actions fields and controls.
    The Conditions and Actions fields and controls open.
  18. In the Conditions areas, from the
    Header
    list, select a header.
  19. From the
    Expression
    list, select an expression.
  20. In the
    Value
    field, type a value.
  21. To configure an additional header, click the plus (+) button.
  22. In the Actions area, from the
    Operation
    list, select an operation.
  23. From the
    Header
    list, select a header.
  24. In the
    Value
    field, type a value.
  25. To configure an additional operation, click the plus (+) button.
  26. Click
    More Options
    .
  27. In the
    Description
    field, type a description for the template.
  28. Click
    Add
    to configure additional Conditions and Actions, as necessary.
  29. On the Transformation tab, click the Transformations tab.
    The Transformations screen opens.
  30. Click
    Add Template
    to configure an additional SIP template, as necessary.
  31. On the Transformation tab, click the Transformation tab.
    The Transformation screen opens.
  32. Click
    Add Application
    .
  33. If multiple applications are configured, select an application name from the application list.
  34. Click
    Add
    .
  35. From the
    Virtual Server
    list, select a virtual server.
  36. In the
    Select Template(s)
    field, select one or more templates to assign to the virtual server.
  37. Select the check box for each configured virtual server that you want to enable.
  38. Click
    Enable
    .
  39. In the SIP Configuration Wizard, click the Logging tab.
    The Logging screen opens.
  40. In the Messages to Log area, select the check box for each request to log.
    Select the
    All Requests
    check box to log all of the requests in the requests list.
  41. In the Messages to Log area, select the check box for each response to log.
    Select the
    All Responses
    check box to log all of the responses in the responses list.
  42. In the
    Apply logging to following Virtual Servers
    setting, click the arrow to select the virtual servers to which you want to apply logging.
  43. In the Headers to log area, select the headers to log.
    Select the
    Log all Headers
    check box to log all headers in the headers list.
  44. To log additional headers excluded from the Headers to log area, in the Custom Headers area, click the arrow in the
    Select Headers
    field, and then click each header that you want to log.
  45. In the Log Destination area, click the arrow to select a log destination.
  46. In the SIP Configuration Wizard, click the Headers tab.
    The Headers screen opens.
  47. To create a header, either:
    • Click
      Add
      , and type the header value in the field.
    • Select the check box for a header, click
      Duplicate
      , and modify the copied header value.
  48. To modify a header, type a modified header value in the applicable header field.
  49. To delete a header, select the check box for the header, and click
    Delete
    .
  50. On the Main tab, click
    Carrier Grade NAT
    ALG Profiles
    SIP
    SIP Session
    .
    The SIP Session profiles list screen opens.
  51. From the
    Parent Profile
    list, select
    sipsession-alg
    .
    The SIP Session profile screen refreshes, showing default SIP session ALG profile settings.
  52. Click
    Create
    .
    The New SIP Session Profile screen opens.
  53. In the
    Name
    field, type a unique name for the SIP session profile.
  54. Select the
    Custom
    check box.
  55. In the
    Maximum Message Size (bytes)
    field, type the maximum SIP message size that the system accepts.
  56. In the
    Maximum Message Header Count
    field, type the maximum number of header fields that the system allows in a SIP message.
  57. In the
    Maximum Message Header Size (bytes)
    field, type the maximum size in bytes that the system allows for a SIP message header.
  58. Select the
    Generate Response on Failure
    check box to send failure response messages when the system drops a SIP request.
  59. Select the
    Maximum Forwards Check
    check box to check the
    max-forward
    header field.
  60. Clear the
    Maximum Forwards Check
    check box.
  61. Select the
    Honor Via
    check box to honor a Via header that was inserted by a system other than the BIG-IP system.
  62. Clear the
    Honor Via
    check box.
  63. Select the
    Insert Via Header
    check box to insert a top Via Header at the egress side of the flow, after the
    SIP_REQUEST_SEND
    event.
  64. Clear the
    Insert Via Header
    check box.
  65. Select the
    Do Not Connect Back
    check box to establish a connection to a request originator, to deliver a response when the connection no longer exists.
  66. In the
    Custom Via
    field, type a value to use, when the
    Insert Via Header
    check box is selected, in the
    sent-by
    field of the Via header.
  67. Select the
    Loop Detection
    check box to check for request loops.
    If you select the
    Loop Detection
    check box, you must also select the
    Insert Via Header
    check box, and provide a value for the
    Custom Via
    setting.
  68. Select the
    Insert Record Route Header
    check box to insert a
    record-route
    header, specifically the local IP address and port of the flow that the system uses to forward the message.
  69. Select the
    SIP Firewall
    check box to enable the SIP Security settings, configured in the DoS Profile of Advanced Firewall Manager (AFM), to apply to the virtual servers that use this profile.
  70. In the Persistence area, select the
    Custom
    check box.
  71. From the
    Persist Key
    list, select a persistence key to use. The options are:
    Call-ID
    Persistence is based on the value in the Call-ID header field in the SIP message.
    Src-Addr
    Persistence is based on a custom key specified in an iRule.
    Custom
    Persistence is based on the originating IP Address in the SIP message.
  72. From the
    Persist Type
    list, select the type of the persistence that the system uses. The options are:
    Session
    The system uses the SIP session database to store persistence data. No hash is applied.
    None
    Persistence is disabled.
  73. In the
    Persist Timeout (seconds)
    field, type the number of seconds that a persistence entry lasts.
  74. On the menu bar, click
    Transport Config
    .
    The New Transport Config screen opens.
  75. Click
    Create
    .
  76. In the
    Name
    field, type a unique name for the transport config.
  77. For the
    Profiles
    setting, select a profile from the
    Available
    list, and move it to the
    Selected
    list.
  78. For the
    Profiles
    setting, move both a transport protocol profile (TCP, UDP, or SCTP) and a SIP session profile from the
    Available
    list to the
    Selected
    list.
    You can associate only one protocol profile and one SIP session profile with each transport config.
  79. For the
    iRules
    setting, select an iRule from the
    Available
    list, and move it to the
    Selected
    list.
  80. In the
    Source Port
    field, type the number of the port this transport config uses to connect to the servers on your network.
  81. From the
    Source Address Translation
    list, select an option to define how this transport config implements selective and intelligent source address translation. The default is
    None
    .
    Option
    Description
    Auto Map
    The system uses the self IP addresses of BIG-IP devices as the translation addresses.
    SNAT
    The system uses the specified SNAT pool for source address translation.
    None
    The system does not translate source addresses.
  82. On the menu bar, click
    Peers
    .
    The Peers list screen opens.
  83. Click
    Create
    .
    The New Peers screen opens.
  84. In the
    Name
    field, type a unique name for the peer.
  85. In the
    Description
    field, type a description of the peer.
  86. From the
    Connection Mode
    list, specify how connections are limited for this peer. The options are:
    Option
    Description
    Per Blade
    The number of connections to this peer is per blade on a VIPRION system.
    Per Peer
    The number of connections to this peer is per peer.
    Per TMM
    The number of connections to this peer is per TMM on the BIG-IP system.
    Per Client
    The number of connections to a remote host is per client connection.
  87. From the
    Pool
    list, select the pool of servers to which the system load balances SIP messages.
    If you configure only one peer on this BIG-IP system, ensure that you select a pool with only one member.
  88. From the
    Transport Config
    list, select the transport config that defines how the BIG-IP system communicates with the servers on your network.
  89. In the
    Number of Connections
    field, type the number of allowed connections between the BIG-IP system and the servers in the selected pool.
  90. In the
    Ratio
    field, type the ratio assigned to this peer for use within a static route.
  91. On the menu bar, click
    Static Routes
    .
    The Static Routes list screen opens.
  92. Click
    Create
    .
    The New Route screen opens.
  93. In the
    Name
    field, type a unique name for the static route.
  94. In the
    Request URI
    field, type the value found in the request-uri of a SIP message that the system matches when routing a message.
  95. In the
    From URI
    field, type the value found in the
    From
    field of a SIP message that the system matches when routing a message.
  96. In the
    To URI
    field, type the value found in the
    To
    field of a SIP message that the system matches when routing a message.
  97. From the
    Virtual Server
    list, select the virtual server from which the system receives client requests for this static route.
    If you do not select a virtual server, the system uses this static route to route SIP messages originating from any client.
  98. From the
    Peer Selection Mode
    field, select how the system selects the Peer to route a SIP message to:
    Option
    Description
    Ratio
    Peer selection is based on the ratio that is set for each peer in the
    Selected
    list.
    Sequential
    Peer selection is based on the order of the peers in the
    Selected
    list.
  99. For the
    Peers
    setting, move the peers that define the servers to which the system load balances SIP messages from the
    Available
    list to the
    Selected
    list.
  100. On the Main tab, click
    Carrier Grade NAT
    ALG Profiles
    SIP
    SIP Router
    .
    The SIP Router profiles list screen opens.
  101. From the
    Parent Profile
    list, select
    siprouter-alg
    .
    The SIP Router profile screen refreshes, showing default SIP router ALG profile settings, including the
    Operation Mode
    set to
    Application Level Gateway
    .
  102. On the menu bar, click
    Router Profiles
    .
    The Router Profiles list screen opens.
  103. Click
    Create
    .
    The New Router Profiles screen opens.
  104. In the
    Name
    field, type a unique name for the router profile.
  105. In the Settings area, select the
    Custom
    check box.
  106. From the
    Operation Mode
    list, select
    Load Balancing
    .
  107. From the
    Operation Mode
    list, select
    Application Level Gateway
    .
  108. To use connection mirroring, configure the
    Traffic Group
    setting.
    1. Clear the
      Inherit traffic group from current partition / path
      check box.
    2. From the list, select a traffic group, such as,
      traffic-group-1
      .
    Changing traffic groups, with Connection Mirroring enabled, drops all mirrored connections and loses all persistence data. If you change traffic groups, mirroring must restart.
    The traffic group for the virtual address and mirrored attribute are overwritten by the attached router profile.
  109. Select the
    Connection Mirroring
    check box.
    For connection mirroring to properly function, this device must be a member of a device group.
  110. In the
    Mirrored Message Sweeper Interval
    field, type the milliseconds for the frequency of the mirrored message sweeper.
  111. In the Session Timeout (seconds) area, select the
    Custom
    check box.
  112. In the
    Transaction Timeout
    field, type the maximum number of seconds the system allows for a transaction, that is, the time between a request and response.
  113. In the
    Maximum Session Timeout
    field, type the maximum duration (in seconds) that a call remains active.
  114. In the
    Dialog Establishment Timeout
    field, type a value for the INVITE transaction timeout.
  115. In the Media Proxy area, select the
    Custom
    check box.
  116. In the
    Maximum Media Sessions
    field, type the maximum number of media sessions allowed per call.
  117. In the
    Media Inactivity Timeout (seconds)
    field, type the maximum duration (in seconds) that a media flow is active with no RTP packets.
  118. In the Registration area, select the
    Custom
    check box.
  119. In the
    Maximum Registrations
    field, type the maximum number of registrations allowed.
  120. In the
    Maximum Registrations Per Subscriber
    field, type the maximum number of registrations per subscriber.
  121. In the
    Concurrent Sessions Per Subscriber
    field, type the maximum number of concurrent outgoing calls allowed per subscriber.
  122. In the
    Registrations Timeout (seconds)
    field, type the maximum duration (in seconds) that a registration entry remains active.
  123. Clear the
    Non Register Subscriber Callout
    check box to prevent non-registered subscribers from making calls without a prior REGISTER message.
  124. In the Log Settings area, select the
    Custom
    check box.
  125. From the
    Log Publisher
    list, select the log publisher that the BIG-IP system uses to send log messages to a specified destination.
    If you configure a log publisher, you must also configure a Logging Profile.
    If you configure a log publisher to use multiple logging destinations, then, by default, all logging destinations must be available in order to log to each destination. Unless all logging destinations are available, no logging can occur. If you want to log to the available logging destinations when one or more destinations become unavailable, you must set the
    logpublisher.atomic
    db variable to
    false
    .
  126. From the
    Logging Profile
    list, select the logging profile that the BIG-IP system uses to configure logging options for various ALG events.
    If you configure a Logging Profile, you must also configure a Log Publisher.
  127. On the Main tab, click
    Carrier Grade NAT
    Virtual Servers
    Virtual Server List
    .
    The Virtual Server List screen opens.
  128. Click
    Create
    .
    The New Virtual Server screen opens.
  129. In the
    Name
    field, type a unique name for the virtual server.
  130. In the
    Description
    field, type a description for the virtual server.
  131. From the
    Type
    list, select
    Message Routing
    .
  132. From the
    Configuration
    list, select
    Advanced
    .
  133. From the
    Application Protocol
    list, select
    SIP
    .
  134. From the
    Session Profile
    list, select a SIP session ALG profile.
  135. From the
    Router Profile
    list, select a SIP router ALG profile.
  136. From the
    Source Address Translation
    list, select
    LSN
    .
  137. From the
    LSN Pool
    list, select an LSN pool.
  138. Click
    Finished
    .