问题标签 [freeswitch]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1825 浏览

sip - Kamailio 作为 FreeSwitch 前的调度员

我正在努力将 Kamailio 作为 FreeSwitch 的简单调度程序。这是我到目前为止的配置:http: //pastebin.com/nBPSpe6S

连接 iPhone 和 Android 会使它们之间的调用超时。连接其中一部手机和我的笔记本电脑会使它们之间的通话产生错误“跳数过多”。

有了它们,我就可以拨打 Freeswitch,收听语音邮件,保持音乐等。

所以我猜它仍然是NAT问题或类似问题?

任何人都可以发现错误,丢失的东西或其他配置错误吗?

PS 将手机、笔记本电脑等直接添加到 FreeSwitch,无需 Kamailio,一切正常。

0 投票
3 回答
4270 浏览

freeswitch - Free Switch Profiles 和 Bridges 的工作原理

Free Switch中的internal profile 或是什么意思?external profile

我也不知道是什么意思-

我也看不懂

或者

如果有人能给我一个正确的解释,或者至少给我指出一个正确的方向,那将非常有帮助。

0 投票
2 回答
1558 浏览

ios - FreeSwitch iPhone 应用程序通信问题

我有一个基于 pjsip 的应用程序,用于进行一些 Sip 调用。

该应用程序适用于其他 SIP 交换机/服务器,但使用 freeSwitch 时,该应用程序无法在后台模式下接收呼叫。

使用freeSwitch,当应用程序处于活动状态时一切都很好,但在后台模式下,应用程序不会收到有关呼叫的通知。它可能与 freeSwitch 通知应用程序有关新呼叫的方式有关(对于 iOS pjsip,通知应该来自 TCP 包装的套接字)。

有人知道我如何配置 fresSwitch 以在特定端口上发送通知吗?

0 投票
1 回答
935 浏览

xml - 如何为 mod_xml_curl 不返回任何内容?

此处的手册http://wiki.freeswitch.org/wiki/Mod_xml_curl说,如果希望 Freeswitch 基于静态 XML 处理它的请求,那么 curl 服务应该“不返回任何内容”。

“不返回任何东西”究竟是什么意思?

0) 不响应客户端请求(超时) 1) 返回 HTTP 404 错误?2) 返回 HTTP 204 错误(无内容)?3) 返回内容为零的 HTTP 200?4) 返回带有任何空格但没有 XML 标记的 HTTP 200?

其他东西或上述的某种组合?

谢谢

0 投票
1 回答
293 浏览

voip - 一次连接多个电话时如何扣除客户余额

我们确实允许他根据他当前的余额拨打电话,通话时间为 10 分钟,下一次通话时间也安排为 10 分钟,因为客户余额未更新,因为他的第一次通话仍在进行中。我们只在通话断开时更新余额。这样余额就会变成负数。但是有没有办法解决这个问题,让余额不会变成负数?

0 投票
4 回答
4740 浏览

php - FreeSWITCH 中是否与 Asterisk AMI 和 AGI 有相似之处?

Asterisk 具有Asterisk Manager Interface (AMI)Asterisk Gateway Interface (AGI),使用它们可以在来自 Asterisk 的某些事件中触发 PHP 脚本。使用相同的 PHP 脚本也可以指示 Asterisk 在电话/会议旁边做什么。FreeSWITCH 中是否与 AMI 和 AGI 有相似之处?

0 投票
3 回答
446 浏览

c - Error: pjsip gives `mod_sofia` insetad of the actual phone number

I am working on project in which I use Sipek Voip for connecting to Freeswitch. Here is the situation:

I have a Sangoma A400 hard. I compiled Freeswitch for Windows and now it works perfectly.
I have also created a Softphone using Sipek Voip SDK and it works well with Freeswitch.

The problem is that, when I have an incoming call, instead of showing the callers number, I get mod_sofia.

I looked at Sipek and all it gets from pjsip is a string containing <sip:mod_sofia@192.168.2.10:5060>.

So I went to pjsip and tried to pass the actual phone number to Sipek. I found out there is a function called pjsua_call_on_incoming which handles an incoming call.

It takes an argument of type pjsip_rx_data. It has a string field (rdata->msg_info.msg_buf) which contains the whole message. I tried to replace <sip:mod_sofia@192.168.2.10:5060> with the actual number, but it has no effect.

Does anyone have any idea how to fix this?

0 投票
1 回答
538 浏览

sip - 从 PSTN 拨打多个来电

我有使用媒体网关和软交换 (YATE) 的 VoIP 测试设置。媒体网关将来自 E1 PRI 上的 PSTN 的呼入转换为 SIP INVITE,并将它们发送到软交换,软交换将 INVITE 转发给已注册的客户端。是否有可用的开源/免费工具允许我在 E1 PRI 号码上模拟来自 PSTN 的多个来电?我想要类似于 sipp 但可以同时拨打多个 E1 电话的东西。E1 PRI 有大约 24 个不同的数字。我想要一个工具,最好是使用 E1 卡从我的 PC 上同时拨打尽可能多的电话。这可能吗?

感谢任何帮助/指针。提前致谢。

0 投票
1 回答
539 浏览

freeswitch - ipkall 的 freeswitch 配置

我已经用 plivo 设置了我的 freeswitch,但现在我无法为我的 sip 用户 1005@ipadress 配置 ipkall 号码,因为 ipkall 的 freeswitch wiki 的配置尚不清楚。请问有人可以给我配置步骤吗?提前致谢。

0 投票
1 回答
528 浏览

freeswitch - 为什么当 msrp 邀请来到 freeswitch 时 SDP 不匹配

当我从 1016 到 1015 拨打电话时,我的 voip 电话支持 msrp,所以我想从一条腿向另一条腿发送短信。我发现 FreeSwitch 将传入消息作为普通的 sip 邀请处理,并将为我发出的邀请生成一个会话(也是一个通道)实例。通道状态设置为 CS_NEW,然后进入 sofia 状态回调以处理不同的阶段sip程序。解析sdp时,freeswitch告诉我sdp不匹配,所以会话关闭,频道挂断。我不知道如何配置(如果freeswitch支持msrp),或者如何把这个做对。如果你能给我更多的信息,非常感谢你。