Join two conferences in asterisk

天大地大妈咪最大 提交于 2020-01-01 19:48:25

问题


I want to join two conferences (confbridge). Suppose there is a conference room c1 and then there is another conf room c2, now i want that participant of c1 can also join participants of c2 but the condition is that c1 participant don't have to leave their room.

How can I implement this using confbridge and asterisk?


回答1:


you have an implementation here: Connecting two conferences on initial join




回答2:


considering you have two conferences rooms named 1 and 2 then add to your extensions.conf:

[join-conference]
exten => s,1,ConfBridge(2)
exten => s,n,Hangup
exten => h,1,Hangip

and do it in shell:

asterisk -rx "channel originate local/s@join-conference application ConfBridge 1"

Basically you are making a call with two legs: one to conference 1 and another to conference 2. It is not a big deal and works perfectly. let me know if you cant understand something.

You can learn more here: http://www.voip-info.org/wiki/view/Asterisk+local+channels



来源:https://stackoverflow.com/questions/11964508/join-two-conferences-in-asterisk

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!