Skip to content

Issue #1981: Extensions API Design: Interfaces need to be defined for the Extensions method signatures #2125

@abdulazizali77

Description

@abdulazizali77

What is exposed by Extensions API method signatures needs to be defined/narrowed by interfaces.
This requires design discussion on what can or can not be customized by 3rd party developers.

Currently preOutboundAction takes an Object parameter and returns an ExtensionResponse with an Object payload hence is too generic.
To maintain more control of RC, we can limit 3rd party customization of RC by only exposing specific customizable properties of RC like system-wide or session-wide outbound-proxy or outbound-sms properties.
To allow customization of RC functions/logic, different approach might be necessary.

Currently the Extension method signatures depend on specific exposed classes in extensions.api

  • telephony.api.CreateCall maps to extension.api.CallRequest
  • properties in IncomingPhoneNumbersEP constructsextension.api.ApiRequest
    There is currently no exposed extension.api class for CreateSmsSession nor UssdCall requests.
  • There is no interface to customize RC system wide or session wide configurations like outbound-proxy or outbound-sms.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions