Andres Gomez Posted July 6, 2022 Report Share Posted July 6, 2022 Hello guys, Has anyone used the Branch Variable call-flow option through the Monster UI? and if so can you guys share some guidance or business case around it? We tried to use it to enable and disable call-waiting on the server side, and branch out some different flows, but we weren't successful in finding the variables available to be used and whether they work. Thanks Andres Link to comment Share on other sites More sharing options...
2600Hz Employees mc_ Posted July 12, 2022 2600Hz Employees Report Share Posted July 12, 2022 Some ideas here: https://docs.2600hz.com/dev/applications/callflow/doc/cf_branch_variable/ Link to comment Share on other sites More sharing options...
Andres Gomez Posted July 12, 2022 Author Report Share Posted July 12, 2022 Thanks, I did see that. But I couldn't find a list of variables to verify the syntax. Would you be able to suggest an example based on what we are trying to do? Link to comment Share on other sites More sharing options...
2600Hz Employees mc_ Posted July 13, 2022 2600Hz Employees Report Share Posted July 13, 2022 The module will look for a child branch in "children" that matches the value found at "variable"'s path in the "scope" data structure. So if "scope" is "custom_channel_vars" and "variable" is "authorizing_type", the module will look for children based on "authorizing_type" (like "device", "resource", etc) in the call's "custom_channel_vars" JSON object Link to comment Share on other sites More sharing options...
Recommended Posts