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 2620 #2641

Open
wants to merge 7,123 commits into
base: master
Choose a base branch
from
Open
Changes from 12 commits
Commits
Show all changes
7123 commits
Select commit Hold shift + click to select a range
165be48
Merge branch 'restcomm-1543' of https://github.com/RestComm/Restcomm-…
jaimecasero Jan 24, 2018
ab15d23
delete profile associations on removal
jaimecasero Jan 24, 2018
93c1b38
fixed bullet list, and code section
jaimecasero Jan 24, 2018
b7b207a
schemas relocated into specific subresoruce, and sec disabled for sch…
jaimecasero Jan 24, 2018
c5a4e69
fixed test
jaimecasero Jan 24, 2018
d16d803
profile tables added to all scripts
jaimecasero Jan 24, 2018
addccb1
Fixed log statements for NumberSelector service.
gvagenas Jan 24, 2018
8fb1c56
Merge branch 'master' of github.com:RestComm/Restcomm-Connect
gvagenas Jan 24, 2018
7d9e537
Fixed log statements during the method `redirectToHostedApp`
gvagenas Jan 24, 2018
f9bafc1
Add countly support to console
ammendonca Jan 24, 2018
74d84c2
fixed duplicate profile tables
jaimecasero Jan 25, 2018
2d49fbe
Patch to protect ExtensionsController action methods from NPE
gvagenas Jan 25, 2018
12dc0a1
Fixed log statements during the method `redirectToHostedApp`
gvagenas Jan 25, 2018
186e2ab
Merge branch 'master' of github.com:RestComm/Restcomm-Connect
gvagenas Jan 25, 2018
23b6c21
Merge branch 'master' into restcomm-1618
gvagenas Jan 25, 2018
d4661e2
Fixes for Extension API execution points
gvagenas Jan 25, 2018
f57c3fc
Patch to protect ExtensionsController action methods from NPE
gvagenas Jan 25, 2018
80c01b6
ignore unstable test
jaimecasero Jan 25, 2018
a5abfba
Patch to protect ExtensionsController action methods from NPE. Change…
gvagenas Jan 25, 2018
0f5a430
Fixes for unit tests
gvagenas Jan 25, 2018
ac687e0
provide isolation to unstable dao test
jaimecasero Jan 25, 2018
58df38b
fixed ussd tests by adding profile tables
jaimecasero Jan 25, 2018
1ebd512
Merge pull request #2775 from RestComm/restcomm-1618
gvagenas Jan 25, 2018
caa9654
fixes https://github.com/RestComm/Restcomm-Connect/issues/2779
jaimecasero Jan 26, 2018
3f4f4ba
Merge branch 'master' into issue2779_PR
gvagenas Jan 26, 2018
0eb436d
Merge pull request #2781 from RestComm/issue2779_PR
gvagenas Jan 26, 2018
8dcf242
added 2 new tests for performing multiple link operations
Jan 26, 2018
579109a
when creating a new link , remove previous link (if any)
Jan 26, 2018
498a4e6
[console] Keep firstTime state for newly created project and pass it …
otsakir Jan 22, 2018
c2ba0c7
Patch for Dial Forking timeout
gvagenas Jan 29, 2018
fe045f8
Fixes convention urls to designer projects
otsakir Jan 29, 2018
9ddbad1
Updated link to downloads
Jan 29, 2018
22f299f
added test case to reproduce ticket
jaimecasero Jan 29, 2018
2f4d603
Patch for Dial Forking timeout
gvagenas Jan 29, 2018
add9d8a
send bye instead of cancel when sip session is already confirmed
Jan 29, 2018
9dd66b3
Testsuite fix
gvagenas Jan 29, 2018
aacc14b
Testsuite fix
gvagenas Jan 29, 2018
8327db9
Fix uib-pagination for UI Bootstrap 2.x
ammendonca Jan 29, 2018
1b749f3
Enhancements to Console CSS styles + typo fixes
ammendonca Jan 29, 2018
d191b6b
[console] Fix minor typo in template listing view
otsakir Jan 30, 2018
2f9b164
check style fix
Jan 30, 2018
e5d03e4
Updated quick start for beta.8. android
Jan 30, 2018
e8bb4f0
Merge pull request #2795 from ognjenns/master
Jan 30, 2018
d0ad416
added assertions
Jan 30, 2018
5810596
added missing transition
Jan 30, 2018
ab655d2
added missing transition in VI
Jan 30, 2018
92e9079
added mgcp asserrtion
jaimecasero Jan 30, 2018
b1b0cff
Patch for properly playing ringback tone when calling sequentially an…
gvagenas Jan 30, 2018
e063f5e
remove duplicate junit reporting
jaimecasero Jan 30, 2018
a83a984
Patch to don't execute Dial RCML in a sequential Dial flow when previ…
gvagenas Jan 30, 2018
21ff494
Code cleanup
gvagenas Jan 30, 2018
cefc153
Added comment
gvagenas Jan 30, 2018
5908d70
fixing unit test by allowing singleton reset
jaimecasero Jan 30, 2018
cef76aa
Merge branch 'master' of https://github.com/RestComm/Restcomm-Connect
jaimecasero Jan 30, 2018
2ea5de4
Console sign in logo to background & Chart range fix
ammendonca Jan 30, 2018
40ac064
ignored unstable test that are causing rest of the test to fail
Jan 30, 2018
311eb0b
Merge branch 'master' into restcomm-1623
Jan 30, 2018
50946c8
Merge branch 'master' into restcomm-1622
Jan 30, 2018
ddfda58
Merge pull request #2792 from RestComm/restcomm-1622
Jan 30, 2018
98ecbe6
Merge branch 'master' into restcomm-1623
Jan 30, 2018
c60b7a3
Merge pull request #2793 from RestComm/restcomm-1623
Jan 30, 2018
55708db
Fix non-admin user not able to change own password
ammendonca Jan 30, 2018
931600d
Merge branch 'master' into restcomm-1633
Jan 30, 2018
810cc5c
Merge branch 'master' into restcomm-1629
Jan 30, 2018
69854ec
Merge pull request #2796 from RestComm/restcomm-1629
Jan 30, 2018
99e5f3c
Add support for changing role in sub accounts
ammendonca Jan 30, 2018
346f75b
Merge branch 'restcomm-1633'
gvagenas Jan 31, 2018
33e7324
fixes #RESTCOMM-1635
Jan 31, 2018
fc8670a
increased time before checking metrics
Jan 31, 2018
084fe93
Merge pull request #2799 from RestComm/createcalltest
Jan 31, 2018
d653ba7
Updated sipunit version to 2.0.3 and mss-arquillian to 1.0.3
gvagenas Feb 1, 2018
573c1e4
Update console credentials on password change
ammendonca Feb 1, 2018
7c44904
Update Console homepage and make it the landing page
ammendonca Feb 1, 2018
3a7e984
RESTCOMM-1595 #Set SMSC delivery flag to true for delivery receipt
ghjansen Feb 2, 2018
d6efe15
Merge branch 'master' into restcomm-1595
ghjansen Feb 2, 2018
09c4cf2
fixed jacocoArgLine issues with IDEs
jaimecasero Feb 2, 2018
ef6860f
added shallow test cases
Feb 3, 2018
4f66623
Fixes for sipunit upgrade
gvagenas Feb 5, 2018
ec9199c
test impl
Feb 5, 2018
873afd9
secure imple, need to revert it later
Feb 5, 2018
0b545cf
Merge branch 'master' into restcomm-1543
Feb 5, 2018
bb68898
Fixes for test case
gvagenas Feb 5, 2018
2f0e740
Secure UserAgentManager for closed/suspended accounts
gvagenas Feb 5, 2018
e523eb4
Fixes in the testsuite for sipunit upgrade
gvagenas Feb 5, 2018
dbeb75e
Merge pull request #2771 from RestComm/restcomm-1543
jaimecasero Feb 6, 2018
08948c5
DialForking test case fixes
gvagenas Feb 6, 2018
d137ca4
allowed/blocked prefixes per service Voice/SMS/USSD
jaimecasero Feb 6, 2018
eec3382
removed destinations on test resources
jaimecasero Feb 6, 2018
21aceb0
fixed json docs to comply with schema
jaimecasero Feb 7, 2018
3544c77
Merge branch 'master' into restcomm-1648
gvagenas Feb 7, 2018
a24d284
tools relocated to main to allow reuse
jaimecasero Feb 7, 2018
892e263
tools relocated to main to allow reuse
jaimecasero Feb 7, 2018
f9080c8
RESTCOMM-1595 #Added notation to unstable tests
ghjansen Feb 7, 2018
9663676
Merge branch 'master' into restcomm-1645
Feb 7, 2018
a0088e8
Merge branch 'master' into restcomm-1645
Feb 7, 2018
07c728f
removed checkAuthenticatedAccount and replaced with filter
Feb 7, 2018
f06aa48
getProfileWithoutAuthentication
Feb 7, 2018
fae917e
apply filter to all APIs
Feb 7, 2018
ac3a7e1
removed stupid impl
Feb 7, 2018
5e8aaf2
Secure CallManager for only ACTIVE accounts.
gvagenas Feb 7, 2018
88d5b54
RESTCOMM-1595 #Integration test for SMPP delivery receipt
ghjansen Feb 7, 2018
3014be8
added explicit token checking
Feb 8, 2018
1a240c2
Merge pull request #2800 from RestComm/update_sipunit_version
gvagenas Feb 8, 2018
593b48d
added security test
Feb 8, 2018
255de32
filterClosedAccounts
Feb 8, 2018
2b55b54
filterClosedAccounts
Feb 8, 2018
3ca8b4e
access api with close account tests
Feb 8, 2018
2b8d3dc
cs fix
Feb 8, 2018
ce7b50b
aplied super admin as part of contraint
Feb 8, 2018
b7d220f
number Utils relocated to main for reusal
jaimecasero Feb 8, 2018
62edcef
removed extra class
Feb 8, 2018
b1e61e1
Merge branch 'master' of https://github.com/RestComm/Restcomm-Connect
jaimecasero Feb 8, 2018
9dee635
smstool relocated for reuse
jaimecasero Feb 8, 2018
72601fa
Secure CallManager for only ACTIVE accounts.
gvagenas Feb 8, 2018
f9eebd1
we dont need this test anymore, covered under new integartion test
Feb 8, 2018
39cf6a1
Secure SmsService for only ACTIVE accounts.
gvagenas Feb 8, 2018
214f95b
RESTCOMM-1595 #Fix for compilation error due to constructor overload …
ghjansen Feb 8, 2018
7d35f86
added execution point for availablephonenumbers API
jaimecasero Feb 8, 2018
5ad139b
fixed constructor modifier
jaimecasero Feb 8, 2018
07cbc06
resourcefilter annotation added to all endpoints
jaimecasero Feb 8, 2018
3791bc1
ignore cors test with comment
Feb 9, 2018
d738d8d
Merge branch 'master' into restcomm-1645
Feb 9, 2018
bd79f5e
added WWW-Authenticate header for unauth requests
Feb 9, 2018
a9708ad
cs fix
Feb 9, 2018
a2596f5
cs fix
Feb 9, 2018
ef8228c
key columns needs a fixed length type
jaimecasero Feb 9, 2018
914b2ce
removed unused resources
jaimecasero Feb 9, 2018
149f955
exclude recording file https://telestax.atlassian.net/browse/RESTCOMM…
Feb 9, 2018
e367fff
RESTCOMM-1595 #Exclude unstable and broken unit tests from multi-bran…
ghjansen Feb 9, 2018
78191a6
corrected pattern
Feb 9, 2018
7cf267b
updated filter
Feb 9, 2018
4e1a8ac
added test for access by simple http url connection
Feb 9, 2018
41af029
moved test to bottome
Feb 9, 2018
09d0f0a
Merge branch 'master' into restcomm-1595
ghjansen Feb 9, 2018
d0786c4
updated pattern and test
Feb 10, 2018
bd67af2
corrected pattern
Feb 10, 2018
dee7fb5
Merge pull request #2807 from RestComm/restcomm-1645
Feb 10, 2018
4bc725d
Merge branch 'master' into restcomm1727
jaimecasero Feb 12, 2018
a0afd58
Secure UssdCallMAnager for only ACTIVE accounts.
gvagenas Feb 12, 2018
c3e89b6
Added links to support resources
Feb 12, 2018
86e819e
Added issue template
Feb 12, 2018
afaeb6f
Added template for pull requests
Feb 12, 2018
bf84d7a
Merge pull request #2812 from RestComm/community-guidelines
Feb 12, 2018
273f308
added mapping in case of json endpoint
jaimecasero Feb 12, 2018
d6bde5a
Revert "RESTCOMM-1595 #Exclude unstable and broken unit tests from mu…
ghjansen Feb 12, 2018
7cfb2d3
Merge branch 'master' into restcomm-1595
ghjansen Feb 12, 2018
6d31de4
fixed exec point for outoubnd call
jaimecasero Feb 13, 2018
ccfd740
Merge branch 'master' of https://github.com/RestComm/Restcomm-Connect
jaimecasero Feb 13, 2018
12561fb
Work in progress for proper check/creation of Default Profile
gvagenas Feb 13, 2018
2a6d3c7
fixed callmanager execPoints
jaimecasero Feb 13, 2018
fdce867
added configFile to use proper settings. [skip ci]
jaimecasero Feb 13, 2018
aef2919
removed statusexception, use jaxrs one instead
jaimecasero Feb 13, 2018
e03802b
removed statusexception, use jaxrs one instead
jaimecasero Feb 13, 2018
924d8ea
allow accoutn status notificaito nbeyond close.use async client
jaimecasero Feb 13, 2018
4a5eb97
implemented account suspension
jaimecasero Feb 13, 2018
937fb4a
Changes in profile document data type for MySQL and HSQLDB
gvagenas Feb 13, 2018
70b3542
added docs for suspending account
jaimecasero Feb 13, 2018
5d91c12
Merge branch 'master' into restcomm1727
jaimecasero Feb 13, 2018
4a14869
Merge branch 'master' into restcomm-1648
gvagenas Feb 13, 2018
237b973
added size filter with 10Mbits limit
jaimecasero Feb 13, 2018
94d1838
fixed media type
jaimecasero Feb 13, 2018
7b8bd5f
RESTCOMM-1220 #Turn account status switching into dynamic (use new st…
ghjansen Feb 13, 2018
a8339f0
RESTCOMM-1220 #Integration tests for switching status to suspended
ghjansen Feb 14, 2018
3e61a3c
Fixes for securing services
gvagenas Feb 14, 2018
a9718da
Merge pull request #2804 from RestComm/restcomm-1648
gvagenas Feb 14, 2018
53c2b01
DialFork test for multiple answers
gvagenas Feb 14, 2018
d481e75
Patch Dial Fork with multiple answers race condition
gvagenas Feb 14, 2018
958277d
DialFork test for multiple answers
gvagenas Feb 14, 2018
6985817
Merge branch 'master' into restcomm1220
jaimecasero Feb 14, 2018
e009dc2
Merge branch 'restcomm1220' of https://github.com/RestComm/Restcomm-C…
jaimecasero Feb 14, 2018
d4a1fdd
fixed config file and maven settings tweak
jaimecasero Feb 14, 2018
57ae26a
Merge branch 'master' into restcomm1220
jaimecasero Feb 14, 2018
cbb03b3
removed specific settings option in maven cmds
jaimecasero Feb 14, 2018
29ef1a6
Merge branch 'master' into restcomm1220
jaimecasero Feb 14, 2018
8cdb9c9
DialFork test for multiple answers
gvagenas Feb 15, 2018
66ac387
Code clean up
gvagenas Feb 15, 2018
eb48f1a
Merge branch 'master' into restcomm-1739
gvagenas Feb 15, 2018
e847c91
Merge pull request #2820 from RestComm/restcomm-1739
gvagenas Feb 15, 2018
480b6c8
Fix for UssdPullTest
gvagenas Feb 15, 2018
3ea03a9
Merge branch 'master' into restcomm-1623-2
gvagenas Feb 15, 2018
c52ac06
fixed a couple of tests becuase of new status switch constraints
jaimecasero Feb 15, 2018
240e87d
added fixmethodorder annotation
jaimecasero Feb 15, 2018
e510eeb
Merge branch 'master' into restcomm1727
jaimecasero Feb 15, 2018
8136583
Updated contact form link
Feb 15, 2018
ee8520a
Update to SipUnit 2.0.4
gvagenas Feb 15, 2018
66c14d3
Fixes for ImsDialClient tests
gvagenas Feb 15, 2018
bb35652
Merge branch 'master' of github.com:RestComm/Restcomm-Connect
gvagenas Feb 15, 2018
3208e8e
Fixes for UssdPull tests
gvagenas Feb 15, 2018
79cee79
Merge branch 'master' into restcomm-1623-2
gvagenas Feb 15, 2018
7bab585
Merge pull request #2819 from RestComm/restcomm1220
jaimecasero Feb 15, 2018
47a4d87
Merge branch 'master' into restcomm1727
jaimecasero Feb 15, 2018
459a715
Merge pull request #2809 from RestComm/restcomm1727
jaimecasero Feb 15, 2018
ed72e25
Merge pull request #2830 from RestComm/issue2829
jaimecasero Feb 15, 2018
e9f0eaa
Fixes for SmppTest tests
gvagenas Feb 16, 2018
f29b6f1
Merge branch 'master' into restcomm-1623-2
gvagenas Feb 16, 2018
22e8291
Code cleanup
gvagenas Feb 16, 2018
2d547a4
Merge pull request #2828 from RestComm/restcomm-1623-2
gvagenas Feb 16, 2018
074079b
#MSB-352 Handle Route Header for MultiProvider config. Add handling f…
abdulazizali77 Jan 22, 2018
1deafac
Merge pull request #2766 from RestComm/MSB-352
jaimecasero Feb 19, 2018
dea249d
fixed test by enforcing order
jaimecasero Feb 20, 2018
f9a30f2
Merge branch 'master' of https://github.com/RestComm/Restcomm-Connect
jaimecasero Feb 20, 2018
ce81df6
run same in master/PR
jaimecasero Feb 20, 2018
dd34f7f
Fix for defaultPlan to match with the JSON schema.
ghjansen Feb 20, 2018
dc88987
New unit test for defaultPlan JSON validation.
ghjansen Feb 20, 2018
2a33588
fixes restcom1757 allowing to override LINK/UNLINK methods
jaimecasero Feb 20, 2018
55500e2
Merge pull request #2834 from RestComm/restcomm1757
jaimecasero Feb 20, 2018
8a23815
Patch for NPE check
gvagenas Feb 21, 2018
91caa60
Fixes for testsuite
gvagenas Feb 21, 2018
1367fbc
printing stacktrace
jaimecasero Feb 22, 2018
981b955
Don't fail fast when destOrganization is null. First check for a numb…
gvagenas Feb 22, 2018
659aa59
added produces to profile update method,since it returns representati…
jaimecasero Feb 22, 2018
95a5714
Merge pull request #2837 from RestComm/restcomm-1782
gvagenas Feb 23, 2018
75709ce
SecurityFilter patch to allow requests from `UNINITIALIZED` accounts …
gvagenas Feb 23, 2018
9aa17d3
Merge pull request #2838 from RestComm/restcomm-1784
gvagenas Feb 23, 2018
ff4daea
Fix syntax error in "ussdClientRequestBodyForMessageLengthExceeds".
Feb 25, 2018
5ca51be
Merge pull request #2728 from RestComm/MSB-326
abdulazizali77 Feb 25, 2018
6d1a3f2
Profiles API doc: Add additional examples. Add index link
abdulazizali77 Feb 25, 2018
4c0712c
Merge pull request #2840 from RestComm/ProfilesDocExamples
abdulazizali77 Feb 26, 2018
39f7809
Fix syntax error in "ussdClientRequestBodyForMessageLengthExceeds".
Feb 25, 2018
2d30619
Merge branch 'RESTCOMM-1741' of https://github.com/RestComm/Restcomm-…
Feb 26, 2018
1a943e8
Test-suite for additions for USSD fast-dial feature. Tied to Jira iss…
Feb 26, 2018
9224f13
fixes restcomm1786, unlink only removes given link
jaimecasero Feb 28, 2018
606b689
fixes restcomm1786 added extension mocks and int test cases
jaimecasero Feb 28, 2018
c4c5c0f
fixes restcomm1831, adjusted pre/post consistency
jaimecasero Feb 28, 2018
50e8dc7
added exec point for smpp inbound
jaimecasero Feb 28, 2018
6e3c742
removed not required file in branch
jaimecasero Feb 28, 2018
7c93800
Modify mysql profile-assc mapper deleteProfileAssociationByTargetSid
abdulazizali77 Feb 28, 2018
439b531
Merge pull request #2850 from RestComm/restcomm1786squash
abdulazizali77 Feb 28, 2018
be99803
Merge pull request #2851 from RestComm/restcomm1786
abdulazizali77 Feb 28, 2018
0717741
Merge pull request #2852 from RestComm/restcomm1831
abdulazizali77 Feb 28, 2018
b05aca3
Merge pull request #2845 from RestComm/RESTCOMM-1741
jaimecasero Feb 28, 2018
76bd092
fixed unlink profile to remove only given assoc
jaimecasero Feb 28, 2018
8e42cbf
Skip authentication for Logout API. Issue #2835
ghjansen Feb 28, 2018
5a90fe1
fixes getting associated profile restcomm1840
jaimecasero Mar 1, 2018
2d9d4d9
Sdr service eventstream (#2749)
agafox Mar 2, 2018
765f9cf
Merge branch 'master' of https://github.com/RestComm/Restcomm-Connect
jaimecasero Mar 2, 2018
160c1f1
RESTCOMM-1595 #Reverting patch as it triggers a SMS loop on SMSC
ghjansen Mar 2, 2018
1223ff5
RESTCOMM-1595 #Including missing import
ghjansen Mar 2, 2018
1fbeea3
Merge branch 'master' into Issue2835_LogoutSecurityFilter
ghjansen Mar 5, 2018
45c235b
RESTCOMM-1847 #Default profile must allow all features
ghjansen Mar 5, 2018
f624765
Console: Send only modified fields on Profile update
ammendonca Mar 6, 2018
7352f01
fixes restcomm1851, constraint about status check
jaimecasero Mar 6, 2018
e68e1ed
doc adjusted to latest changes
jaimecasero Mar 6, 2018
9bbe8f7
Merge pull request #2859 from RestComm/restcomm1851
jaimecasero Mar 6, 2018
a40b67f
Fixes duplicate jars in classpath
gvagenas Mar 7, 2018
8de25ab
Merge pull request #2861 from RestComm/restcomm-1854
jaimecasero Mar 8, 2018
73db760
Fixes for TestDialPartOne test case
gvagenas Mar 8, 2018
66608e1
Tag Unstable CallLifeCycle test case
gvagenas Mar 8, 2018
977c1b5
Merge branch 'master' of github.com:RestComm/Restcomm-Connect
gvagenas Mar 8, 2018
6f447b0
Merge branch 'master' into issue_2620
ddhuy Mar 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -22,7 +22,6 @@ def buildRC() {
def publishRCResults() {
junit testResults: '**/target/surefire-reports/*.xml', testDataPublishers: [[$class: 'StabilityTestDataPublisher']]
checkstyle canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '**/checkstyle-result.xml', unHealthy: ''
junit '**/target/surefire-reports/*.xml'
step( [ $class: 'JacocoPublisher' ] )
if ((env.BRANCH_NAME == 'master') && (currentBuild.currentResult != 'SUCCESS') ) {
slackSend "Build unstable - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ Downloads
========

Use [the Docker image](http://documentation.telestax.com/connect/configuration/docker/Restcomm%20-%20Docker%20Quick%20Start%20Guide.html#restcomm-docker/). It only takes a few minutes to set it up and running.
Alternatively, you can download the [Binary zip](https://github.com/RestComm/Restcomm-Connect/releases/latest) as well
Alternatively, you can download the [Binary zip](https://www.restcomm.com/downloads/) as well

Documentation
========
Original file line number Diff line number Diff line change
@@ -22,12 +22,12 @@ Here you have three alternativess:

Once you have installed the Restcomm platform (or you are using Cloud) you are ready to start taking advantage of Restcomm's features from your Android Applications. Here's what you need to do:

* Grab the latest Restcomm WebRTC Android SDK release from GitHub: https://github.com/RestComm/restcomm-android-sdk/releases/tag/v1.0.5-BETA7. At the time of this writing it is v1.0.5-beta7 and the bundle you need to download is restcomm-android-sdk-1.0.5-beta7.tar.bz2
* Grab the latest Restcomm WebRTC Android SDK release from GitHub: https://github.com/RestComm/restcomm-android-sdk/releases/tag/v1.0.6-BETA8. At the time of this writing it is v1.0.6-beta8 and the bundle you need to download is restcomm-android-sdk-1.0.6-beta8.tar.bz2
* Extract it:
+
[source,theme:github,toolbar:2,lang:default,decode:true]
----
$ tar -jxvf restcomm-android-sdk-1.0.0-beta7.tar.bz2
$ tar -jxvf restcomm-android-sdk-1.0.6-beta8.tar.bz2
----

[[use-the-existing-sample-androidapp-helloworld]]
@@ -152,12 +152,24 @@ public class MainActivity extends Activity implements RCDeviceListener, RCConnec
[source,java,theme:github,toolbar:1,lang:default,decode:true]
----
// RCDevice Listeners
public void onStartListening(RCDevice device, RCDeviceListener.RCConnectivityStatus connectivityStatus)
public void onInitialized(RCDevice device, RCDeviceListener.RCConnectivityStatus connectivityStatus, int statusCode, String statusText){

}

public void onReconfigured(RCDevice device, RCConnectivityStatus connectivityStatus, int statusCode, String statusText)
{

}

public void onStopListening(RCDevice device, int errorCode, String errorText)
public void onReleased(RCDevice device, int statusCode, String statusText){

}

public void onMessageSent(RCDevice device, int statusCode, String statusText, String jobId){

}

public void onError(RCDevice device, int statusCode, String statusText)
{
Log.i(TAG, errorText);
}
@@ -182,26 +194,12 @@ public void onDisconnected(RCConnection connection)
pendingConnection = null;
}

public void onDisconnected(RCConnection connection, int errorCode, String errorText)
{

Log.i(TAG, errorText);
this.connection = null;
pendingConnection = null;
}

public void onCancelled(RCConnection connection)
public void onDigitSent(RCConnection connection, int statusCode, String statusText)
{
Log.i(TAG, "RCConnection cancelled");
this.connection = null;
pendingConnection = null;
}

public void onDeclined(RCConnection connection)
{
Log.i(TAG, "RCConnection declined");
this.connection = null;
pendingConnection = null;
public void onError(RCConnection connection, int errorCode, String errorText){
Log.i(TAG, errorText);
}

public void onLocalVideo(RCConnection connection)
@@ -212,29 +210,6 @@ public void onRemoteVideo(RCConnection connection)
{
}

public void onError(RCConnection connection, int errorCode, String errorText)
{
}

public void onDigitSent(RCConnection connection, int statusCode, String statusText)
{
}

public void onMessageSent(RCDevice device, int statusCode, String statusText)
{
}

public void onReleased(RCDevice device, int statusCode, String statusText)
{
}

public void onInitialized(RCDevice device, RCDeviceListener.RCConnectivityStatus connectivityStatus, int statusCode, String statusText)
{
}

public void onInitializationError(int errorCode, String errorText)
{
}
----
* Add the needed Android SDK objects (i.e. RCDevice and RCConnection) in the Activity class as well as some convenience variables:
+
@@ -300,17 +275,24 @@ public void onServiceConnected(ComponentName className, IBinder service)
params.put(RCDevice.ParameterKeys.SIGNALING_USERNAME, "android-sdk");
params.put(RCDevice.ParameterKeys.SIGNALING_PASSWORD, "1234");
params.put(RCDevice.ParameterKeys.MEDIA_ICE_URL, "https://service.xirsys.com/ice");
params.put(RCDevice.ParameterKeys.MEDIA_ICE_DOMAIN, "cloud.restcomm.com");
params.put(RCDevice.ParameterKeys.MEDIA_ICE_USERNAME, "atsakiridis");
params.put(RCDevice.ParameterKeys.MEDIA_ICE_PASSWORD, "4e89a09e-bf6f-11e5-a15c-69ffdcc2b8a7");
params.put(RCDevice.ParameterKeys.MEDIA_TURN_ENABLED, true);
params.put(RCDevice.ParameterKeys.MEDIA_ICE_SERVERS_DISCOVERY_TYPE,1);
//params.put(RCDevice.ParameterKeys.SIGNALING_SECURE_ENABLED, prefs.getBoolean(RCDevice.ParameterKeys.SIGNALING_SECURE_ENABLED, false));

if (!device.isInitialized()) {
device.initialize(getApplicationContext(), params, this);
device.setLogLevel(Log.VERBOSE);
}
if (!device.isInitialized()) {
try {
device.initialize(getApplicationContext(), params, this);
device.setLogLevel(Log.VERBOSE);
}
catch (RCException e) {
Log.e(TAG, "RCDevice Initialization Error: " + e.errorText);
}
}

serviceBound = true;
serviceBound = true;
}

@Override
Original file line number Diff line number Diff line change
@@ -39,6 +39,14 @@ public static ExtensionController getInstance() {
return instance;
}

/**
* allow to reset the singleton. Mainly for testing purposes.
* TODO should we reset the singleton if app is shutdown...?
*/
public void reset() {
instance = null;
}

public List<RestcommExtensionGeneric> getExtensions(final ExtensionType type) {
//Check the sender's class and return the extensions that are supported for this class
if (type.equals(ExtensionType.CallManager) && (callManagerExtensions != null && callManagerExtensions.size() > 0)) {
Original file line number Diff line number Diff line change
@@ -33,13 +33,22 @@

import javax.servlet.ServletContext;
import java.util.List;
import org.junit.After;

public class ExtensionsControllerTest {

private static Logger logger = Logger.getLogger(ExtensionsControllerTest.class);

private RestcommExtensionGeneric testExtension = new TestExtension();


@After
public void resteController() {
//reset the singleton after each test to provide isolation and
//predictibiltiy when full test class is executed
ExtensionController.getInstance().reset();
}

@Test
public void extensionRegistry() {
ExtensionController extensionController = ExtensionController.getInstance();
3 changes: 2 additions & 1 deletion restcomm/restcomm.ui/src/main/webapp/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta http-equiv="expires" content="0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RestComm</title>

<link rel="icon" type="image/png" href="resources/img/favicon.png">
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

<div class="row templates-head">
<div class="col-lg-3 col-md-12">
<h2 class="templates-title">Template Galery</h2>
<h2 class="templates-title">Template Gallery</h2>
</div>
<div class="col-lg-5 col-md-6 col-sm-12 template-tags">
<div class="row">
@@ -34,4 +34,5 @@ <h2 class="templates-title">Template Galery</h2>
</div>
</div>

</div>
</div>

Original file line number Diff line number Diff line change
@@ -155,7 +155,7 @@ <h5>Call your friends!</h5>
</form>
</div>
<div class="col-md-4">
<uib-pagination class="pagination pagination-sm pull-right" ng-change="pageChanged()" total-items="totalCalls" items-per-page="entryLimit" ng-model="currentPage" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></uib-pagination>
<ul uib-pagination class="pagination pagination-sm pull-right" ng-change="pageChanged()" total-items="totalCalls" items-per-page="entryLimit" ng-model="currentPage" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></ul>
</div>
</div>
</td>
Original file line number Diff line number Diff line change
@@ -127,7 +127,7 @@ <h5>Text your friends!</h5>
</form>
</div>
<div class="col-md-4">
<uib-pagination class="pagination pagination-sm pull-right" total-items="totalMessages" items-per-page="entryLimit" ng-change="pageChanged()" ng-model="currentPage" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></uib-pagination>
<ul uib-pagination class="pagination pagination-sm pull-right" total-items="totalMessages" items-per-page="entryLimit" ng-change="pageChanged()" ng-model="currentPage" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></ul>
</div>
</div>
</td>
Original file line number Diff line number Diff line change
@@ -125,7 +125,7 @@ <h5>You must be doing it right!</h5>
</form>
</div>
<div class="col-md-4">
<uib-pagination class="pagination pagination-sm pull-right" total-items="totalNotifications" items-per-page="entryLimit" ng-model="currentPage" ng-change="pageChanged()" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></uib-pagination>
<ul uib-pagination class="pagination pagination-sm pull-right" total-items="totalNotifications" items-per-page="entryLimit" ng-model="currentPage" ng-change="pageChanged()" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></ul>
</div>
</div>
</td>
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ <h5>Ask the NSA for some!</h5>
</form>
</div>
<div class="col-md-4">
<uib-pagination class="pagination pagination-sm pull-right" total-items="totalRecordings" items-per-page="entryLimit" ng-model="currentPage" ng-change="pageChanged()" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></uib-pagination>
<ul uib-pagination class="pagination pagination-sm pull-right" total-items="totalRecordings" items-per-page="entryLimit" ng-model="currentPage" ng-change="pageChanged()" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></ul>
</div>
</div>
</td>
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ <h5>Confirm there's paper in the tray!</h5>
</form>
</div>
<div class="col-md-4">
<uib-pagination class="pagination pagination-sm pull-right" total-items="totalTranscriptions" items-per-page="entryLimit" ng-model="currentPage" ng-change="pageChanged()" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></uib-pagination>
<ul uib-pagination class="pagination pagination-sm pull-right" total-items="totalTranscriptions" items-per-page="entryLimit" ng-model="currentPage" ng-change="pageChanged()" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></ul>
</div>
</div>
</td>
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ <h5><i class="fa fa-pencil clickable" ng-click="editingFriendlyName = pn.phone_n
</form>
</div>
<div class="col-md-4">
<uib-pagination class="pagination pagination-sm pull-right" ng-change="pageChanged()" total-items="totalNumbers" items-per-page="entryLimit" ng-model="currentPage" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></uib-pagination>
<ul uib-pagination class="pagination pagination-sm pull-right" ng-change="pageChanged()" total-items="totalNumbers" items-per-page="entryLimit" ng-model="currentPage" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></ul>
</div>
</div>
</td>
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ <h5>Why don't you get some friends in?</h5>
</form>
</div>
<div class="col-md-4">
<uib-pagination class="pagination pagination-sm pull-right" ng-change="pageChanged()" total-items="filtered.length" items-per-page="entryLimit" ng-model="currentPage" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></uib-pagination>
<ul uib-pagination class="pagination pagination-sm pull-right" ng-change="pageChanged()" total-items="filtered.length" items-per-page="entryLimit" ng-model="currentPage" data-boundary-links="true" data-current-page="currentPage" max-size="maxSize" previous-text="<" next-text=">" first-text="<<" last-text=">>"></ul>
</div>
</div>
</td>
Loading