返回列表 發帖
回復 149# SuiYan


    哦,不需要做其他设置吗?

TOP

回復 149# SuiYan

谢谢SuiYan大哥指点,现在可以拨打外线了,但是无法添加Incoming Calling Rules指定分机接听来电,输入好后点击Update没有反应,请问是需要设置其他地方吗?

20140105225756.jpg

TOP

在editor, 修改extension-dongle.conf 檔.
改電話號碼和kwong call號碼.
加入底下2行. 就能把指定號碼, 轉到內線


extension-dongle.jpg

TOP

或改成

include=dongle-incoming-sms
include=dongle-incoming-ussd
exten=+861234567890,1,Answer()
exten=+861234567890,2,Goto(default,6001,1)
exten=+861234567890,n,Hangup()

+861234567890 = 你的號碼
6001 = 內線號碼

TOP

本帖最後由 fysy 於 2014-1-7 13:04 編輯

回復 154# SuiYan

SuiYan大哥,按照这两种方法修改了都是无法接到来电。

TOP

回復 155# fysy


    請download 新版,我改了default dongle incoming to ext 1001

TOP

2014年1月6日更新

Update Softether VPN to 4.03

TOP

好的,谢谢CK大哥。

TOP

本帖最後由 fysy 於 2014-1-7 12:25 編輯

回復 157# ckleea

CK大哥,使用Image 2014/01/06 新年版还是无法接到电话,而且现在外线听不到声音,检测不到挂机,只要拨打一次就再也打不通了。上一个版本只是接不到电话。


[2014-01-07 12:18:53] WARNING[6417][C-00000020]: channel.c:180 channel_request: [dongle0] Request to call on device which can not make call at this moment
[2014-01-07 12:18:53] WARNING[6417][C-00000020]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'Dongle' (cause 44 - Requested channel not available)

TOP

回復 159# fysy


你需要改兩個 files - dongle.conf & dongle_extensions.conf
將 +85291234567 改為你的SIM 電話號碼
然後係GUI 改動 dialing prefix

可以的話,在 asterisk command line 看打出打入的動作。

TOP

本帖最後由 SuiYan 於 2014-1-7 17:14 編輯

我發現, raspberrypi插上usb modem (hwuwei e180)後, 數小時後, raspberrypi個lan會disable.
變成對內對外都斷接, 要用raspberrypi上的keyboard才可操控他reboot來回復.

如果沒接上e180, 數天也是正常運作

TOP

本帖最後由 fysy 於 2014-1-7 17:43 編輯

回復 160# ckleea


   这个我安装好系统镜像就修改好了,但是拨外线没有声音,也还是打不进来。开机后只能拨打外线一次,挂机后就只能再次重启才能拨通了。

TOP

回復 162# fysy


    這會是你的問題是 (手指),請打開 log files 看清楚原因。

TOP

回復 163# ckleea


  昨天使用那个平安夜发布的系统镜像只是无法把打进来的外线转接到分机,全新安装昨天更新的系统镜像修改好dongle.conf和dongle_extensions.conf文件,打进来的电话还是接不到,出现的新问题是,只能拨打一次电话,不管外线或是内线,挂机就再也拨不通了,只能Reboot才会恢复,但还是只能拨打一次,还有就是打电话对方听不到声音,可惜下载新版本的系统后把之前的给删除了。

TOP

[2014-01-07 19:20:06] WARNING[7932][C-0000001e] app_system.c: Unable to execute 'dahdi_scan > /etc/asterisk/dahdi_scan.conf'
[2014-01-07 19:20:45] ERROR[8038] config_options.c: Attempting to process uninitialized aco_info
[2014-01-07 19:20:45] WARNING[8038] named_acl.c: Could not reload ACL config
[2014-01-07 19:20:45] Asterisk SVN-branch-11-r403917 built by root @ raspberrypi on a armv6l running Linux on 2013-12-17 04:53:36 UTC
[2014-01-07 19:20:45] WARNING[8038] features.c: Could not load features.conf
[2014-01-07 19:20:45] ERROR[8038] config_options.c: Unable to load config file 'udptl.conf'
[2014-01-07 19:20:45] WARNING[8038] indications.c: Can't find indications config file indications.conf.
[2014-01-07 19:20:45] WARNING[8038] app_minivm.c: Failed to load configuration file. Module activated with default settings.
[2014-01-07 19:20:45] NOTICE[8038] app_queue.c: queuerules.conf has not changed since it was last loaded. Not taking any action.
[2014-01-07 19:20:45] WARNING[8038] cdr_adaptive_odbc.c: Unable to load cdr_adaptive_odbc.conf.  No adaptive ODBC CDRs.
[2014-01-07 19:20:45] ERROR[8038] cdr_custom.c: Unable to load cdr_custom.conf. Not logging custom CSV CDRs.
[2014-01-07 19:20:45] ERROR[8038] cel_custom.c: Unable to load cel_custom.conf. Not logging CEL to custom CSVs.
[2014-01-07 19:20:45] WARNING[8038] cel_odbc.c: Unable to load cel_odbc.conf.  No ODBC CEL records!
[2014-01-07 19:20:45] NOTICE[3870] chan_dongle.c: [dongle0] stopping by restart request
[2014-01-07 19:20:45] WARNING[3402] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[2014-01-07 19:20:45] WARNING[3402] chan_sip.c: Invalid tos_audio value at line 61, refer to QoS documentation
[2014-01-07 19:20:45] WARNING[3402] chan_sip.c: Invalid tos_sip value at line 62, refer to QoS documentation
[2014-01-07 19:20:45] WARNING[3402] chan_sip.c: Invalid tos_video value at line 63, refer to QoS documentation
[2014-01-07 19:20:45] WARNING[3402] chan_sip.c: To disallow external domains, you need to configure local SIP domains.
[2014-01-07 19:20:45] WARNING[3402] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[2014-01-07 19:20:45] WARNING[3402] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[2014-01-07 19:20:46] WARNING[8038] pbx_config.c: ==!!== Unknown directive: xten at line 144 of extensions.conf -- IGNORING!!!
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 1 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 2 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 3 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 4 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 5 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 6 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 7 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 8 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 9 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 10 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 11 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 12 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 13 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 14 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 15 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 16 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 's' priority 17 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 'h' priority 1 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 'h' priority 2 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Unable to register extension 'h' priority 3 in 'inboundfax', already in use
[2014-01-07 19:20:46] WARNING[8038] pbx.c: Context 'DLPN_DialPlan1' tries to include nonexistent context 'parkedcalls'
[2014-01-07 19:20:47] ERROR[8038] res_config_ldap.c: Cannot load configuration file: res_ldap.conf
[2014-01-07 19:20:47] NOTICE[8038] res_config_ldap.c: Cannot reload LDAP RealTime driver.
[2014-01-07 19:20:47] ERROR[8038] res_config_sqlite3.c: Missing config file 'res_config_sqlite3.conf'
[2014-01-07 19:20:47] ERROR[8038] res_phoneprov.c: Unable to load config phoneprov.conf
[2014-01-07 19:23:39] ERROR[8255] config_options.c: Attempting to process uninitialized aco_info
[2014-01-07 19:23:39] WARNING[8255] named_acl.c: Could not reload ACL config
[2014-01-07 19:23:39] Asterisk SVN-branch-11-r403917 built by root @ raspberrypi on a armv6l running Linux on 2013-12-17 04:53:36 UTC
[2014-01-07 19:23:39] WARNING[8255] features.c: Could not load features.conf
[2014-01-07 19:23:39] ERROR[8255] config_options.c: Unable to load config file 'udptl.conf'
[2014-01-07 19:23:39] WARNING[8255] indications.c: Can't find indications config file indications.conf.
[2014-01-07 19:23:39] WARNING[8255] app_minivm.c: Failed to load configuration file. Module activated with default settings.
[2014-01-07 19:23:39] NOTICE[8255] app_queue.c: queuerules.conf has not changed since it was last loaded. Not taking any action.
[2014-01-07 19:23:39] WARNING[8255] cdr_adaptive_odbc.c: Unable to load cdr_adaptive_odbc.conf.  No adaptive ODBC CDRs.
[2014-01-07 19:23:39] ERROR[8255] cdr_custom.c: Unable to load cdr_custom.conf. Not logging custom CSV CDRs.
[2014-01-07 19:23:39] ERROR[8255] cel_custom.c: Unable to load cel_custom.conf. Not logging CEL to custom CSVs.
[2014-01-07 19:23:39] WARNING[8255] cel_odbc.c: Unable to load cel_odbc.conf.  No ODBC CEL records!
[2014-01-07 19:23:40] WARNING[3402] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[2014-01-07 19:23:40] WARNING[3402] chan_sip.c: Invalid tos_audio value at line 61, refer to QoS documentation
[2014-01-07 19:23:40] WARNING[3402] chan_sip.c: Invalid tos_sip value at line 62, refer to QoS documentation
[2014-01-07 19:23:40] WARNING[3402] chan_sip.c: Invalid tos_video value at line 63, refer to QoS documentation
[2014-01-07 19:23:40] WARNING[3402] chan_sip.c: To disallow external domains, you need to configure local SIP domains.
[2014-01-07 19:23:40] WARNING[3402] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[2014-01-07 19:23:40] WARNING[3402] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[2014-01-07 19:23:40] WARNING[8255] pbx_config.c: ==!!== Unknown directive: xten at line 144 of extensions.conf -- IGNORING!!!
[2014-01-07 19:23:40] WARNING[8255] pbx.c: Unable to register extension 's' priority 1 in 'inboundfax', already in use
[2014-01-07 19:23:40] WARNING[8255] pbx.c: Unable to register extension 's' priority 2 in 'inboundfax', already in use
[2014-01-07 19:23:40] WARNING[8255] pbx.c: Unable to register extension 's' priority 3 in 'inboundfax', already in use
[2014-01-07 19:23:40] WARNING[8255] pbx.c: Unable to register extension 's' priority 4 in 'inboundfax', already in use
[2014-01-07 19:23:40] WARNING[8255] pbx.c: Unable to register extension 's' priority 5 in 'inboundfax', already in use
[2014-01-07 19:23:40] WARNING[8255] pbx.c: Unable to register extension 's' priority 6 in 'inboundfax', already in use
[2014-01-07 19:23:40] WARNING[8255] pbx.c: Unable to register extension 's' priority 7 in 'inboundfax', already in use
[2014-01-07 19:23:40] WARNING[8255] pbx.c: Unable to register extension 's' priority 8 in 'inboundfax', already in use

TOP

返回列表