91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

使用sip-0.15.6.js ,在freeswitch上配置wss后,測試呼入通話,dtmf按鍵和呼出通話。
使用方法:項目是一個springboot項目,使用idea導入后,需要修改src\main\resources\static\index.html 50-63行,使用自己的sip賬號配置,然后運行項目, 在web瀏覽器中輸入https://localhost:8888,就可以訪問,通過控制臺看是否注冊成功。 就可以外呼測試

資源截圖

代碼片段和文件信息

/*
Licensed?to?the?Apache?Software?Foundation?(ASF)?under?one
or?more?contributor?license?agreements.??See?the?NOTICE?file
distributed?with?this?work?for?additional?information
regarding?copyright?ownership.??The?ASF?licenses?this?file
to?you?under?the?Apache?License?Version?2.0?(the
“License“);?you?may?not?use?this?file?except?in?compliance
with?the?License.??You?may?obtain?a?copy?of?the?License?at

??https://www.apache.org/licenses/LICENSE-2.0

Unless?required?by?applicable?law?or?agreed?to?in?writing
software?distributed?under?the?License?is?distributed?on?an
“AS?IS“?BASIS?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY
KIND?either?express?or?implied.??See?the?License?for?the
specific?language?governing?permissions?and?limitations
under?the?License.
*/

import?java.io.File;
import?java.io.FileInputStream;
import?java.io.FileOutputStream;
import?java.io.IOException;
import?java.net.URL;
import?java.nio.channels.Channels;
import?java.nio.channels.ReadableByteChannel;
import?java.util.Properties;

public?class?MavenWrapperDownloader?{

????/**
?????*?Default?URL?to?download?the?maven-wrapper.jar?from?if?no?‘downloadUrl‘?is?provided.
?????*/
????private?static?final?String?DEFAULT_DOWNLOAD_URL?=
????????????“https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar“;

????/**
?????*?Path?to?the?maven-wrapper.properties?file?which?might?contain?a?downloadUrl?property?to
?????*?use?instead?of?the?default?one.
?????*/
????private?static?final?String?MAVEN_WRAPPER_PROPERTIES_PATH?=
????????????“.mvn/wrapper/maven-wrapper.properties“;

????/**
?????*?Path?where?the?maven-wrapper.jar?will?be?saved?to.
?????*/
????private?static?final?String?MAVEN_WRAPPER_JAR_PATH?=
????????????“.mvn/wrapper/maven-wrapper.jar“;

????/**
?????*?Name?of?the?property?which?should?be?used?to?override?the?default?download?url?for?the?wrapper.
?????*/
????private?static?final?String?PROPERTY_NAME_WRAPPER_URL?=?“wrapperUrl“;

????public?static?void?main(String?args[])?{
????????System.out.println(“-?Downloader?started“);
????????File?baseDirectory?=?new?File(args[0]);
????????System.out.println(“-?Using?base?directory:?“?+?baseDirectory.getAbsolutePath());

????????//?If?the?maven-wrapper.properties?exists?read?it?and?check?if?it?contains?a?custom
????????//?wrapperUrl?parameter.
????????File?mavenWrapperPropertyFile?=?new?File(baseDirectory?MAVEN_WRAPPER_PROPERTIES_PATH);
????????String?url?=?DEFAULT_DOWNLOAD_URL;
????????if?(mavenWrapperPropertyFile.exists())?{
????????????FileInputStream?mavenWrapperPropertyFileInputStream?=?null;
????????????try?{
????????????????mavenWrapperPropertyFileInputStream?=?new?FileInputStream(mavenWrapperPropertyFile);
????????????????Properties?mavenWrapperProperties?=?new?Properties();
????????????????mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
????????????????url?=?mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL?url);
????????????}?catch?(IOException?e)?{
????????????????Syst

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-11-12?16:46??sipjs-demo\
?????文件?????????333??2019-06-25?11:37??sipjs-demo\.gitignore
?????目錄???????????0??2019-11-12?16:50??sipjs-demo\.idea\
?????文件???????????5??2019-11-12?14:29??sipjs-demo\.idea\.name
?????文件?????????526??2019-11-12?14:31??sipjs-demo\.idea\compiler.xml
?????文件?????????172??2019-11-12?14:31??sipjs-demo\.idea\encodings.xml
?????文件?????????513??2019-11-12?14:29??sipjs-demo\.idea\misc.xml
?????文件???????23563??2019-11-12?16:50??sipjs-demo\.idea\workspace.xml
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\.mvn\
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\.mvn\wrapper\
?????文件????????4629??2019-06-25?11:37??sipjs-demo\.mvn\wrapper\MavenWrapperDownloader.java
?????文件???????48337??2019-06-25?11:37??sipjs-demo\.mvn\wrapper\maven-wrapper.jar
?????文件?????????116??2019-06-25?11:37??sipjs-demo\.mvn\wrapper\maven-wrapper.properties
?????文件????????1261??2019-07-03?09:49??sipjs-demo\Readme.md
?????文件????????9114??2019-06-25?11:37??sipjs-demo\mvnw
?????文件????????5811??2019-06-25?11:37??sipjs-demo\mvnw.cmd
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\pic\
?????文件??????135775??2019-06-25?13:05??sipjs-demo\pic\1.png
?????文件???????52622??2019-06-25?13:03??sipjs-demo\pic\2.png
?????文件???????73176??2019-06-25?13:08??sipjs-demo\pic\3.png
?????文件????????1638??2019-06-27?15:43??sipjs-demo\pom.xml
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\src\
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\src\main\
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\src\main\java\
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\src\main\java\com\
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\src\main\java\com\bang\
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\src\main\java\com\bang\sip\
?????目錄???????????0??2019-11-12?14:35??sipjs-demo\src\main\java\com\bang\sip\sipjs\
?????文件?????????321??2019-06-25?11:37??sipjs-demo\src\main\java\com\bang\sip\sipjs\SipjsApplication.java
?????目錄???????????0??2019-11-12?14:38??sipjs-demo\src\main\resources\
?????文件?????????304??2019-11-12?14:38??sipjs-demo\src\main\resources\application.properties
............此處省略19個文件信息

評論

共有 條評論