Настройка chan_dongle
Добавлено: 29 сен 2013, 19:32
Решил подружить хуавей 1550 с астером. Установил chan_dongle, он подключился, увидел свисток, при попытке принять звонок или совершить донгл отключается. Через 15 секунд (согласно настроек в dongle.conf) он поднимается. Выхлоп:
Контекст простейший тестовый: answer, playback, hangup. Если кто сталкивался с подобным - ткните меня носом, плиз...
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
-- Executing [79651759140@incoming:1] Answer("Dongle/dongle0-0100000008", "") in new stack
-- Executing [79651759140@incoming:2] Playback("Dongle/dongle0-0100000008", "hello-world") in new stack
-- <Dongle/dongle0-0100000008> Playing 'hello-world.slin' (language 'en')
-- Executing [79651759140@incoming:3] Hangup("Dongle/dongle0-0100000008", "") in new stack
== Spawn extension (incoming, 79651759140, 3) exited non-zero on 'Dongle/dongle0-0100000008'
[Sep 29 19:22:58] ERROR[2597]: chan_dongle.c:411 do_monitor_phone: [dongle0] Lost connection to Dongle
-- [dongle0] Dongle has disconnected
-- [dongle0] Trying to connect on /dev/ttyUSB2...
[Sep 29 19:23:00] WARNING[10197]: chan_dongle.c:215 opentty: unable to open /dev/ttyUSB2: No such device
-- [dongle0] Trying to connect on /dev/ttyUSB2...
-- [dongle0] Dongle has connected, initializing...
-- [dongle0] Dongle initialized and ready
-- Executing [79651759140@incoming:2] Playback("Dongle/dongle0-0100000008", "hello-world") in new stack
-- <Dongle/dongle0-0100000008> Playing 'hello-world.slin' (language 'en')
-- Executing [79651759140@incoming:3] Hangup("Dongle/dongle0-0100000008", "") in new stack
== Spawn extension (incoming, 79651759140, 3) exited non-zero on 'Dongle/dongle0-0100000008'
[Sep 29 19:22:58] ERROR[2597]: chan_dongle.c:411 do_monitor_phone: [dongle0] Lost connection to Dongle
-- [dongle0] Dongle has disconnected
-- [dongle0] Trying to connect on /dev/ttyUSB2...
[Sep 29 19:23:00] WARNING[10197]: chan_dongle.c:215 opentty: unable to open /dev/ttyUSB2: No such device
-- [dongle0] Trying to connect on /dev/ttyUSB2...
-- [dongle0] Dongle has connected, initializing...
-- [dongle0] Dongle initialized and ready