Задать вопрос
@ArcheRAWG

Почему перестал работать программный запуск звонка?

Есть 1с. Из неё можно позвонить, работает следующим образом:
Оператор нажимает кнопку позвонить в 1с в карточке клиента
Телефон оператора начинает звонить
Оператор поднимает трубку
Начинается вызов клиента

До недавнего времени всё работало прекрасно. Сейчас после того как оператор поднял трубку - в трубке тишина.
Если же номер клиента набрать руками на телефоне - всё ок. Звонок проходит.

Лог звонка оператора из 1с

== Using SIP RTP CoS mark 5
    -- Called 472
    -- SIP/472-0000005b is ringing
       > 0x7fa310007110 -- Strict RTP learning after remote address set to: 192.168.0.73:10078
    -- SIP/472-0000005b answered
    -- Executing [telklienta@call-out-gorod:1] NoOp("SIP/472-0000005b", "====1============ Out Call gorod From 472 To:  telklienta") in new stack
    -- Executing [telklienta@call-out-gorod:2] Macro("SIP/472-0000005b", "outlog,telklienta") in new stack
    -- Executing [s@macro-outlog:1] MYSQL("SIP/472-0000005b", "Connect connid localhost root password asterisk utf8") in new stack
    -- Executing [s@macro-outlog:2] MYSQL("SIP/472-0000005b", "Query resultid 1 INSERT INTO asterisk.out_calls ( src,dst,date ) VALUES ( 472,telklienta,NOW() )") in new stack
    -- Executing [s@macro-outlog:3] MYSQL("SIP/472-0000005b", "Disconnect 1") in new stack
    -- Executing [telklienta@call-out-gorod:3] Macro("SIP/472-0000005b", "recording,s,1,(472,telklienta)") in new stack
    -- Executing [s@macro-recording:1] GotoIf("SIP/472-0000005b", "1?yes:no") in new stack
    -- Goto (macro-recording,s,2)
    -- Executing [s@macro-recording:2] Set("SIP/472-0000005b", "fname=1721814058.147-2024-07-24-16_41-s-1") in new stack
    -- Executing [s@macro-recording:3] Set("SIP/472-0000005b", "monopt=nice -n 19 /usr/bin/lame -b 32  --silent "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.wav"  "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.mp3" && rm -f "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.wav" && chmod o+r "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.mp3"") in new stack
    -- Executing [s@macro-recording:4] Set("SIP/472-0000005b", "CDR(filename)=1721814058.147-2024-07-24-16_41-s-1.mp3") in new stack
    -- Executing [s@macro-recording:5] Set("SIP/472-0000005b", "CDR(realdst)=1") in new stack
    -- Executing [s@macro-recording:6] MixMonitor("SIP/472-0000005b", "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.wav,b,nice -n 19 /usr/bin/lame -b 32  --silent "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.wav"  "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.mp3" && rm -f "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.wav" && chmod o+r "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.mp3"") in new stack
  == Begin MixMonitor Recording SIP/472-0000005b
    -- Executing [s@macro-recording:7] Verbose("SIP/472-0000005b", "Exit record") in new stack
Exit record
    -- Executing [telklienta@call-out-gorod:4] Dial("SIP/472-0000005b", "SIP/telklienta@tutsip") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/telklienta@tutsip
       > 0x7fa310007110 -- Strict RTP switching to RTP target address 192.168.0.73:10078 as source
       > 0x7fa310007110 -- Strict RTP learning complete - Locking on source address 192.168.0.73:10078
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'SIP/472-0000005b' status is 'CHANUNAVAIL'
  == MixMonitor close filestream (mixed)
  == Executing [nice -n 19 /usr/bin/lame -b 32  --silent "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.wav"  "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.mp3" && rm -f "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.wav" && chmod o+r "/mnt/calls/1721814058.147-2024-07-24-16_41-s-1.mp3"]
  == End MixMonitor Recording SIP/472-0000005b


Лог звонка при наборе с телефона

Using SIP RTP CoS mark 5
       > 0x7fa20009e480 -- Strict RTP learning after remote address set to: 192.168.0.73:10080
    -- Executing [telklienta@call-out-gorod:1] NoOp("SIP/472-0000005d", "====1============ Out Call gorod From 472 To: telklienta") in new stack
    -- Executing [telklienta@call-out-gorod:2] Macro("SIP/472-0000005d", "outlog,telklienta") in new stack
    -- Executing [s@macro-outlog:1] MYSQL("SIP/472-0000005d", "Connect connid localhost root password asterisk utf8") in new stack
    -- Executing [s@macro-outlog:2] MYSQL("SIP/472-0000005d", "Query resultid 1 INSERT INTO asterisk.out_calls ( src,dst,date ) VALUES ( 472,telklienta,NOW() )") in new stack
    -- Executing [s@macro-outlog:3] MYSQL("SIP/472-0000005d", "Disconnect 1") in new stack
    -- Executing [telklienta@call-out-gorod:3] Macro("SIP/472-0000005d", "recording,s,1,(472,telklienta)") in new stack
    -- Executing [s@macro-recording:1] GotoIf("SIP/472-0000005d", "1?yes:no") in new stack
    -- Goto (macro-recording,s,2)
    -- Executing [s@macro-recording:2] Set("SIP/472-0000005d", "fname=1721814381.150-2024-07-24-16_46-s-1") in new stack
    -- Executing [s@macro-recording:3] Set("SIP/472-0000005d", "monopt=nice -n 19 /usr/bin/lame -b 32  --silent "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.wav"  "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.mp3" && rm -f "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.wav" && chmod o+r "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.mp3"") in new stack
    -- Executing [s@macro-recording:4] Set("SIP/472-0000005d", "CDR(filename)=1721814381.150-2024-07-24-16_46-s-1.mp3") in new stack
    -- Executing [s@macro-recording:5] Set("SIP/472-0000005d", "CDR(realdst)=1") in new stack
    -- Executing [s@macro-recording:6] MixMonitor("SIP/472-0000005d", "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.wav,b,nice -n 19 /usr/bin/lame -b 32  --silent "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.wav"  "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.mp3" && rm -f "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.wav" && chmod o+r "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.mp3"") in new stack
    -- Executing [s@macro-recording:7] Verbose("SIP/472-0000005d", "Exit record") in new stack
  == Begin MixMonitor Recording SIP/472-0000005d
Exit record
    -- Executing [telklienta@call-out-gorod:4] Dial("SIP/472-0000005d", "SIP/telklienta@tutsip") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/telklienta@tutsip
       > 0x7fa310011380 -- Strict RTP learning after remote address set to: 37.139.38.233:51744
    -- SIP/tutsip-0000005e is making progress passing it to SIP/472-0000005d
       > 0x7fa20009e480 -- Strict RTP switching to RTP target address 192.168.0.73:10080 as source
       > 0x7fa20009e480 -- Strict RTP learning complete - Locking on source address 192.168.0.73:10080
       > 0x7fa310011380 -- Strict RTP switching to RTP target address 37.139.38.233:51744 as source
       > 0x7fa310011380 -- Strict RTP learning complete - Locking on source address 37.139.38.233:51744
    -- SIP/tutsip-0000005e is ringing
    -- SIP/tutsip-0000005e answered SIP/472-0000005d
    -- Channel SIP/tutsip-0000005e joined 'simple_bridge' basic-bridge <87146241-e7e8-44a8-9148-074c74a96452>
    -- Channel SIP/472-0000005d joined 'simple_bridge' basic-bridge <87146241-e7e8-44a8-9148-074c74a96452>
    -- Channel SIP/472-0000005d left 'simple_bridge' basic-bridge <87146241-e7e8-44a8-9148-074c74a96452>
  == Spawn extension (call-out-gorod, telklienta, 4) exited non-zero on 'SIP/472-0000005d'
    -- Channel SIP/tutsip-0000005e left 'simple_bridge' basic-bridge <87146241-e7e8-44a8-9148-074c74a96452>
  == MixMonitor close filestream (mixed)
  == Executing [nice -n 19 /usr/bin/lame -b 32  --silent "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.wav"  "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.mp3" && rm -f "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.wav" && chmod o+r "/mnt/calls/1721814381.150-2024-07-24-16_46-s-1.mp3"]
  == End MixMonitor Recording SIP/472-0000005d


Похоже на то что астериск не может соединиться с провайдером... Но настройки не менялись, никакие манипуляции не проводились ни с роутером ни с чем либо ещё.
  • Вопрос задан
  • 82 просмотра
Подписаться 3 Средний 5 комментариев
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы