mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-25 12:01:04 +02:00
feat(twilio): add Answering Machine Detection (AMD) support via telephony config (#443)
* feat(twilio): add Answering Machine Detection (AMD) support via telephony config Closes #339 * chore: regenerate OpenAPI spec to fix drift-check The openapi.json snapshot had drifted from the FastAPI app definition because main gained new organization endpoints (billing, credits, context) after this branch was created. Regenerate it with 'python -m scripts.dump_docs_openapi' to bring it back in sync. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat: add provider-level AMD hooks * fix: handle db error while persisting amd result --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Sabiha Khan <sabihak89@gmail.com> Co-authored-by: Sabiha Khan <87858386+chewwbaka@users.noreply.github.com>
This commit is contained in:
parent
29c5be298c
commit
d675fd1fda
11 changed files with 380 additions and 66 deletions
|
|
@ -5892,6 +5892,12 @@ export type TwilioConfigurationRequest = {
|
|||
* List of Twilio phone numbers
|
||||
*/
|
||||
from_numbers?: Array<string>;
|
||||
/**
|
||||
* Amd Enabled
|
||||
*
|
||||
* Detect whether outbound calls are answered by a person or machine. Twilio may bill AMD as an additional per-call feature.
|
||||
*/
|
||||
amd_enabled?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -5916,6 +5922,10 @@ export type TwilioConfigurationResponse = {
|
|||
* From Numbers
|
||||
*/
|
||||
from_numbers: Array<string>;
|
||||
/**
|
||||
* Amd Enabled
|
||||
*/
|
||||
amd_enabled?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue