怎么查看freeswitch版本

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了怎么查看freeswitch版本相关的知识,希望对你有一定的参考价值。

进入FreeSwitch,命令version

参考技术A git tag 是查看freeswitch的版本 ;
git clone ..是现在git仓库;git checkout v.. 是切换到指定的v.. 版本 ;git archive 是将v..版本导出到上一级目录中,导出文件是name.tar ; git pull是更新git仓库本回答被提问者采纳

FreeSwitch那些坑之CallCenter

安装环境:CenterOS 7.8

FreeSwitch版本:1.10.12

编译安装完后,打开了CallCenter模块,无论怎么样队列中的话机都不响。。。

显示队列中有可用座席,就是不转。

这是默认示例:

  <agents>
    <!--<agent name="1000@default" type="callback" contact="[leg_timeout=10]user/1000@default" status="Available" max-no-answer="3" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" />-->
  </agents>
  <tiers>
    <!-- If no level or position is provided, they will default to 1.  You should do this to keep db value on restart. -->
    <!-- <tier agent="1000@default" queue="support@default" level="1" position="1"/> -->
  </tiers>

错误提示:

You must define a domain called in your directory and add a user with the id="" attributeand you  must configure your device to use the proper domain in its authentication credentials.

2020-06-02 18:35:27.566659 [DEBUG] sofia.c:10349 verifying acl "domains" for ip/port 192.168.0.7:0.
2020-06-02 18:35:27.566659 [DEBUG] switch_core_state_machine.c:604 (sofia/internal/18612345678@192.168.0.86:5060) State NEW
2020-06-02 18:35:27.566659 [DEBUG] sofia.c:2434 detaching session 743ea424-7ba3-4150-8e9f-96a20d7151c9
2020-06-02 18:35:27.607167 [DEBUG] sofia.c:2544 Re-attaching to session 743ea424-7ba3-4150-8e9f-96a20d7151c9
2020-06-02 18:35:27.607167 [DEBUG] sofia.c:10255 sofia/internal/18612345678@192.168.0.86:5060 receiving invite from 192.168.0.7:5060 version: 1.10.2 -release 64bit
2020-06-02 18:35:27.607167 [DEBUG] sofia.c:10349 verifying acl "domains" for ip/port 192.168.0.7:0.
2020-06-02 18:35:27.607167 [WARNING] sofia_reg.c:2929 Can‘t find user [@192.168.0.86] from 192.168.0.7
You must define a domain called ‘192.168.0.86‘ in your directory and add a user with the id="" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2020-06-02 18:35:27.607167 [NOTICE] sofia.c:2432 Hangup sofia/internal/18612345678@192.168.0.86:5060 [CS_NEW] [CALL_REJECTED]
2020-06-02 18:35:27.626754 [DEBUG] sofia.c:1548 Channel is already hungup.

根据错误提示,更改配置文件为如下:

  <agents>
    <agent name="1000@$${domain}" type="callback" contact="[leg_timeout=10]user/1000@$${domain}" status="Available" max-no-answer="300" wrap-up-time="10" reject-delay-time="10" busy-delay-time="6" />
    <agent name="1000@$${domain}" type="callback" contact="[leg_timeout=10]user/1000@$${domain}" status="Available" max-no-answer="300" wrap-up-time="10" reject-delay-time="10" busy-delay-time="6" />
    <agent name="1001@$${domain}" type="callback" contact="[leg_timeout=10]user/1001@$${domain}" status="Available" max-no-answer="300" wrap-up-time="10" reject-delay-time="10" busy-delay-time="6" />
    <agent name="1002@$${domain}" type="callback" contact="[leg_timeout=10]user/1002@$${domain}" status="Available" max-no-answer="300" wrap-up-time="10" reject-delay-time="10" busy-delay-time="6" />
    <agent name="1003@$${domain}" type="callback" contact="[leg_timeout=10]user/1003@$${domain}" status="Available" max-no-answer="300" wrap-up-time="10" reject-delay-time="10" busy-delay-time="6" />
    <agent name="1004@$${domain}" type="callback" contact="[leg_timeout=10]user/1004@$${domain}" status="Available" max-no-answer="300" wrap-up-time="10" reject-delay-time="10" busy-delay-time="6" />
  </agents>
  <tiers>
    <!-- If no level or position is provided, they will $${domain} to 1.  You should do this to keep db value on restart. -->
    <tier agent="1000@$${domain}" queue="support@default" level="1" position="1"/>
    <tier agent="1001@$${domain}" queue="support@default" level="1" position="1"/>
    <tier agent="1002@$${domain}" queue="support@default" level="1" position="1"/>
    <tier agent="1003@$${domain}" queue="support@default" level="1" position="1"/>
    <tier agent="1004@$${domain}" queue="support@default" level="1" position="1"/>
  </tiers>

这个时候,只要有1000-1004里面的分机注册进来,就能够正常振铃了。

以上是关于怎么查看freeswitch版本的主要内容,如果未能解决你的问题,请参考以下文章

freeswitch怎么实现呼叫转移

linphone怎么注册到freeswitch服务器上

freeswitch中挂断时间怎么获取

freeswitch登录账号和密码

FreeSwitch那些坑之CallCenter

FreeSWITCH--常用指令