1
我最近在sip servlet上工作,發現RestComm是一個很好的sip servlet,現在我想知道更多關於它的詞,因此我開始自己配置jboss。如何配置jboss sip servlet
我在這個旅程中發現了有趣而有用的事情,像mobicents-dar.properties,這有助於我理解容器工作的主要部分。
我看到this答案,知道這是很難的工作,但知道這一節對我來說非常重要。
但我不能完全配置jBoss的SIP servlet容器。 我這樣做:
首先我覺得在RestComm JBOSS的模塊目錄這兩個目錄來並插入他們在我原來的JBoss
mobicents
scannotation
然後我發現在獨立這三種文件/配置目錄複製它們太
dars/mobicents-dar.properties
mss-sip-stack.properties
standalone-sip.xml
然後啓動JBoss絲毫此命令
./standalone.sh -c standalone-sip.xml
但是當5080啓動JBoss接口,....無法啓動(存在CONSOL沒有日誌人,但在啓動時RestComm二進制日誌是這樣)
此行不是在我原來的Jboss
20:24:00,280 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-5) Sip Connector started on ip address: 127.0.0.1, port 5082, transport ws, useStun false, stunAddress null, stunPort : -1, useStaticAddress: false, staticServerAddress null, staticServerPort -1
20:24:00,280 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-4) Sip Connector started on ip address: 127.0.0.1, port 5081, transport tls, useStun false, stunAddress null, stunPort : -1, useStaticAddress: false, staticServerAddress null, staticServerPort -1
20:24:00,281 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-8) Sip Connector started on ip address: 127.0.0.1, port 5080, transport tcp, useStun false, stunAddress null, stunPort : -1, useStaticAddress: false, staticServerAddress null, staticServerPort -1
20:24:00,281 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-3) Sip Connector started on ip address: 127.0.0.1, port 5080, transport udp, useStun false, stunAddress null, stunPort : -1, useStaticAddress: false, staticServerAddress null, staticServerPort -1
20:24:00,282 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-7) Sip Connector started on ip address: 127.0.0.1, port 5083, transport wss, useS
看到
如果你想要一個具有某個節點的集羣並仔細管理負載平衡,你需要 – sadeghpro