Calls API: emulate DTMF action

Description

As a developer I want an API to simulate a DTMF sent from a phone

  • PUT /calls/{call_id}/dtmf

Also validate that user can call the /users/me api

Technical details:

AMI Action: PlayDTMF: https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerAction_PlayDTMF

Zendesk Ticket IDs

None

Activity

Show:

Sébastien Duthil May 8, 2020 at 2:07 PM
Edited

Thank you Alex! Nice and simple

There is just a small PR missing in wazo-auth to add the ACL to the users and we’re good to go!

Sébastien Duthil February 4, 2020 at 2:30 PM

I just don’t want to be blocked later if we have to implement DTMF in the other direction (i.e. from Asterisk to the phone), so after some thinking, maybe send/receive is not the best terminology. The final verb remains to be determined.

Sébastien Duthil February 4, 2020 at 2:27 PM

It’s receive from the point of view of Asterisk (as in the PlayDTMF AMI action), but it makes much more sense to have “send” in the REST API.

Sylvain Boily February 3, 2020 at 4:44 PM

Why receive? Not sure to understand. This is not to receive DTMF but to send DTMF.

Done

Details

Priority

Assignee

Reporter

Approvers

Sébastien Duthil

Fix versions

Sprint

Labels

Zendesk Support

Created February 3, 2020 at 4:27 PM
Updated June 8, 2020 at 3:16 PM
Resolved May 29, 2020 at 7:39 PM