mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
feat: add amd callback
This commit is contained in:
parent
aed5a782fb
commit
fb08f56524
11 changed files with 308 additions and 137 deletions
|
|
@ -352,3 +352,17 @@ class TelephonyProvider(ABC):
|
|||
True if provider supports call transfers, False otherwise
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
async def hang_up(self, call_id: str, **kwargs: Any) -> Dict[str, Any]:
|
||||
"""
|
||||
Terminate an active call.
|
||||
|
||||
Args:
|
||||
call_id: Provider-specific call identifier
|
||||
**kwargs: Provider-specific additional parameters
|
||||
|
||||
Returns:
|
||||
Dict containing hangup response (format varies by provider)
|
||||
"""
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue