天天看點

Freeswitch配置:一台Freeswitch向另外一台Freeswitch轉發視訊會議指令

 場景是:

  • 終端登入在Freeswitch A伺服器。
  • 終端呼叫視訊會議房間3500。
  • Freeswitch A伺服器把視訊指令轉發到Freeswitch B伺服器。

  修改Freeswitch A伺服器配置,檔案是freeswitch/dialplan/default.xml。在<context name="default">下增加轉發指令:

<extension name="meeting">
        <condition field="destination_number" expression="^(3500)$">
             <action application="bridge" data="sofia/external/sip:[email protected]:5080" />
        </condition>
    </extension>      

  其中:

  • 3500是視訊會議房間
  • 192.168.1.111是Freeswitch B伺服器的IP。
  • 5080是預設的一個端口。

繼續閱讀