2016年12月30日 星期五

SVN multi-repositories backup script


http://www.cfchimp.com/wordpress/2008/05/subversion-backup-of-multiple-repositories-via-dos-bat-file/

2016年11月29日 星期二

Codecs

https://speechcodecs.wordpress.com/

2016年9月24日 星期六


http://www.mastertheboss.com/jboss-jbpm/jbpm6/introduction-to-jbpm-6

http://www.mastertheboss.com/jboss-jbpm/jbpm6/jbpm-6-web-application-example

https://access.redhat.com/videos/872003


2016年9月16日 星期五

IMS & Initial Filter Criteria

http://theimslantern.blogspot.tw/2007/06/ims-service-routing-big-picture.html

http://theimslantern.blogspot.tw/2007/07/ims-service-routing-service-profile.html


Kamailio 3.0.x and Asterisk 1.6.2 Realtime Integration using Asterisk Database


Forward Register Example

http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb,

2016年9月9日 星期五

Project Management Zone

http://project-management.zone/

2016年9月3日 星期六

Java Class Loader

https://www.ibm.com/developerworks/cn/java/j-lo-classloader/ http://www.blogjava.net/jackjhy/archive/2008/05/30/204163.html

2016年8月31日 星期三

Forking a call

https://groups.google.com/forum/#!topic/mobicents-public/2xe_AKgg5RI
Mobicents Fork SBB Example: http://grepcode.com/snapshot/repository.jboss.org/nexus/content/repositories/releases/org.mobicents.examples/sip11-fork-sbb/1.2.7.GA/

2016年8月28日 星期日

JAIN SIP API

https://javadocs.com/docs/javax.sip/jain-sip-ri/1.2.90/gov/nist/javax/sip/SipStackImpl.html

Java DatagramSocket performance & rebinding

http://stackoverflow.com/questions/912623/how-can-i-speed-up-java-datagramsocket-performance http://stackoverflow.com/questions/10071107/rebinding-a-port-to-datagram-socket-on-a-difftent-ip

Building JAIN SLEE Resource Adapt

http://docs.jboss.org/mobicents/jain-slee/2.4.1.FINAL/tools/eclipslee/user-guide/en-US/html/building_jainslee_resource_adaptors.html

2016年8月27日 星期六

JAIN SLEE FAQ

http://www.maretzke.com/pub/whitepapers/jslee_faq_2005/index.html

2016年8月23日 星期二

Group Messaging (PoC)

https://realtimecommunication.wordpress.com/2015/01/15/group-messaging/ https://realtimecommunication.wordpress.com/2015/11/06/xcap-protocol/ https://realtimecommunication.wordpress.com/2015/11/11/presence-from-the-other-site/#more-1059

2016年8月16日 星期二

在Linux加入Service

http://tosian.blogspot.tw/2008/10/linux.html

2016年8月14日 星期日

Wireshark loopback

https://wiki.wireshark.org/CaptureSetup/Loopback https://ask.wireshark.org/questions/46579/wireshark-does-not-see-npcap-loopback-interface

2016年8月10日 星期三

Capacity Planning

http://iasaglobal.org/itabok/capability-descriptions/capacity-planning/

2016年8月3日 星期三

Media server

Media Server:

In a PacketCable environment (and other VOIP networks) a Media Server processesses and generates media streams (usually RTP).

It handles functions like:

  • decoding DTMF tones
  • bridging multiple media streams into a conference
  • playing announcemnts (e.g. "This number is not in service")
  • processing VoiceXML scripts
  • speech recognition
  • text to speech
  • recording audio
  • etc.

A Media Server is typically controlled using SIP messages sent by a softswitch or application server.
An IVR system would typically be composed of an Media Server, and an Application Server.

Media Server Vendors:



  • Asterisk: The Open Source PBX includes various media server features



See also

Spring boot

Auto config https://geowarin.github.io/understanding-spring-boot.html

Skype class digram

https://msdn.microsoft.com/en-us/skype/websdk/objectmodel

2016年7月29日 星期五

Enable Wake-on-Lan in Windows 10

http://www.groovypost.com/howto/enable-wake-on-lan-windows-10/

2016年7月26日 星期二

MOBICENTS SIP SERVLET EXTENSION TO ARQUILLIAN TUTORIAL & SIP Test Frameworks

https://telestax.com/mobicents-sip-servlet-extension-to-arquillian-tutorial/ http://blog.morethanspec.com/2011/09/sip-test-frameworks-and-jslee-services.html

introduction-to-sip

https://telconotes.wordpress.com/2013/02/17/introduction-to-sip/ https://telconotes.wordpress.com/2013/05/15/sip-invite-to-from-headers/ http://www.tutorialspoint.com/session_initiation_protocol/session_initiation_protocol_quick_guide.htm

2016年7月22日 星期五

JBOSS Debugger 設定

http://luckylarry.co.uk/programming-tutorials/jboss/how-to-setup-debugging-in-eclipse-for-jboss/
Troubleshooting with JAIN SLEE
https://groups.google.com/forum/#!topic/mobicents-public/JxUt0s2PAo8

Adding external Jar file into JAIN SLEE application

1. Add library folder into project example: library, and add pom.xml and libray-jar.xmlas below:













2. Assign proper groupid, name, version, library-name, library-vendor, library-version
library/pom.xml






























library-jar.xml












3. Add module into the parent pom.xml, library needs to be build before sbb and du

4. Add dependency into sbb/pom.xml














5. Add library-ref into sbb-jar.xml












6. Add dependency into du/pom.xml











7. Build the project with: mvn install , start JBOSS server and test accordingly

2016年7月9日 星期六

How to make a method thread-safe in Java?

http://www.programcreek.com/2014/02/how-to-make-a-method-thread-safe-in-java/

2016年7月8日 星期五

How to Easily Load Test With Open Source Tools

https://dzone.com/articles/how-to-easily-load-test-with-open-source-tools

Creating Object Pool in Java


https://dzone.com/articles/creating-object-pool-java

2016年6月25日 星期六

Bittium & MCPTT Players



http://www.lte-applications.com/28556/news/anite-and-bittium-bring-combined-drive-test-solution-to-us-public-safety-lte-networks

http://news.cision.com/bittium-oyj/r/bittium-exhibits-its-products-and-solutions-for-tactical-communications-at-eurosatory-defense-exhibi,c2027536

http://lteps.blogspot.tw/2015/12/public-safety-smartphones.html

http://www.genaker.net/blog/en/

3GPP Release 13


http://www.wireless-mag.com/News/40921/mission-critical-ptt-over-lte-standard-completed-in-time-for-release-13.aspx

http://lteps.blogspot.tw/

2016年6月24日 星期五

Air Lynx


http://www.lte-applications.com/27995/feeds/other-news/bittium-air-lynx-launch-world-s-first-public-safety-lte-evolved-multi-media-broadcast-multicast-solution

http://www.arabianindustry.com/comms/news/2016/jun/1/embms-solution-launched-for-critical-communications-5390203/

https://www.linkedin.com/company/air-lynx

2016年6月22日 星期三

Mobicents Wake up call example issue

http://www.developer-works.com/article/206309/How+do+I+deploy+the+wake+up+call+DU%3F

2016年6月21日 星期二

Kamailio XCAP Module - Support new AUID


http://lists.sip-router.org/pipermail/sr-dev/2011-May/011106.html

https://github.com/kamailio/kamailio/tree/master/modules/xcap_server

http://stackoverflow.com/questions/31746676/loading-modules-in-kamailio-server

2016年6月19日 星期日

Eclipse + Maven + Git + Multi-Module projects


http://stackoverflow.com/questions/7841440/eclipse-maven-git-multi-module-projects-unhappiness

Mobicents Documents


jain-slee 2.7.0.FINAL enablers

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/enablers/hss-client/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/enablers/rest-client/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/enablers/sip-subscription-client/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/enablers/sip-publication-client/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/enablers/sip-subscription-client/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/examples/google-talk-bot/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/resources/http-servlet/user-guide/en-US/html_single/#install


jain-slee 2.7.0.FINAL container

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/container/user-guide/en-US/html_single/


Jain-slee 2.7.0 Advanced Topics

https://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/container/user-guide/en-US/html/advanced_topics.html

Examples


Tools

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/tools/eclipslee/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/tools/jopr-plugin/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/tools/remote-slee-connection/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/tools/slee-management-console/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/tools/twiddle/user-guide/en-US/html_single/


Resources

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/resources/


Examples

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/examples/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/examples/call-controller2/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/examples/sip-uas/user-guide/en-US/html_single/#introduction

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/examples/sip-b2bua/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/examples/sip-wake-up/user-guide/en-US/html_single/

http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/examples/google-talk-bot/user-guide/en-US/html_single/

Mobircents community
http://www.mobicents.org/community.html

Implementation Architecture of XDM_Server
https://access.redhat.com/documentation/en-US/JBoss_Communications_Platform/5.0/html/SIP_Presence_Service_User_Guide/task-chapter-section-Implementation_Architecture_of_the_XDM_Server.html

Installation

https://developer.jboss.org/wiki/MobicentsJAINSLEEDevelopmentEnvironmentSetup

Hello World
https://developer.jboss.org/wiki/HelloSLEEWorldServiceJAINSLEETutorial

Restcomm User Guide

http://documentation.telestax.com/core/jain_slee/JAIN_SLEE_User_Guide.html

https://telestax.com/restcomm-sip-tutorial-basic-usage-and-voice-dtmf/

http://documentation.telestax.com/core/media_server/Media_Server_User_Guide.html

https://telestax.com/pcap-files-for-media-server-testing/

Open Cloud Docs

https://developer.opencloud.com/devportal/display/OCDEV/SLEE+1.1+How-to+Guides















2016年6月17日 星期五

XDM



http://www.ibm.com/support/knowledgecenter/SSWJLZ_7.0.0/com.ibm.xdms.doc/features_sharedlist_c.html

http://www.ibm.com/support/knowledgecenter/SSWJLZ_7.0.0/com.ibm.xdms.doc/features_shared_group_c.html

http://www.ibm.com/support/knowledgecenter/SS2PVA_7.1.0/com.ibm.xdms.doc/introducing_xdms_c.html

2016年6月13日 星期一

JAIN SLEE


https://developer.opencloud.com/devportal/display/RD2v2/1.4.1+JSLEE+in+Context

https://altanaitelecom.wordpress.com/tag/slee/

http://jainslee-slaves.blogspot.tw/2009/10/how-to-implement-resource-adaptor.html

https://www.ibm.com/developerworks/cn/opensource/os-jain-slee/

http://mobicents-slee.blogspot.tw/

http://documentation.telestax.com/core/jain_slee/JAIN_SLEE_User_Guide.html

https://www.dialogic.com/en/company/press-releases/2016/2016-03-03-telestax-and-dialogic-team-up-to-bring-next-generation-communications-solutions.aspx

https://www.openhub.net/p/restcomm

https://whitelassiblog.wordpress.com/2010/03/10/creatingbuildingdeploying-and-testing-projects-with-mobicents-jain-slee-2-x-y-series/

http://baranowb.blogspot.tw/2010/03/jslee-11-service-composition-vs-class.html

2016年6月10日 星期五


Public Safety LTE Blog

http://lteps.blogspot.tw/2016/04/mcptt-latency-requirements.html

http://lteps.blogspot.tw/2016/01/mission-critical-push-to-talk-and-eps.html

http://lteps.blogspot.tw/2015/12/public-safety-prioritization.html


MCPTT News

http://iknow.stpi.narl.org.tw/post/Read.aspx?PostID=11053

http://iknow.stpi.narl.org.tw/post/Read.aspx?PostID=10879


MCPTT Application

http://nemergent.com/blog/?p=85#more-85

http://mcptt.fi/

http://kodiakptt.com/ptt-solutions/mcptt-mission-critical-push-to-talk.html

MCPTT v.s. PCPS

http://www.rrmediagroup.com/Features/FeaturesDetails/FID/522 http://www.mccmag.com/Features/FeaturesDetails/FID/522

2016年5月17日 星期二

Install jar into local Maven repository


mvn install:install-file -Dfile=C:\workspace\CMS\lib\sqljdbc4.jar -DgroupId=sqljdbc4 -DartifactId=sqljdbc4 -Dversion=4 -Dpackaging=jar

2016年4月29日 星期五

Radius

http://www.lijyyh.com/2013/07/radius-configuring-radius-server.html

http://tec1021.pixnet.net/blog/post/28639573-%E8%BC%95%E9%AC%86%E6%9E%B6%E5%A5%BDradius%E4%BC%BA%E6%9C%8D%E5%99%A8~

http://www.slideshare.net/basimaly1/introduction-to-diameter-protocol-part1

http://searchsecurity.techtarget.com/definition/RADIUS

http://www.netexpertise.eu/en/freeradius/daily-accounting.html

https://www.howtoforge.com/authentication-authorization-and-accounting-with-freeradius-and-mysql-backend-and-webbased-management-with-daloradius#-setting-up-web-management-with-daloradius

2016年4月26日 星期二

SQL Server的定序(Collation)

https://dotblogs.com.tw/jimmyyu/archive/2009/08/30/10320.aspx?fid=77929

2016年4月21日 星期四

kamailio script


http://lirobo.blogspot.tw/2015/02/kamailio-script.html

2016年4月14日 星期四

Jhiptser 使用 SQL Server Tips (Liquibase Mavenplugin)



可考官網說明

https://jhipster.github.io/tips/004_tip_using_ms_sql_server.html

由於MSSQL Driver 無法直接由 Maven repository取得

若需使用Maven Liquibase plugin 來 針對MS SQL Server 操作, 須依下列步驟執行

1. 安裝 MS SQL Server JDBC Driver 於本地端Maven local repository

mvn install:install-file -Dfile=D:\dev\java\jars\sqljdbc4.jar -DgroupId=sqljdbc4 -DartifactId=sqljdbc4 -Dversion=4 -Dpackaging=jar -DgeneratePom=true


2. 將 MS SQL Server JDBC dependency 加到 Maven  pom.xml

3. 執行以下指令確認 Maven 可正常執行

     mvn -P dev liquibase:generateChangeLog

2016年4月11日 星期一

LiquiBase: Inserting data from a CSV file


How to resolve issue importing Date field

https://lizdouglass.wordpress.com/2009/02/01/liquibase-inserting-data-from-a-csv-file/

2016年3月31日 星期四

RTP over Websocket


http://stackoverflow.com/questions/18844534/rtp-over-websocket

WebRtc sample application

2016年3月30日 星期三

JHipster Liquibase 指令範例 - Maven


JHipster 已經在POM.XML 做好 Liquibase的基本設定, 因此在JHipster Code Generate 出的專案中, 可以直接利用 Maven指令, 在Project 目錄下利用 mvn 的 command line 指令, 即可Reverse database schema 以及Diff出schema與 data 的修改.

1. 設定說明



<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>${liquibase.version}</version>
<configuration>
<changeLogFile>src/main/resources/config/liquibase/master.xml</changeLogFile>
<diffChangeLogFile>src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml</diffChangeLogFile>
<driver>${driver.class}</driver>
<!-- Diff  Profile 指定的資料庫參數, 利用 Properties tag 另外定義 -->
<url>${jdbc.url}</url>
<defaultSchemaName></defaultSchemaName>
<username>${username}</username>
<password>${password}</password>
<!-- Diff 被比較的資料庫參數, 利用 Properties tag 另外定義 -->
<referenceUrl>${jdbc.url.dev}</referenceUrl>
<referenceDriver>${driver.class.msqldev}</referenceDriver>
<referenceUsername>${username.msqldev}</referenceUsername>
<referencePassword>${password.msqldev}</referencePassword>
<!-- 若需比對並產出資料則可加入data 選項 -->
<diffTypes>tables, views, columns, indexes, foreignkeys, primarykeys, uniqueconstraints</diffTypes>
<referenceDefaultSchemaName></referenceDefaultSchemaName>
<verbose>true</verbose>
<logging>${logback.loglevel}</logging>
</configuration>
...........
</plugin>
view raw gistfile1.txt hosted with ❤ by GitHub
2. 利用 Reverse 產出全部資料的 XML

         mvn -P dev liquibase:generateChangeLog

         -P :  指定Spring boot 在 Maven 定義的Profile
          generateChangeLog: reverse 全部資料


         mvn -P dev liquibase:generateChangeLog  -Dliquibase.outputChangeLogFile=./test.xml

         -Dliquibase.outputChangeLogFile: 自指定產出的XML檔案, 未指定則輸出到console


3. 利用 Diff 產出資料修改的 XML

    mvn liquibase:diff

       Spring boot預設的Profile與在pom.xml 設定在 <referenceUrl> 的料庫比對

    mvn -P prod liquibase:diff
        
     -P :  指定Spring boot 在 Maven 定義的Profile, 與在pom.xml 設定在 <referenceUrl> 的料庫比對
   

4. 利用updateSQL產出SQL指令( 不直接對資料庫下指令)

       mvn liquibase:updateSQL

5. 利用dropAll指令清除所有table

       mvn -P prod liquibase:dropAll

5. 利用clearCheckSums指令清除所有CheckSums以避免checkSum Error

        mvn -P prod liquibase:clearCheckSums

5. 利用Batch 指令執行Liquibase的Sample

// 從資料庫Reverse為Liquibase XML檔, 將changeLogFile附檔名改為.json即可改JSON格式

liquibase --driver=com.mysql.jdbc.Driver --classpath=.\mysql-connector-java-5.1.38.jar   --changeLogFile=db.changelog.xml  --url="jdbc:mysql://localhost:3306/dev?useUnicode=true&characterEncoding=UTF-8" --username=pollex --password=pollex123 generateChangeLog

// 連同 Data 一起 Reverse

liquibase --driver=com.mysql.jdbc.Driver --classpath=.\mysql-connector-java-5.1.38.jar   --changeLogFile=db.changelog.xml  --url="jdbc:mysql://localhost:3306/dev?useUnicode=true&characterEncoding=UTF-8"  --diffTypes=data --username=pollex --password=pollex generateChangeLog

//產出對資料庫建資料的SQL SCRIPT

liquibase --driver=com.mysql.jdbc.Driver --classpath=.\mysql-connector-java-5.1.38.jar   --changeLogFile=db.changelog.json  --url="jdbc:mysql://localhost:3306/dev?useUnicode=true&characterEncoding=UTF-8"  --username=pollex --password=pollex updateSQL > dbscript.sql

--diffTypes=data,tables,columns,views,primaryKeys,uniqueConstraints,indexes,foreignKeys,sequences







       

2016年2月16日 星期二

IMs

https://theimsjungle.wordpress.com/tag/i-cscf/

http://www.projectclearwater.org/about-clearwater/

2016年2月14日 星期日

Marketing plan


http://www.entrepreneur.com/article/43018

2016年1月28日 星期四

SIP programming for the Java developer

https://telestax.com/mobicents-sip-servlets-sip-programming-in-java-tutorial/

http://www.javaworld.com/article/2071781/java-web-development/sip-programming-for-the-java-developer.html

http://alex.bikfalvi.com/teaching/upf/2013/architecture_and_signaling/lab/sip/

http://stackoverflow.com/questions/13033116/jain-sip-authentication

https://andrewjprokop.wordpress.com/2015/03/17/a-deep-dive-into-the-sip-publish-method/

http://www.oracle.com/technetwork/java/sip-and-java-137921.html

http://stackoverflow.com/questions/26551606/difference-between-jain-api-and-jain-slee-api

http://www.phitech.com.tw/news/?news_id=709

https://sourceforge.net/projects/mcumediaserver/?source=recommended

Open source SIP product

http://peers.sourceforge.net/

https://code.google.com/archive/p/sip2peer/wikis/sip2peerTutorial.wiki

https://maven.reucon.com/projects/public/asterisk-java/1.0.0/tutorial.html

http://www.asteriskguru.com/tutorials/basic_installation_information_asterisk_from_source.html

http://www.mobicents.org/index.html

https://developer.jboss.org/wiki/HelloSLEEWorldServiceJAINSLEETutorial


WebRTC media server

http://doc-kurento.readthedocs.org/en/stable/what_is_kurento.html

http://www.html5rocks.com/en/tutorials/webrtc/infrastructure/


HTML5  SIP client

https://www.doubango.org/sipml5/


Audio Library

http://stackoverflow.com/questions/8999629/open-source-audio-library-in-java

Asterisk V.S. Kamailio

http://www.dslreports.com/forum/r29128751-Kamailio-vs-Asterisk

http://kb.asipto.com/kamailio:presence:k31-made-simple

Xcap
http://nil.uniza.sk/instant-messaging/simple/configuring-xcap-support-im-and-presence-over-kamailio-31-debian-lenny

http://openxcap.org/

Presence Server
http://www.opensips.org/Documentation/Tutorials-Presence-PresenceServer

Back-to-back-user-agent (b2bua)
https://andrewjprokop.wordpress.com/2013/12/27/the-back-to-back-user-agent-b2bua/
https://andrewjprokop.wordpress.com/2013/06/21/sip-servers-and-services/

SIPS & SRTP

http://wiki.linuxwall.info/doku.php/en:ressources:dossiers:voip:tls_sips_rtps

2016年1月12日 星期二

Solr 5.x Installation (Jetty) & mmseg4


http://josh-persistence.iteye.com/blog/2249791

2016年1月8日 星期五

Restful API Design


http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api

http://blog.mwaysolutions.com/2014/06/05/10-best-practices-for-better-restful-api/

2016年1月7日 星期四

Opensource SIP solution

http://flashphoner.com/html5-webrtc-phone-not-yet/
http://www-01.ibm.com/support/knowledgecenter/SSHR6W_8.5.5/com.ibm.websphere.wdt.doc/topics/tdevelopSIP.htm
https://github.com/DoubangoTelecom/sipml5
http://www.opensips.org/
http://www.voip-info.org/wiki/view/Open+Source+VOIP+Software
http://openmobilealliance.org/

http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour