Jump to content
KAZOOcon: hackathon signup and details here! ×

Vijay

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Vijay

  1. Hi, Check the logs for call Id on which konami_event_listener is binding When posting the hangup on channels should also be posted on the same call Id to hangup. Check for the below in your logs and pass the same after metaflow.action. Dec 10 07:00:57 sandbox 2600hz[5046]: |konami_event_listener|kz_amqp_channel:430(<0.4979.0>) bound kazoo_apps@sandbox.test.com-konami_event_listener-<0.4979.0>-41749ddf to metaflow exchange (routing key metaflow.action.5065-0-221438582%40172%2E31%2E1%2E138.*) via channel <0.4677.0> Regards, Vijay
  2. Hi MC_, We are able to resolve the metaflow issue by changing the routing key of metaflow and succesfull in receiving the put request and send to konami_listener queue. But we are getting the below error in konami_listener function handle_metaflow. sandbox 2600hz[28688]: |0000000000|Undefined:Undefined(emulator) Error in process <0.6148.0> on node 'kazoo_apps@sandbox.com' with exit value:#012{function_clause,[{kz_json,get_json_value,[<<"Custom-Channel-Vars">>,undefined,{[]}],[{file,"src/kz_json.erl"},{line,771}]},{kapps_call,from_json,2,[{file,"src/kapps_call.erl"},{line,439}]},{konami_listener,handle_metaflow,2,[{file,"src/konami_listener.erl"},{line,71}]}]}. does the put request needs to have Custom-Channel-Vars also. Below is the put request {"action":"metaflow","data":{"module":"callflow","data":{"flow":{"module":"set_variables","data":{"custom_application_vars":{"action-name":"play-media","tenant-id":"92f50f30-661c-11e6-b9-ca81484488df","interaction-id":"87ea1654-f964-4f7d-8927-8252eae1e1e8","sub-id":"4b2f4f1c-6f6654-8ff0-7d6c4c4f6972","action-id":"89123b50-fa4d-11e9-8a87-45be5952b"}},"children":{"_":{"module":"play","data":{"id":"http://testlabs-dev-configurator-media.s3.amazonaws.com/92f50f30-661c-11e6-b1b9-ca81488df/1990f37d-2282-4815f5-3b8fe59ef5fd/Coincidences.mp3","terminators":[]},"children":{"_":{"module":"pivot","data":{"method":"POST","req_format":"kazoo","voice_url":"https://us-east-1-dev-kazoo-gateway.testlabs.net/tenants/92f50f3061c-11e6-b1b9-ca81484488df/interactions/87ea1654-4-4f7d-8927-8252eae1e1e8/tasks/4b2f4f1c-6f66-4254-8ff0-7d6c4c4f6972/actions/89123b50d-11e9-8a87-45b605e5952b?actionName=play-media"},"children":{}}}}}}}}} Please have a look and let us know If any modifications are required. Regards, Vijay
×
×
  • Create New...