Skip to content

Added RVD_HTTP_TIMEOUT configuration option to advanced.conf and conf…#2719

Merged
jaimecasero merged 2 commits intomasterfrom
issue2718_rvd_http_timeout_configuration
Dec 18, 2017
Merged

Added RVD_HTTP_TIMEOUT configuration option to advanced.conf and conf…#2719
jaimecasero merged 2 commits intomasterfrom
issue2718_rvd_http_timeout_configuration

Conversation

@otsakir
Copy link
Copy Markdown
Contributor

@otsakir otsakir commented Dec 18, 2017

…igured rvd.xml

Refers #2718

Relates to #2711

# MAIN

if [[ "$RVD_UNDEPLOY" = true || "$RVD_UNDEPLOY" = TRUE || "$RVD_UNDEPLOY" != True ]]; then
if [[ "$RVD_UNDEPLOY" = true || "$RVD_UNDEPLOY" = TRUE || "$RVD_UNDEPLOY" = True ]]; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

;-) ran some manual testing and fell right on it.

RVD_URL='' # override if RVD is not under the same domain with restcomm. Use a base url like http://myrvd.restcomm.com . No path included. This affects restcomm.xml/<rcmlserver/>
RVD_VIDEO_SUPPORT='false' # Toggle RVD Video RCML generation and UI
RVD_MAX_MEDIA_FILE_SIZE=4194304 # Limit media file size when uploading. For video should probably be greater
RVD_HTTP_TIMEOUT='' # Timeout for http connections in rvd http client. It mainly affects connections to restcomm (create calls, fetch account etc.). It does not affect ES.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need default value?. empty is using hardcoded? can you add comment with expected time units(secs,millis....)?

Copy link
Copy Markdown
Contributor Author

@otsakir otsakir Dec 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaimecasero , if empty the setting (if exists) will be removed from rvd.xml and the default value in the rvd binary will be used.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me add the time units (ms)

@jaimecasero
Copy link
Copy Markdown
Contributor

im ok merging this

@jaimecasero jaimecasero merged commit d92d4d5 into master Dec 18, 2017
@otsakir otsakir deleted the issue2718_rvd_http_timeout_configuration branch January 24, 2018 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants