Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to GIT-18-c5ebc6b

...

Get or Set a field in a geolocation profile

Description

When used to set a field on a profile, if the profile doesn't already exist, a new one will be created automatically.

The ${GEOLOCPROFILESTATUS} channel variable will be set with a return code indicating the result of the operation. Possible values are:

  • 0 - Success
  • -1 - No or not enough parameters were supplied
  • -2 - There was an internal error finding or creating a profile
  • -3 - There was an issue specific to the field specified (value not valid or field name not found)

Syntax

No Format
GEOLOC_PROFILE(field[,profile_index])
Arguments
  • field - The profile field to operate on. The following fields from the Location and Profile objects are supported.
      profile_index - The index of the profile to operate on. Not required for the special fields
      • id
      • location_reference
      • method
      • allow_routing_use
      • profile_precedence
      • format
      • pidf_element
      • location_source
      • notes
      • location_info
      • location_info_refinement
      • location_variables
      • effective_location
      • usage_rules
      • confidence
        Additionally, the inheritable field may be set to true or false to control whether the profile will be passed to the outgoing channel.

    See Also

    Import Version

    This documentation was imported from Asterisk Version GIT-18-cdbd973c5ebc6b