Skip to content

Instantly share code, notes, and snippets.

View deruelle's full-sized avatar
🎯
Focusing

Jean Deruelle deruelle

🎯
Focusing
View GitHub Profile
<Response>
<Say>Welcome to My Company</Say>
<Gather input="dtmf">
<Say>
Please press 1 for sales, 2 for support and 3 for general inquiries
</Say>
</Gather>
</Response>
<Response>
<Sms to="33679364376" from="33644632618">echo: test static</Sms>
</Response>
@deruelle
deruelle / gist:b2fc17a09a16905f88af849eeb6e0ce3
Last active August 23, 2019 21:42
RCML Google TTS Test
<Response>
<Say language="google.id-ID-Wavenet-B">
Hello Come on Google Cloud Text-to-Speech enables developers to synthesize natural-sounding speech with 100+ voices, available in multiple languages and variants. It applies DeepMind’s groundbreaking research in WaveNet and Google’s powerful neural networks to deliver the highest fidelity possible. As an easy-to-use API, you can create lifelike interactions with your users, across many applications and devices.
</Say>
</Response>
sudo docker run -e RCADVCONF_SECURESSL="SELF" -e RCADVCONF_SSL_MODE="allowall" -e ENVCONFURL="https://raw.githubusercontent.com/RestComm/Restcomm-Docker/master/env_files/restcomm_env_locally.sh" --name=restcomm -p 8080:8080 -p 8443:8443 -p 9990:9990 -p 5080:5080 -p 5081:5081 -p 5082:5082 -p 5083:5083 restcomm/restcomm:latest
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/restcomm1.sh...
Will check if Enviromental variables script file is set
Configuration file URL is: https://raw.githubusercontent.com/RestComm/Restcomm-Docker/master/env_files/restcomm_env_locally.sh
url https://raw.githubusercontent.com/RestComm/Restcomm-Docker/master/env_files/restcomm_env_locally.sh /tmp/conf.sh
--2017-06-26 10:54:12-- https://raw.githubusercontent.com/RestComm/Restcomm-Docker/master/env_files/restcomm_env_locally.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443
This agreement is between you and TeleStax, Inc. (“TeleStax”). In this agreement, “You” shall mean the owner of the Contribution, as defined below, including any individual or any corporation or entity which has authorized the signatory of this agreement to act on its behalf. The purpose of this license is to set forth the terms and conditions under which we may use software that you wish to contribute to us for the purpose of use within one or more of our software development projects. Nothing in this license changes your ongoing right to use your contributions as you wish for any purpose. By clicking the Sign button below, I hereby agree to the following terms and conditions: 1. As used in this agreement, the term “Contribution” shall mean any software, including source code and/or object code, documentation, or modifications to the foregoing, which You make available or submit to TeleStax in any form. Contributions shall not include any software or documentation which has been explicitly marked to indicate
19:34:55,036 INFO [gov.nist.javax.sip.stack.SIPTransactionStack] (Restcomm-SIP-Servlets-UDPMessageChannelThread-12) <message
from="127.0.0.1:5065"
to="127.0.0.1:5380"
time="1470080095031"
isSender="false"
transactionId="z9hg4bk-5373-5-65-537zsd_0"
callId="5-5373@127.0.0.1"
firstLine="INVITE sip:receiver@127.0.0.1:5080 SIP/2.0"
>
<![CDATA[INVITE sip:receiver@127.0.0.1:5080 SIP/2.0
18:56:18,986 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "rtm-mss.war")]) - failure description: {
"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./rtm-mss" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./rtm-mss: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
Caused by: LifecycleException: cannot find any application dispatcher for this context /rtm-mss"},
"JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available." => {
"Services that were unable to start:" => ["jboss.deployment.unit.\"rtm-mss.war\".deploymentCompleteService"],
"Services that may be the cause:" => ["jboss.cluster.siprep"]
}
}
18:56:18,638 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 56) MSC000001: Failed to start service jboss.web.deployment.default-host./click2call: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./click2call: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:99)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_91]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_91]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Fa
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] RestComm SBC
[INFO] sbc
[INFO] sbc-testsuite
[INFO] sbc-docs
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building RestComm SBC 1.0.0-SNAPSHOT
jean@jean-XPS13-9333:~/workspaces/sbc$ mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.restcomm:sbc-application:war:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ org.restcomm:sbc-application:[unknown-version], /home/jean/workspaces/sbc/application/pom.xml, line 98, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]