Javascript MatchingItem

From Yate Documentation
Revision as of 14:03, 3 September 2024 by Marian (talk | contribs)
Jump to navigation Jump to search

General

Object implementing complex matching.
May be set as filter in Message handler and post hook install (match one or more message parameter(s)). May be used for matching individual values

Constructor

  • new Engine.MatchingItem(value[,name[,params])

Build a new MatchingItem object.
Parameters:
value:
name:
params:



Static methods

  • validate(value[,name[,params]])

Parameters:
value:
name:
params:
Return:
Success: Object with matching properties
Success with empty optimized matching: null/undefined
Error: string describing the error


Methods

  • matches(value)


  • getDesc([params])


  • dump([params[,indent,origIndent]])