免费交换机配置文件和桥接器的工作原理

发布于 2024-12-16 12:37:51 字数 362 浏览 3 评论 0原文

Free Switch 中的内部配置文件外部配置文件 是什么意思?

另外,我不知道 -

application="bridge". 

我也无法理解

data="${sofia_contact($${gwuser}@$${domain})}"  

data="sofia/internal/${destnumber}@192.168.10.33:5062"

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

What is the meaning of internal profile or external profile in Free Switch?

Also I don't know the meaning of -

application="bridge". 

I also cannot understand

data="${sofia_contact(${gwuser}@${domain})}"  

or

data="sofia/internal/${destnumber}@192.168.10.33:5062"

It will be really helpful if someone could give me a proper explanation, or at least, point me to a right direction.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

清晨说晚安 2024-12-23 12:37:51

“internal”和“external”是 sip 配置文件的名称。这些通常在 freeswitch 的默认配置中定义。它们是针对内部或外部访问进行优化的示例配置,您可以根据需要使用配置定义其他 sip 配置文件。

application="bridge" 是将传入呼叫桥接到其他外部或内部目的地的应用程序。

data="sofia/internal/${destnumber}@192.168.10.33:5062" 表示您要使用 sofia sipstack,名称为“internal”的 sip 配置文件,变量“destnumber”的内容为 ip 192.168.10.3在端口 5062 上。

"internal" and "external" are names of sip profiles. Those are usually defined in the default configuration of freeswitch. They are sample configurations optimized for internal or external access, you can define other sip profiles with a configuration according to your needs.

application="bridge" is an application that bridges an incoming call to an other external or internal destination.

data="sofia/internal/${destnumber}@192.168.10.33:5062" means you want to use the sofia sipstack, the sip profile with the name "internal" with the content of the variable "destnumber" to ip 192.168.10.3 on port 5062.

伴我老 2024-12-23 12:37:51

应用桥将两个通道(端点)连接在一起。

sofia_* 是由诺基亚开发的开源 SIP 协议实现。
因此,$${gwuser} 是一个变量,其中包含要调用的用户名(采用 SIP 地址表示法:name@domain)。
${domain} 是域名。
sofia/internal/ 表示将使用由本地 freeswitch PBX 处理的内部 sip 号码。

Application bridge connects two channels(end-points) together.

sofia_* is the open source SIP protocol implementation developed by Nokia guys.
So, $${gwuser} is variable which contains the name of the user to call in SIP address notation: name@domain.
${domain} is the domain name.
sofia/internal/<adress> means that will be used internal sip number which is handled by local freeswitch PBX.

天邊彩虹 2024-12-23 12:37:51

我认为你应该澄清一下 freeswitch (mod_sofia) 如何考虑本地注册的端点与网关:
http://wiki.freeswitch.org/wiki/Mod_sofia

I think you should clarify a bit how freeswitch (mod_sofia) consider locally registered endpoints vs gateways:
http://wiki.freeswitch.org/wiki/Mod_sofia

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文