Closed maria-farooq closed 7 years ago
tks @maria-farooq
Can you provide steps to reproduce this problem and point us to a RestComm tag/branch containing your work?
Thank you
https://github.com/maria-farooq/RestComm-Connect/tree/issue-5
Disclaimer! These steps are for a fresh installation on a machine. These steps will remove database and replace existing script files. Please run only on a test machine.
- Download latest restcomm binaries
- Build the branch
mvn clean install -Dmaven.test.skip
- Replace jars
rm -rf $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/lib/*
cp -r $RESTCOMM_SOURCE/restcomm/restcomm.application/target/restcomm/WEB-INF/lib/* $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/lib/
rm -rf $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/data/hsql/restcomm.script
cp -r $RESTCOMM_SOURCE/restcomm/restcomm.application/target/restcomm/WEB-INF/data/hsql/restcomm.script $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/data/hsql/restcomm.script
rm -rf $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/sql
cp -r $RESTCOMM_SOURCE/restcomm/restcomm.application/target/restcomm/WEB-INF/sql $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/sql
rm -rf $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/scripts/sql/init.sql
cp -r $RESTCOMM_SOURCE/restcomm/restcomm.application/target/restcomm/WEB-INF/scripts/sql/init.sql $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/scripts/sql/init.sql
rm -rf $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/scripts/mariadb/
cp -r $RESTCOMM_SOURCE/restcomm/restcomm.application/target/restcomm/WEB-INF/scripts/mariadb/ $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/scripts/mariadb/
rm -rf $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/conf/mybatis.xml
cp -r $RESTCOMM_SOURCE/restcomm/restcomm.application/target/restcomm/WEB-INF/conf/mybatis.xml $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/conf/mybatis.xml
rm -rf $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/conf/restcomm.xml
cp -r $RESTCOMM_SOURCE/restcomm/restcomm.application/target/restcomm/WEB-INF/conf/restcomm.xml $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/conf/restcomm.xml
curl -H "Authorization: Basic <MY_ENCODED_CREDENTIALS>" http://IP:8080/restcomm/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Conferences
http://IP:8080/restcomm/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Conferences/{ConferenceSid}/Participants
http://IP:8080/restcomm/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Conferences/{ConferenceSid}/Participants/{CallSid}
curl -X POST http://IP:8080/restcomm/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Conferences/{ConferenceSid}/Participants/{CallSid} -d "Muted=true" -H "Authorization: Basic <MY_ENCODED_CREDENTIALS>"
TransitionNotFoundException
exception in restcomm AS logs and a lot of buffer overflow in mediaserver logs.@maria-farooq do you want to try to investigate the issue here as well under @hrosa guidance ?
@deruelle yes, it will be a great learning opportunity.
not happening in RMS5 just tested on staging. connection is modified normally on mute and unmute
Hi @hrosa ,
what am i doing
I am adding mute unmute feature in conference API.
Code Changes
code changes are in this method: https://github.com/RestComm/Restcomm-Connect/pull/991/files#diff-4edb5fb66002dc96d4ba5d2e6ac4ca33R250 When a conference is first started I try to mute one participant:
what happen when testing this api call
Call get muted.
Problem?
mediaserver show a lot of buffer overflow
evidence
attached in https://github.com/RestComm/Restcomm-Connect/issues/5#issuecomment-222647650
Brief logs
in mediaserver log
what clients am i using
i tested with X-lite, jitsi and Linphone