-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
add metadata property to createCall api #163
Comments
This will of course require changes in jambonz-feature-server as well (and possibly verb-specifications?) |
This Metadata also should be available in call status hook too |
it should probably just be treated as tag data, which does appear in the call status hook |
in current version of api-server, it forward what ever it received from user to feature server, |
yes but should swagger be updated? |
Hi @davehorton @vdharashive |
is tag already supported? I forgot that....if so, then we don't need metadata. Can you show how it is used @xquanluu ? |
Hi @davehorton https://github.com/jambonz/jambonz-feature-server/blob/main/lib/http-routes/api/create-call.js#L196 So that in create-call REST API body, just include: Then the customerData object will be sent to call_hook and call_status_hook. |
Add support for an optional metadata property to createCall. If provided, 'metadata' should be an object and this data should then be provided in the call_hook for the new call
The text was updated successfully, but these errors were encountered: