2015-06-19 87 views
1

我已經使用網絡詳細信息自動配置了restcomm。Restcomm演示調用失敗

現在,當我嘗試呼叫SIP:1234 @主機:5080 我已檢查所有其他演示,並且它們全都失敗。我嘗試將緩存文件夾更改爲磁盤上的外部文件夾,即使它不工作。我已經嘗試了Windows中的Tomcat版本,嘗試執行演示調用,它拋出OutOfMemoryException。

從Restcomm錯誤日誌,

2015-06-17 15:02:16,943 INFO [Play] (Thread-1) Received URL can not be found , firing of 
2015-06-17 15:02:16,944 INFO [MGCP] (Thread-1) tx=2 Started, message= NTFY mobicents/ivr/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:02:16,944 INFO [MGCP] (Thread-1) tx=147483656 was executed normaly 
2015-06-17 15:02:16,948 INFO [MGCP] (Thread-2) tx=2 was executed normaly 
2015-06-17 15:02:16,967 INFO [MGCP] (Thread-2) tx=147483654 was executed normaly 
2015-06-17 15:02:17,025 INFO [MGCP] (Thread-2) tx=147483658 Started, message= DLCX mobicents/bridge/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:02:17,029 INFO [MGCP] (Thread-1) tx=147483658 was executed normaly 
2015-06-17 15:02:17,046 INFO [MGCP] (Thread-1) tx=147483659 Started, message= DLCX mobicents/bridge/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:02:17,048 INFO [MGCP] (Thread-1) tx=147483659 was executed normaly 
2015-06-17 15:02:17,126 INFO [MGCP] (Thread-1) tx=147483660 Started, message= DLCX mobicents/ivr/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:02:17,127 INFO [MGCP] (Thread-2) tx=147483660 was executed normaly 
2015-06-17 15:02:17,205 INFO [Server] (Thread-1) Global hearbeat is still alive 
2015-06-17 15:03:17,206 INFO [Server] (Thread-2) Global hearbeat is still alive 
2015-06-17 15:04:17,205 INFO [Server] (Thread-1) Global hearbeat is still alive 
2015-06-17 15:04:44,686 INFO [MGCP] (Thread-1) tx=147483661 Started, message= CRCX mobicents/bridge/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:04:44,689 INFO [MGCP] (Thread-2) tx=147483661 was executed normaly 
2015-06-17 15:04:44,725 INFO [MGCP] (Thread-2) tx=147483662 Started, message= CRCX mobicents/bridge/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:04:44,727 INFO [MGCP] (Thread-1) tx=147483662 was executed normaly 
2015-06-17 15:04:44,745 INFO [MGCP] (Thread-2) tx=147483663 Started, message= MDCX mobicents/ivr/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:04:44,746 INFO [MGCP] (Thread-1) tx=147483663 was executed normaly 
2015-06-17 15:04:44,766 INFO [MGCP] (Thread-1) tx=147483664 Started, message= RQNT mobicents/ivr/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:04:44,785 INFO [Play] (Thread-2) (mobicents/ivr/2) Start announcement (segment=0) 
2015-06-17 15:04:44,790 ERROR [AudioPlayerImpl] (Thread-2) (mobicents/ivr/2) error occured 
java.io.FileNotFoundException: http://33.33.33.34:8080/restcomm/cache/ACae6e420f425248d6a26948c17a9e2acf/ef992228519164b96cd28beb01cf5e54fb9b51cab8b2c13c2067edbf8c10679e.wav 
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624) 
    at java.net.URL.openStream(URL.java:1037) 
    at org.mobicents.media.server.impl.resource.mediaplayer.audio.wav.WavTrackImpl.<init>(WavTrackImpl.java:74) 
    at org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl.setURL(AudioPlayerImpl.java:150) 
    at org.mobicents.media.server.mgcp.pkg.au.Play.startAnnouncementPhase(Play.java:162) 
    at org.mobicents.media.server.mgcp.pkg.au.Play.execute(Play.java:115) 
    at org.mobicents.media.server.mgcp.controller.Request.execute(Request.java:142) 
    at org.mobicents.media.server.mgcp.tx.cmd.NotificationRequestCmd$Executor.perform(NotificationRequestCmd.java:213) 
    at org.mobicents.media.server.scheduler.Task.run(Task.java:122) 
    at org.mobicents.media.server.scheduler.Scheduler$WorkerThread.run(Scheduler.java:420) 
2015-06-17 15:04:44,791 INFO [Play] (Thread-2) Received URL can not be found , firing of 
2015-06-17 15:04:44,792 INFO [MGCP] (Thread-2) tx=3 Started, message= NTFY mobicents/ivr/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:04:44,792 INFO [MGCP] (Thread-2) tx=147483664 was executed normaly 
2015-06-17 15:04:44,792 INFO [MGCP] (Thread-1) tx=3 was executed normaly 
2015-06-17 15:04:44,806 INFO [MGCP] (Thread-1) tx=147483666 Started, message= DLCX mobicents/bridge/[email protected]:2427, call agent = /33.33.33.34:2727 
2015-06-17 15:04:44,807 INFO [MGCP] (Thread-1) tx=147483666 was executed normaly 
2015-06-17 15:05:17,205 INFO [Server] (Thread-1) Global hearbeat is still alive 
2015-06-17 15:06:17,205 INFO [Server] (Thread-1) Global hearbeat is still alive 

回答

0

你對OpenStack的或亞馬遜運行此? 是33.33.33.34 IP地址和端口8080可以從機器內部訪問,因爲它看起來像位於http://33.33.33.34:8080/restcomm/cache/ACae6e420f425248d6a26948c17a9e2acf/ef992228519164b96cd28beb01cf5e54fb9b51cab8b2c13c2067edbf8c10679e.wav的wav文件不能被Restcomm找到,您還可以驗證它實際存在於Restcomm的緩存文件夾中$ restcomm_home /standalone/deployments/restcomm.war/cache文件夾

你是否還在restcomm.conf中配置了以下內容?

#PUBLIC IP地址

STATIC_ADDRESS =

+0

這是對我的運行localbox的。 wav文件不是在緩存文件夾中創建的。我也添加了STATIC_ADDRESS。 – Techpreneur