查询网关注册状态
./fs_cli -P 8031 -p testtest -x 'sofia status'
4. fs网关重新加载
freeswitch xml配置文件新增网关后,使其生效,可以重启freeswitch或者使用命令方式
./fs_cli -P 8031 -p testtest -x 'sofia profile external rescan'
5. fs端发起外部网关呼叫
我们已经接入了外部落地网关,然后在没有部署平台时候,发起呼叫,命令如下(使用主叫:05337357591通过外部网关gw1拨打13226595347):
originate {origination_caller_id_name=05337357591,origination_uuid=00002822-0599,origination_caller_id_number=05337357591}sofia/gateway/gw1/13226595347 &echo
6. fs查看有多少电话在线
./fs_cli {-H 主机} -P 8031 -p testtest -x 'show calls'
参考
https://blog.csdn.net/wlg9527/article/details/106247292
https://blog.csdn.net/hj550636459/article/details/100080251
