asterisk - Asterisk 最大通话次数
问题描述
我正在尝试对星号服务器进行压力测试。我创建了多个相互调用的帐户。
例如
1001 calls -----> 1002
1003 calls -----> 1004
1005 calls -----> 1006
不知何故,当服务器达到 64 个活动调用时,它一直说没有活动端口。我不能再打电话了。
错误日志;
Choices:
0 For current dialog.
-1 All 0 buddies in buddy list
[1 - 0] Select from buddy list
URL An URL
<Enter> Empty input (or 'q') to cancel
Make call: 07:40:28.584 pjsua_call.c !Making call with acc #1 to sip:1006@127.0.0.1:25060
07:40:28.584 pjsua_aud.c .Set sound device: capture=-99, playback=-99
07:40:28.584 pjsua_aud.c ..Setting null sound device..
07:40:28.584 pjsua_app.c ...Turning sound device ON
07:40:28.584 pjsua_aud.c ...Opening null sound device..
07:40:28.584 pjsua_media.c .Call 0: initializing media..
07:40:28.584 pjsua_media.c ..Unable to find appropriate RTP/RTCP ports combination
07:40:28.584 pjsua_media.c ..Unable to create RTP/RTCP socket: Address already in use [status=120098]
07:40:28.584 pjsua_media.c ..Error creating media transport: Address already in use
07:40:28.584 pjsua_call.c .Error initializing media channel: Address already in use [status=120098]
07:40:28.584 pjsua_media.c .Call 0: deinitializing media..
>>> >>>>
Account list:
[ 0] <sip:172.31.31.91:30404>: does not register
Online status: Online
*[ 1] sip:1005@172.31.31.91: 200/OK (expires=219)
Online status: Online
Buddy list:
-none-
任何人都知道为什么这种情况不断发生。我还创建了一个脚本,可以注册 5000 个用户,所有用户都具有不同的端口,并且可以完美运行,没有任何问题。是否有可能在某个地方存在极限函数?
解决方案
可能您在 rtp.conf 文件中允许的端口数量有限
请停止垃圾邮件相同的问题,星号肯定可以处理数千个电话,检查您的设置(嵌入?)/配置。
推荐阅读
- javascript - 如何使用按钮将 React 中的路由与 react-router-dom 动态链接?
- python - 无法注释掉涉及多行字符串的代码
- oracle - Oracle 中是否有批量卸载实用程序
- javascript - 使用参数迭代 Javascript 对象
- sql - T-SQL 员工层次递归查询
- python-3.x - 如何使用单个索引和一系列索引从 numpy 数组中获取行
- python - Python DEAP 多处理示例
- javascript - 尽管使用 async/await 时使用 {new: true} 选项,Mongoose findOneAndUpdate 不返回更新的对象
- python-3.x - 如何通过获取另一个数据框的滚动 COLUMN 总计/总和来创建新的数据框?
- python - 如何从python中的文件中绘制大的Y值?