2015-06-19 86 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