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
Show file tree
Hide file tree
Changes from all 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!-- This form is for bug reports and feature requests ONLY!

If you're looking for help check [Stack Overflow](https://stackoverflow.com/questions/tagged/restcomm).
-->

**Is this a BUG REPORT or FEATURE REQUEST?**:

> Uncomment only one, leave it on its own line:
>
> /kind bug
> /kind feature


**What happened**:

**What you expected to happen**:

**How to reproduce it (as minimally and precisely as possible)**:


**Anything else we need to know?**:

**Environment**:
- Restcomm Connect version (from startup logs):
- Cloud provider or hardware configuration:
- OS (e.g. from /etc/os-release):
- Kernel (e.g. `uname -a`):
- Deployment method (e.g. `docker-compose`, with linked `docker-compose.yml` file,
or application server info + deployment option):
- Others:
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read the Telestax Open Source Playbook https://docs.google.com/document/d/1RZz2nd2ivCK_rg1vKX9ansgNF6NpK_PZl81GxZ2MSnM/edit?usp=sharing
2. If the PR is unfinished, add a `[WIP]` at the start of the PR title. You can remove it when it's ready to be reviewed.
-->

**What this PR does / why we need it**:

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ bin/
*.class
logs
bin
.DS_Store
**/*~
csv
.metadata
.idea
13 changes: 13 additions & 0 deletions .idea/codeStyleSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
language: java
jdk:
- oraclejdk8
branches:
only:
- master
- /^deploy-.*$/
email:
recipients:
- [email protected]
- [email protected]
on_success: never # default: change
on_failure: always # default: always
cache:
directories:
- $HOME/.m2
addons:
sonarqube:
organization: "restcomm-connect" # the key of the org you chose at step #3
script:
- ./build.sh
after_success:
- cd restcomm
- mvn com.blackducksoftware.integration:hub-maven-plugin:2.0.2:build-bom -Dhub.output.directory=. -Dhub.deploy.bdio=false
- bash <(curl -s https://copilot.blackducksoftware.com/bash/travis) ./*_bdio.jsonld
# Problem to run testsuite https://github.com/travis-ci/travis-ci/issues/1382
# - echo "About to run sonar-scanner"
# - cd restcomm
# - pwd
# - sed -i 's/\<root\>/\<!--root>/g' ./restcomm.testsuite/src/test/resources/log4j.xml
# - sed -i 's/\<\/root\>/\<\/root-->/g' ./restcomm.testsuite/src/test/resources/log4j.xml
# - sed -i 's/DEBUG/OFF/g' ./restcomm.testsuite/src/test/resources/akka_application.conf
# - sed -i 's/INFO/OFF/g' ./restcomm.application/src/main/resources/application.conf
# - mvn -q clean org.jacoco:jacoco-maven-plugin:prepare-agent surefire-report:report sonar:sonar > ./surefire-report-output.txt
# - curl -T restcomm.testsuite/target/site/surefire-report.html -ugvagenas:$BINTRAY_API_KEY -H "X-Bintray-Package:binaries" -H "X-Bintray-Version:8.2.0" https://api.bintray.com/content/gvagenas/Restcomm-Connect/bin/surefire-report-$MAJOR_VERSION_NUMBER.$BUILD_NUMBER.html
# - curl -T ./surefire-report-output.txt -ugvagenas:$BINTRAY_API_KEY -H "X-Bintray-Package:binaries" -H "X-Bintray-Version:8.2.0" https://api.bintray.com/content/gvagenas/Restcomm-Connect/bin/surefire-report-output-$MAJOR_VERSION_NUMBER.$BUILD_NUMBER.txt
1,223 changes: 1,223 additions & 0 deletions CHANGELOG_8.2.1.md

Large diffs are not rendered by default.

282 changes: 282 additions & 0 deletions CONTRIBUTING.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,282 @@
= Contribute to Restcomm

Multiple types of contributions are possible :

* Using it in your product or project and providing feedback.
* Code & Algorithms: Core Projects, Incubator projects, Frameworks
* Use cases, feature requests: Roadmap influence
* Community Support, bug fixes, forum posts: Help to be helped
* Documentation: Everyone needs good docs, Code is a moving targed.
* Testing (Perf, load, security, unit tests, interop, ...) / CI

Here is specific types of contributions that requires a little more details if you want to get involved

* Fixing Bugs : See https://help.github.com/articles/closing-issues-via-commit-messages
* Reporting Bugs : To report a bug, if possible, provide a small example that illustrates the bug. You can pattern
the test case usually along the lines of ones found in the
link:https://github.com/Restcomm/Restcomm-Connect/tree/master/restcomm/restcomm.testsuite[testsuite].
Having a test case handy speeds up the bug fix. Your test case will be included in the project as a test case.
Open an Issue as defined in the section below so other users can know about the issue and its status.
Please attach your test case or bug description with debug log files there.
* Contributing Extensions and enhancements (i.e. support for extension RFCs and drafts that are not covered by
Restcomm) or Contributing code snippets and examples or Contributing test cases to be included with the
distribution: See Contribution Process below in Section "How to check out, change, review, and commit code".
Also open a thread on link:http://groups.google.com/group/restcomm[the mailing list of Restcomm google group]
to discuss it with the community and Restcomm Team Members.

Your contributions will be acknowledged individually in the code (as a comment) and in the
link:http://www.telestax.com/opensource/#Contribute[Acknowledgement page].


= Opening an Issue

link:https://github.com/Restcomm/Restcomm-Connect/issues/new[Open An Issue Here]

= Becoming a Contributor

In order to become a contributor with write access to the code, you will need to have demonstrated an understanding
of the codebase and testsuite by participating in the design discussions and submitting patches for bugs/enchancements
before we will grant developer access.

Contributing to Restcomm requires you to accept link:http://telestax.com/opensource/[the TeleStax Contributor Agreement]
(bottom of the page).

= How to check out, change, review, and commit code
== Introduction

Restcomm projects use Git, a distributed version control system. What this means is that, even though this page hosts
a central repository, there can be many clone repositories with changes of their own, and then some of those can be
merged back into the main repository.

*The great part is that you can start contributing and create our own clone without having write access to the
Restcomm repository*

This document describes the workflow for checking out code, making clones, reviewing patches, and committing code.

== Checking out Restcomm Connect (Linux)

For non-committers, checking out code is simple.

=== Install Git

Follow the installing Git instructions. Ubuntu users can simply type:

[source,bash]
----
sudo apt-get install git-core
----

Configure Git to convert line endings on commit

[source,bash]
----
git config --global core.autocrlf input
----

=== Checkout the code

To check out the code :

[source,bash]
----
git clone [email protected]:Restcomm/Restcomm-Connect.git
----


=== Building Restcomm From Source
To Build Restcomm from Source, follow those instructions : http://docs.telestax.com/restcomm-mobicents-building-from-source/


=== Committing code

The following License Header has to be placed on top of each source code file contributed

[source,java]
----
/*
* TeleStax, Open Source Cloud Communications
* Copyright 2011-2015, Telestax Inc and individual contributors
* by the @authors tag.
*
* This program is free software: you can redistribute it and/or modify
* under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation; either version 3 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
----

The model we've chosen for developing Restcomm is the following:

Each contributor creates their own fork of the Restcomm project (you want to contribute to) repository.

This clone is hosted on Github servers, and can be created by clicking *Fork* button from
https://github.com/Restcomm/Restcomm-Connect

The contributor then makes a local clone of their GitHub fork, which is stored on their local machine.
Instructions for checking it out is https://github.com/<contributor_github_account>/Restcomm

The contributor creates a new Issue explaining their contribution at
https://github.com/Restcomm/Restcomm-Connect/issues/new

The contributor then creates a new branch into their local clone

[source,bash]
----
git checkout -b feature-branch
----

Do the changes into their branch for their local branch for the contribution and commit them

[source,bash]
----
git commit -a -m "commit message"
----

**//IMPORTANT//:Please use the Github integration to use the commit message to tie the commits to the Issue you're
working on. More information on that can be found at https://help.github.com/articles/closing-issues-via-commit-messages**

**//IMPORTANT//: When your change is pulled into the main Restcomm source, the change description that you entered here
will show up as changes in the main Restcomm source, so please use a meaningful description - fixing bug, making
changes, etc. are not ok, please instead use something like fixing transform bug caused by NPE, etc. so that it makes
sense in the context of Restcomm as a whole, not just your clone.**

If you have any new files, make sure to use the following command before committing

[source,bash]
----
git add <file or directory>
----

Same thing if you want to remove some files

[source,bash]
----
git rm <file or directory>
----

== Pushing changes to your online clone

When a change is ready to be integrated back into the repository, that change is pushed from the developer's local
clone to their Github Fork clone.

[source,bash]
----
git push origin feature-branch
----

To avoid merge soup, please rebase your branch first

==== Bringing in new changes from the upstream repository

If the main repository has evolved since your last push to your clone repository, you will need to bring those changes
into your repository as well as potentially merge them.

You need to add a remote via which you will identify the upstream repository:

[source,bash]
----
git remote add upstream [email protected]:Restcomm/Restcomm-Connect.git
----

Now whenever you want to merge upstream changes into your clone, do the following:

[source,bash]
----
git fetch upstream
git merge upstream/master
----

==== Pushing changes to your clone repository

First pull in all of the latest changes from upstream, apply them to your master branch, then rebase your feature
branch against master before merging it into master and pushing it upstream:

[source,bash]
----
git checkout master
git fetch upstream
git merge upstream/master
git checkout awesome-feature
git rebase master
(fix any conflicts with upstream changes)
git push origin feature-branch
----

Browse to Source -> Changes from the project page for your clone and navigate to the page with details on the branch
to be reviewed. For example, https://github.com/<contributor_github_account>/Restcomm/tree/development

You will need to paste the URL for this page into the issue you created earlier.
Describe the code to be reviewed, its purpose, and paste in the URL for the relevant changeset(s) or branch(es).

The code will be reviewed on the contributor's clone - if any further changes are suggested, a couple of iterations
might be needed so the contributor will need to modify the code again, commit, push and comment on the issue.

Once the change is approved, a committer of Restcomm will merge it back into the main repository with the following
commands.

[source,bash]
----
git checkout -b feature-branch
git pull https://github.com/<contributor_github_account>/Restcomm/ feature-branch
git checkout master
git merge feature-branch
----

Even though this may sound complicated, this process makes code reviews easier and allows a lot of people to work on
changes in parallel.

==== Code formatting

In order to avoid merge conflicts, be it with new features or bug fixes, Restcomm takes advantage of maven code
formatting plugin. By default, all of our projects trigger this plugin during build. It provides information on code
style and violations of certain rules.
Example failure may look as follows:

[source,bash]
----
[INFO] Starting audit...
/home/baranowb/Restcomm/git/test/src/main/java/Test.java:46: Line has trailing spaces.
/home/baranowb/Restcomm/git/test/src/main/java/Test.java:47:1: '{' should be on the previous line.
/home/baranowb/Restcomm/git/test/src/main/java/Test.java:50: Line has trailing spaces.
Audit done.
----

Contributor responsibility is to provide us with code, which obeys formatting rules. If source does not pass code
style checks, it won't be accepted!

===== IDE formatting support

IDEs have native support for formatting. To take advantage of it, you need to import configuration files.
Restcomm has projects wide configuration for IDEs. It can be found here:
http://grepcode.com/snapshot/repo1.maven.org/maven2/org.mobicents/checkstyle/1.0.0.FINAL/
or in any tagged relase of this artifact.

===== Eclipse
To import formatter rules into eclipse perform following:

* Window > Preferences > Java > Code Style > Clean Up > 'Import' -> cleanup.xml
* Window > Preferences > Java > Code Style > Formatter > 'Import' -> formatter.xml

Optionally:
* Window > Preferences > Java > Code Style > Code Templates > 'Import' -> templates.xml

===== Maven checkstyle configuration

The checkstyle plugin is pre-configured in mobicents-parent artifact. To enable it in any subproject which depends on it, you need to add only following lines in *plugins* section of master project pom:

[source,xml]
----
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
----
Loading