Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abdulazizali77 opened this issue May 4, 2017 · 1 comment
Assignees

Comments

@abdulazizali77
Copy link
Contributor

abdulazizali77 commented May 4, 2017

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.
@abdulazizali77 abdulazizali77 changed the title Issue #1981: Extensions API Design: Interfaces need to be defined: preOutboundAction is too generic Issue #1981: Extensions API Design: Interfaces need to be defined for the method signatures May 4, 2017
@abdulazizali77 abdulazizali77 changed the title Issue #1981: Extensions API Design: Interfaces need to be defined for the method signatures Issue #1981: Extensions API Design: Interfaces need to be defined for the Extensions method signatures May 4, 2017
@abdulazizali77
Copy link
Contributor Author

@gvagenas this is already currently being addressed in the Voice_2b implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants