CSipsimple 改变其同时拨号数量的问题 supportMultipleCalls

ewewewrt ewewewrt 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
官方的demo 默认最多支持同时 播4个号码 我现在的问题是 怎么扩展更多 看了源码 好像 没有
if(!supportMultipleCalls) {
// Check if there is no ongoing calls if so drop this request by alerting user
SipCallSession activeCall = pjService.getActiveCallInProgress();
if(activeCall != null) {
if(!CustomDistribution.forceNoMultipleCalls()) {
notifyUserOfMessage(R.string.not_configured_multiple_calls);
}
return;
}
}
getExecutor().execute(new SipRunnable() {
@Override
protected void doRun() throws SameThreadException {
pjService.makeCall(callee, accountId, options);
}
});
}
这一段 中 判断 是否 开启 多播的 从这里看来 只要设置 了 supportMultipleCalls为true 都可以去创建一个拨号连接。。。 不知道怎么回事? 还有 asterisk服务的三方通话 是需要 系统设置的 但是 服务器后端 没有设置 也可以实现三方通话 但是 只能支持5个 人同时通话 第6个号码就播不出去了。。。我怀疑的是 客户端肯定有 对 同时通话数量的限制 但是就是找不到 其源码,
...全文
评论
收藏 已收藏
分享
返回顶部
ewewewrt
VoIP 1,393 成员 567 内容