首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Restcomm Demo调用失败

Restcomm Demo调用失败
EN

Stack Overflow用户
提问于 2015-06-19 23:10:28
回答 2查看 237关注 0票数 1

我已经使用网络详细信息自动配置了restcomm。

现在,当我尝试呼叫sip:1234@host:5080时,我检查了所有其他的demo,它们都失败了。我尝试将缓存文件夹更改为磁盘上的外部文件夹,即使它不工作。我已经在Windows中尝试了Tomcat版本,尝试执行演示调用,它抛出了OutOfMemoryException。

来自Restcomm的错误日志是,

代码语言:javascript
复制
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/1@33.33.33.34: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/1@33.33.33.34: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/1@33.33.33.34: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/1@33.33.33.34: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/$@33.33.33.34: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/2@33.33.33.34: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/2@33.33.33.34: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/2@33.33.33.34: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/2@33.33.33.34: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/2@33.33.33.34: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
EN

回答 2

Stack Overflow用户

发布于 2015-06-21 18:36:37

您最好尝试使用Docker镜像运行Restcomm,如下所述:https://registry.hub.docker.com/u/gvagenas/restcomm/

乔治

票数 1
EN

Stack Overflow用户

发布于 2015-06-19 23:46:59

你是在OpenStack上运行还是在亚马逊上运行?是33.33.33.34IP地址和端口8080可以从机器内部访问,因为它看起来Restcomm无法找到位于http://33.33.33.34:8080/restcomm/cache/ACae6e420f425248d6a26948c17a9e2acf/ef992228519164b96cd28beb01cf5e54fb9b51cab8b2c13c2067edbf8c10679e.wav的wav文件,您还可以验证它是否确实存在于Restcomm wav文件夹的缓存文件夹中。

另外,您是否在restcomm.conf中配置了以下内容?

#公网IP地址

STATIC_ADDRESS=

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30941569

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档