Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
IVR
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
public
x2
IVR
Commits
f68d58b1
Commit
f68d58b1
authored
May 17, 2021
by
Karen McElroy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add line endings to README file for readability.
parent
989c0c95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
29 deletions
+29
-29
README.md
README.md
+29
-29
No files found.
README.md
View file @
f68d58b1
# IVR sample in C Sharp #
This is an IVR sample client.
## Configuration ##
This sample comes with a conf.yamll file located in the IVR-X2/bin/Debug/netcoreapp3.1
directory. Here is the structure of the config file"
**ip**
: ip adress and port of your X2 server
**certificate**
: name of your certificate file if it is located in the
ivr_client directory. If it is elsewhere, then the full path to your
certificate file.
**username**
: username to use to connect to the X2 server.
**password**
: password to use to connect to the X2 server.
the username and password must be configured on the X2 server.
**applicationName**
: application name configured on the X2 server.
**dids**
: The DIDs that will be used for this application. THose DIDs must be
added to the X2 server.
**connectUsingServername**
: if set to true, the server name and port will be used
to establish a connection to the X2 server. If set to false the IP address
and port will be used to establish a connection. This is because if
attempting to connect with the IP address and it is the serverName in the
certificate file, then connection may fail.
## Compiling the code ##
This is an IVR sample client.
## Configuration ##
This sample comes with a conf.yamll file located in the IVR-X2/bin/Debug/netcoreapp3.1
directory. Here is the structure of the config file"
**ip**
: ip adress and port of your X2 server
**certificate**
: name of your certificate file if it is located in the
ivr_client directory. If it is elsewhere, then the full path to your
certificate file.
**username**
: username to use to connect to the X2 server.
**password**
: password to use to connect to the X2 server.
the username and password must be configured on the X2 server.
**applicationName**
: application name configured on the X2 server.
**dids**
: The DIDs that will be used for this application. THose DIDs must be
added to the X2 server.
**connectUsingServername**
: if set to true, the server name and port will be used
to establish a connection to the X2 server. If set to false the IP address
and port will be used to establish a connection. This is because if
attempting to connect with the IP address and it is the serverName in the
certificate file, then connection may fail.
## Compiling the code ##
To compile the code, run the following command from the IVR directory;
dotnet msbuild
To compile the code, run the following command from the IVR directory;
dotnet msbuild
## Running the sample ##
## Running the sample ##
This is run using the following command from the IVR-X2/bin/Debug/netcoreapp3.1
directory;
This is run using the following command from the IVR-X2/bin/Debug/netcoreapp3.1
directory;
./IVR-X2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment