Страница 1 из 1

Обрыв исходящего вызова через 5-8сек. через GSM модем.

Добавлено: 08 июл 2019, 11:40
Legat_2000
Добрый день.
Есть FreePBX 14.0.13 (Asterisk 16.3.0)
dongle (https://github.com/wdoekes/asterisk-chan-dongle.git собран ./configure --with-astversion=16.3.0)
и собственно 3G модем Huawei E3131.
Собственно проблема в одном, при исходящих звонках вызов (не разговор) обрывается/завершается через 5-8секунд.
В настройках FreePBX (Call Forward Ringtimer Default - "-1")
Сталкивался ли кто то с подобной проблемой и как увеличить длительность вызова?
Буду признателен за любую дельную помощь, спасибо.
П.С.
[2019-07-08 11:37:00] ERROR[28549]: chan_dongle.c:445 do_monitor_phone: [gsm-01] timedout while waiting 'OK' in response to 'AT'
-- [gsm-01] Dongle has disconnected
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:41] NoOp("SIP/5100-00000009", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0") in new stack
-- Executing [s@macro-dialout-trunk:42] GotoIf("SIP/5100-00000009", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/5100-00000009", "RC=0") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/5100-00000009", "0,1") in new stack
-- Goto (macro-dialout-trunk,0,1)
-- Executing [0@macro-dialout-trunk:1] Goto("SIP/5100-00000009", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/5100-00000009", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/5100-00000009", "1?Set(CALLERID(number)=5100)") in new stack
-- Executing [050xxxxxxx@from-internal:8] Macro("SIP/5100-00000009", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/5100-00000009", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/5100-00000009", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/5100-00000009", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/5100-00000009", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
-- <SIP/5100-00000009> Playing 'all-circuits-busy-now.ulaw' (language 'ru')
-- <SIP/5100-00000009> Playing 'please-try-call-later.ulaw' (language 'ru')
-- Executing [h@from-internal:1] Macro("SIP/5100-00000009", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/5100-00000009", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/5100-00000009", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("SIP/5100-00000009", " montior file= /var/spool/asterisk/monitor/2019/07/08/out-050xxxxxxx-5100-20190708-113647-1562575007.17.wav") in new stack
-- Executing [s@macro-hangupcall:5] GotoIf("SIP/5100-00000009", "1?skipagi") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] Hangup("SIP/5100-00000009", "") in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'SIP/5100-00000009' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/5100-00000009'
-- SIP/5100-00000009 Internal Gosub(crm-hangup,s,1) start
-- Executing [s@crm-hangup:1] NoOp("SIP/5100-00000009", "Sending Hangup to CRM") in new stack
-- Executing [s@crm-hangup:2] NoOp("SIP/5100-00000009", "HANGUP CAUSE: 16") in new stack
-- Executing [s@crm-hangup:3] ExecIf("SIP/5100-00000009", "0?Set(__CRM_VOICEMAIL=)") in new stack
-- Executing [s@crm-hangup:4] NoOp("SIP/5100-00000009", "MASTER CHANNEL: 1562575007.17 = 1562575007.17") in new stack
-- Executing [s@crm-hangup:5] GotoIf("SIP/5100-00000009", "0?return") in new stack
-- Executing [s@crm-hangup:6] Set("SIP/5100-00000009", "__CRM_HANGUP=1") in new stack
-- Executing [s@crm-hangup:7] AGI("SIP/5100-00000009", "sangomacrm.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
-- <SIP/5100-00000009>AGI Script sangomacrm.agi completed, returning 0
-- Executing [s@crm-hangup:8] Return("SIP/5100-00000009", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/5100-00000009'
-- SIP/5100-00000009 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
== MixMonitor close filestream (mixed)
== End MixMonitor Recording SIP/5100-00000009
-- [gsm-01] Trying to connect on /dev/ttyUSB2...
[2019-07-08 11:37:14] ERROR[18608]: chan_dongle.c:137 lock_create: open('/var/lock/LCK..ttyUSB2') failed: Permission denied
[2019-07-08 11:37:14] ERROR[18608]: chan_dongle.c:137 lock_create: open('/var/lock/LCK..ttyUSB1') failed: Permission denied
-- [gsm-01] Dongle has connected, initializing...
-- [gsm-01] Dongle initialized and ready

Re: Обрыв исходящего вызова через 5-8сек. через GSM модем.

Добавлено: 08 июл 2019, 11:45
Vlad1983

Код: Выделить всё

[2019-07-08 11:37:14] ERROR[18608]: chan_dongle.c:137 lock_create: open('/var/lock/LCK..ttyUSB2') failed: Permission denied
[2019-07-08 11:37:14] ERROR[18608]: chan_dongle.c:137 lock_create: open('/var/lock/LCK..ttyUSB1') failed: Permission denied
что здесь непонятного?

Re: Обрыв исходящего вызова через 5-8сек. через GSM модем.

Добавлено: 08 июл 2019, 22:03
Legat_2000
Спасибо,
непонятного, почему в таком случае при поднятии трубки разговор не прерывается.
При входящих звонках вообще проблем нет.
П.С. разрешения на /var/lock/LCK..ttyUSB2 выданы (777)

Re: Обрыв исходящего вызова через 5-8сек. через GSM модем.

Добавлено: 09 июл 2019, 07:08
Vlad1983
-- [gsm-01] Dongle has disconnected
возможно не хватает питания на порту (должно выдавать не менее 500mA)
может в прошивке что-то
еще тысяча причин...

поищите точно совместимую модель и прошейте до нужной версии
актуально на 2013 год)

Код: Выделить всё

E173	11.126.85.00.209
E1550	11.609.20.01.715
E1750	11.126.13.00.00
E171 11.126.85.01.143