mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-28 08:49:42 +02:00
adding exotel support
This commit is contained in:
parent
2326a2f65a
commit
fba164ca00
9 changed files with 822 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ from api.services.telephony.providers.cloudonix.config import (
|
|||
CloudonixConfigurationRequest,
|
||||
CloudonixConfigurationResponse,
|
||||
)
|
||||
from api.services.telephony.providers.exotel.config import (
|
||||
ExotelConfigurationRequest,
|
||||
ExotelConfigurationResponse,
|
||||
)
|
||||
from api.services.telephony.providers.plivo.config import (
|
||||
PlivoConfigurationRequest,
|
||||
PlivoConfigurationResponse,
|
||||
|
|
@ -48,6 +52,7 @@ TelephonyConfigRequest = Annotated[
|
|||
Union[
|
||||
ARIConfigurationRequest,
|
||||
CloudonixConfigurationRequest,
|
||||
ExotelConfigurationRequest,
|
||||
PlivoConfigurationRequest,
|
||||
TelnyxConfigurationRequest,
|
||||
TwilioConfigurationRequest,
|
||||
|
|
@ -73,6 +78,7 @@ class TelephonyConfigurationResponse(BaseModel):
|
|||
cloudonix: Optional[CloudonixConfigurationResponse] = None
|
||||
ari: Optional[ARIConfigurationResponse] = None
|
||||
telnyx: Optional[TelnyxConfigurationResponse] = None
|
||||
exotel: Optional[ExotelConfigurationResponse] = None
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
@ -136,6 +142,8 @@ __all__ = [
|
|||
"ARIConfigurationResponse",
|
||||
"CloudonixConfigurationRequest",
|
||||
"CloudonixConfigurationResponse",
|
||||
"ExotelConfigurationRequest",
|
||||
"ExotelConfigurationResponse",
|
||||
"PlivoConfigurationRequest",
|
||||
"PlivoConfigurationResponse",
|
||||
"TelephonyConfigRequest",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue