未创建freeswitch网关

问题描述 投票:1回答:1

除了在处理命令后不可见网关的事实之外,在同一文件夹中具有现有网关设置的文件也不可见。

$ nano /etc/freeswitch/sip_profiles/external/domru.xml

<include>
        <gateway name="domru_2252800">
                <param name="username" value="70000000000"/>
                <param name="password" value="PASSWORD"/>
                <param name="realm" value="voip.domru.ru"/>
                <param name="from-user" value="70000000000"/>
                <param name="from-domain" value="voip.domru.ru"/>
                <param name="proxy" value="voip.domru.ru:5060"/>
                <param name="expire-seconds" value="800"/>
                <param name="register" value="true"/>
                <param name="register-transport" value="udp"/>
                <param name="retry-seconds" value="60"/>
                <param name="context" value="public"/>
                <param name="caller-id-in-from" value="false"/>
        </gateway>
</include>

保存

$ fs_cli
freeswitch@fusionpbx> sofia profile external rescan reloadxml
freeswitch@fusionpbx> sofia status
                     Name          Type                                       Data      State
=================================================================================================
            external-ipv6       profile                   sip:mod_sofia@[::1]:5080      RUNNING (0)
                 external       profile             sip:[email protected]:5080      RUNNING (0)
external::593c9adc-85e8-4245-a223-11f344945d57  gateway                        sip:[email protected]      REGED
external::9561bdbb-60e9-4eb5-8d62-5399e48d6850  gateway                        sip:[email protected]      REGED
external::9cd3fb9e-a4a7-40b0-b419-bfb8141ab758  gateway                        sip:[email protected]      REGED
external::e3f98f4c-1270-4820-b786-77dbcb5255d7  gateway                        sip:[email protected]      REGED
external::e108b58a-d018-4c26-be2f-b1d9f4628f35  gateway                        sip:[email protected]      REGED
external::3338e692-7ea3-4845-ad43-476663eb2ef8  gateway                        sip:[email protected]      REGED
external::69a12109-a2b5-4a19-915f-46d779d9f633  gateway                        sip:[email protected]      REGED
external::f5a0fb27-c4e2-44a2-88d7-ba66e278e4da  gateway                        sip:[email protected]      REGED
external::29a522d2-ed65-463f-8b5e-67497e31131f  gateway                        sip:[email protected]      REGED
external::3600d3ce-b5d3-47ad-9ef6-527f94b70cce  gateway                        sip:[email protected]      REGED
            internal-ipv6       profile                   sip:mod_sofia@[::1]:5060      RUNNING (0)
                 internal       profile             sip:[email protected]:5060      RUNNING (0)
=================================================================================================
4 profiles 0 aliases

如何以及在何处正确设置添加网关的设置?

debian voip freeswitch
1个回答
0
投票

使用fusionpbx时,设置存储在数据库中。要配置集团电话,您只需要使用GUI。

© www.soinside.com 2019 - 2024. All rights reserved.