Jump to content
2600Hz Community

Hangup an in-progress call


simonp22
 Share

Recommended Posts

Hi, 

We have tried POSTing to the channel endpoint, but the call does not hangup.

I notice the docs say

Quote

!!! note This API requires Konami Pro to be running and metaflows to be enabled on the call

How do we do this, and is there no open source way to get the same functionality?

Link to comment
Share on other sites

Turned out we hadn't got konami installed. 

After that was installed and enabled. The request that worked for us was

POST /accounts/{ACCID}/channels/{UUID}

{ "data": { "action": "hangup" } }

However this was only after adding this to the Kazoo account document

POST /accounts/{ACCID}/metaflows

{"data": { "module":"hangup"}}

 

Edited by simonp22 (see edit history)
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...