Skip to content

PJSIP_PARSE_URI_FROM()

Synopsis

Parse the contents of a variable as a URI and return a type part of the URI.

Description

Parse the contents of the provided variable as a URI and return a specified part of the URI.

Syntax

PJSIP_PARSE_URI_FROM(uri,type)
Arguments
  • uri - Name of a variable that contains a URI to parse

  • type - The 'type' parameter specifies which URI part to read

    • display - Display name.

    • scheme - URI scheme.

    • user - User part.

    • passwd - Password part.

    • host - Host part.

    • port - Port number, or zero.

    • user_param - User parameter.

    • method_param - Method parameter.

    • transport_param - Transport parameter.

    • ttl_param - TTL param, or -1.

    • lr_param - Loose routing param, or zero.

    • maddr_param - Maddr param.

Generated Version

This documentation was generated from Asterisk branch 18 using version GIT