what is operator "eq"
# support
a
here is a code of transferCall but what is the orator "eq" mean how it works.
Copy code
json
 "messages": [
        {
          "type": "request-start",
          "content": "I am forwarding your call to Department A. Please stay on the line.",
          "conditions": [
            {
              "param": "destination",
              "operator": "eq",
              "value": "+1234567890"
            }
          ]
        },
v
@Alamin H The operator "eq" in the context of the
transferCall
code snippet you provided stands for "equals." It is used to specify a condition that must be met for the action to take place. In this case, the condition is checking if the parameter "destination" is equal to the value "+1234567890." When the condition is evaluated, if the "destination" parameter exactly matches the string "+1234567890," then the message "I am forwarding your call to Department A. Please stay on the line." will be triggered as part of the request-start action. This is a common practice in programming and scripting to control the flow of logic based on certain conditions being met.
You can continue this conversation by mentioning me in the message.
@Alamin H Sweet. Have a great day!
@Vapi Sweet. Have a great day!