Configure test-stir

To configure global STIR/SHAKEN configuration parameters on the SBC, use the test-stir object under session-router.

  1. Access the test-stir branch from Superuser mode.
    ACMEPACKET# test-stir
    ACMEPACKET(test-stir)#
  2. Type sti-server followed by the configured name of the sti-server with which you are targeting this test.
  3. Type direction followed by the applicable value and press Enter. Available values include:
    • to-AS
    • to-VS
    • from-AS
    • from-VS
  4. Type load-json-content, then paste the JSON body as the value to use as for this test. Press Ctrl + D to end the message, and press Enter. This parameter is required when using the directions from-AS and from-VS.
  5. Type load-http-content, then paste the HTTP content (Headers and Body) as the value to use as for this test. Press Ctrl + D to end the message, and press Enter. This parameter is required when using the directions from-AS and from-VS.
  6. Type load-sip-message, the paste the SIP INVITE content as the value to use for this test. Press Ctrl + D to end the message, and press Enter. This parameter is required when using the directions to-AS and to-VS.
  7. Type http-mapping-rule followed by the name of the configured http-mapping-rule you want to use for this test, and press Enter.
    This content can be used as a source for VS or AS requests only, and therefore only applies to tests that use the to-AS or to-AS directions.
  8. Type tls-profile followed by the name of the configured tls-profile you want to use for this test, and press Enter.
  9. Type http-client followed by the name of the configured http-client you want to use for this test, and press Enter.
  10. Type execute to run this test, and press Enter.
  11. Type display-sip-message , followed by your value to enable or disable the display of the trigger message for this test, and press Enter. Values include:
    • disabled (default)
    • enabled
  12. Type debugging, followed by your value to run this test while the system is operating in debug mode, and press Enter. Values include:
    • disabled (default)
    • enabled
  13. Type done.
  14. Save and activate your configuration.