Jump to content

API metaflows for on-demand call recording


Recommended Posts

My development team is in needs of some technical assistance. Here is the request they asked me to post.

Thanks in advance!

---snip

I have been trying to get metaflows working for on demand call recording. Below is the metaflow object I have been using. I have tried several different versions playing with different parameters. Nothing seems to work. I have attached this to both the account and to a device. I have not tried attaching to a callflow, but that is not what I want to do. The URL is a 'capture' service that allows me to see the request. I have successfully used it when placing a call recording element in a callflow. Any help would be greatly appreciated'

 

"metaflows": {

      "numbers": {

        "8": {

          "module": "record_call",

          "data": {

            "action": "stop"

          }

        },

        "9": {

          "module": "record_call",

          "data": {

            "action": "start",

            "method": "put",

            "url": "http://requestb.in/13gt1so1?recording=",

            "time_limit": 1200,

            "format": "mp3"

          }

        }

      },

      "patterns": {

        "^1(\\d+)$": {

          "module": "callflow"

        }

      },

      "binding_digit": "*",

      "digit_timeout_ms": 800,

      "listen_on": "both",

      "owner_id": "account id removed"

    }
Link to comment
Share on other sites

×
×
  • Create New...