1 | изначальная версия редактировать | |
Донабор номера не работает
dongle.conf
[general]
interval=15
[defaults]
language=ru
dtmf=relax
context=from-gsm
[dongle0]
audio=/dev/ttyUSB1
data=/dev/ttyUSB2
group=6
resetdatacard=yes
u2diag=256
usecallingpres=yes
callingpres=allowed_passed_screen
imei=xxxxxxxxxxxxxxx
imsi=xxxxxxxxxxxxxxx
extensions.conf
[from-gsm]
exten => s,1,Answer()
exten => s,n,Wait(10)
exten => _101,1,Dial(DAHDI/1,tTw)
exten => _101,2,Hangup()
exten => s, n, Hangup()
При донаборе номера звонок не попадает в exten => _101,1,Dial(DAHDI/1,tTw)
Вот что в логах:
-- Executing [s@from-gsm:1] Answer("Dongle/dongle0-0100000001", "") in new stack
-- Executing [s@from-gsm:2] Wait("Dongle/dongle0-0100000001", "10") in new stack
[Nov 21 23:12:30] DTMF[6674]: channel.c:4063 __ast_read: DTMF begin '1' received on Dongle/dongle0-0100000001
[Nov 21 23:12:30] DTMF[6674]: channel.c:4073 __ast_read: DTMF begin passthrough '1' on Dongle/dongle0-0100000001
[Nov 21 23:12:31] DTMF[6674]: channel.c:4063 __ast_read: DTMF begin '0' received on Dongle/dongle0-0100000001
[Nov 21 23:12:31] DTMF[6674]: channel.c:4073 __ast_read: DTMF begin passthrough '0' on Dongle/dongle0-0100000001
[Nov 21 23:12:33] DTMF[6674]: channel.c:4063 __ast_read: DTMF begin '1' received on Dongle/dongle0-0100000001
[Nov 21 23:12:33] DTMF[6674]: channel.c:4073 __ast_read: DTMF begin passthrough '1' on Dongle/dongle0-0100000001
-- Executing [s@from-gsm-zip:3] Hangup("Dongle/dongle0-0100000001", "") in new stack
== Spawn extension (from-gsm, s, 3) exited non-zero on 'Dongle/dongle0-0100000001'
Куда копать?
2 | No.2 Revision редактировать |
Донабор номера не работает
dongle.conf
[general]
interval=15
[defaults]
language=ru
dtmf=relax
context=from-gsm
[dongle0]
audio=/dev/ttyUSB1
data=/dev/ttyUSB2
group=6
resetdatacard=yes
u2diag=256
usecallingpres=yes
callingpres=allowed_passed_screen
imei=xxxxxxxxxxxxxxx
imsi=xxxxxxxxxxxxxxx
extensions.conf
[from-gsm]
exten => s,1,Answer()
exten => s,n,Wait(10)
exten => _101,1,Dial(DAHDI/1,tTw)
exten => _101,2,Hangup()
exten => s, n, Hangup()
При донаборе номера звонок не попадает в exten => _101,1,Dial(DAHDI/1,tTw)
Вот что в логах:
-- Executing [s@from-gsm:1] Answer("Dongle/dongle0-0100000001", "") in new stack
-- Executing [s@from-gsm:2] Wait("Dongle/dongle0-0100000001", "10") in new stack
[Nov 21 23:12:30] DTMF[6674]: channel.c:4063 __ast_read: DTMF begin '1' received on Dongle/dongle0-0100000001
[Nov 21 23:12:30] DTMF[6674]: channel.c:4073 __ast_read: DTMF begin passthrough '1' on Dongle/dongle0-0100000001
[Nov 21 23:12:31] DTMF[6674]: channel.c:4063 __ast_read: DTMF begin '0' received on Dongle/dongle0-0100000001
[Nov 21 23:12:31] DTMF[6674]: channel.c:4073 __ast_read: DTMF begin passthrough '0' on Dongle/dongle0-0100000001
[Nov 21 23:12:33] DTMF[6674]: channel.c:4063 __ast_read: DTMF begin '1' received on Dongle/dongle0-0100000001
[Nov 21 23:12:33] DTMF[6674]: channel.c:4073 __ast_read: DTMF begin passthrough '1' on Dongle/dongle0-0100000001
-- Executing [s@from-gsm-zip:3] [s@from-gsm:3] Hangup("Dongle/dongle0-0100000001", "") in new stack
== Spawn extension (from-gsm, s, 3) exited non-zero on 'Dongle/dongle0-0100000001'
Куда копать?
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.