VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Ring group не работает.

Проблемы Asterisk без вэб-оболочек и их решения

Модераторы: april22, Zavr2008

Ответить
kiabrin
Сообщения: 21
Зарегистрирован: 02 окт 2012, 16:19

Ring group не работает.

Сообщение kiabrin »

добрый день! подскажите пожалуйста, как исправить следующее (настраивал через FreePBX)

создал ринггруппу 600 с политикой ringall. при входящем звонке звонит только первый экстеншн из группы. а вот что в логе:

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

[Oct  5 10:46:47] VERBOSE[20859] pbx.c:     -- Executing [600@ext-group:11] Set("SIP/mangosip-0000009e", "RingGroupMethod=hunt") in new stack
[Oct  5 10:46:47] VERBOSE[20859] pbx.c:     -- Executing [600@ext-group:12] Macro("SIP/mangosip-0000009e", "dial,20,tTr,199-110-131-102") in new stack
[Oct  5 10:46:47] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:1] GotoIf("SIP/mangosip-0000009e", "1?dial") in new stack
[Oct  5 10:46:47] VERBOSE[20859] pbx.c:     -- Goto (macro-dial,s,3)
[Oct  5 10:46:47] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:3] AGI("SIP/mangosip-0000009e", "dialparties.agi") in new stack
[Oct  5 10:46:47] VERBOSE[20859] res_agi.c:     -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[Oct  5 10:46:47] VERBOSE[20859] res_agi.c:  dialparties.agi: Starting New Dialparties.agi
[Oct  5 10:46:47] VERBOSE[20859] res_agi.c:  dialparties.agi: Caller ID name is '74957814573' number is '74957814573'
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:  dialparties.agi: Methodology of ring is  'hunt'
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Added extension 199 to extension map
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Added extension 110 to extension map
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Added extension 131 to extension map
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Added extension 102 to extension map
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Extension 199 cf is disabled
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Extension 110 cf is disabled
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Extension 131 cf is disabled
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Extension 102 cf is disabled
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Extension 199 do not disturb is disabled
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Extension 110 do not disturb is disabled
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Extension 131 do not disturb is disabled
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Extension 102 do not disturb is disabled
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- dialparties.agi: Filtered ARG3: 199-110-131-102
[Oct  5 10:46:48] VERBOSE[20859] res_agi.c:     -- <SIP/mangosip-0000009e>AGI Script dialparties.agi completed, returning 0
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:20] NoOp("SIP/mangosip-0000009e", "Returned from dialparties with hunt groups to dial ") in new stack
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:21] Set("SIP/mangosip-0000009e", "HuntLoop=0") in new stack
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:22] GotoIf("SIP/mangosip-0000009e", "1?a30") in new stack
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Goto (macro-dial,s,26)
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:26] Set("SIP/mangosip-0000009e", "HuntMember=HuntMember0") in new stack
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:27] GotoIf("SIP/mangosip-0000009e", "1?a32:a35") in new stack
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Goto (macro-dial,s,28)
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:28] Set("SIP/mangosip-0000009e", "CT_EXTEN=199") in new stack
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:29] Set("SIP/mangosip-0000009e", "DB(CALLTRACE/199)=74957814573") in new stack
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:30] Goto("SIP/mangosip-0000009e", "s,a42") in new stack
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Goto (macro-dial,s,38)
[Oct  5 10:46:48] VERBOSE[20859] pbx.c:     -- Executing [s@macro-dial:38] Dial("SIP/mangosip-0000009e", "SIP/199,,tTr,20,tTrM(auto-blkvm)") in new stack
[Oct  5 10:46:48] VERBOSE[20859] netsock2.c:   == Using SIP RTP TOS bits 184
[Oct  5 10:46:48] VERBOSE[20859] netsock2.c:   == Using SIP RTP CoS mark 5
[Oct  5 10:46:48] VERBOSE[20859] app_dial.c:     -- Called SIP/199
[Oct  5 10:46:48] VERBOSE[20859] app_dial.c:     -- SIP/199-0000009f is ringing
awsswa
Сообщения: 2390
Зарегистрирован: 09 июн 2012, 10:52
Откуда: Россия, Пермь skype: yarick_perm

Re: Ring group не работает.

Сообщение awsswa »

Methodology of ring is 'hunt'

и где ваш ringall ?
платный суппорт по мере возможностей
kiabrin
Сообщения: 21
Зарегистрирован: 02 окт 2012, 16:19

Re: Ring group не работает.

Сообщение kiabrin »

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

    -- Executing [600@ext-group:11] Set("SIP/mangosip-000000b1", "RingGroupMethod=ringall") in new stack
    -- Executing [600@ext-group:12] Macro("SIP/mangosip-000000b1", "dial,20,tTr,199-110-131-102") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/mangosip-000000b1", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/mangosip-000000b1", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
 dialparties.agi: Starting New Dialparties.agi
 dialparties.agi: Caller ID name is '74957814573' number is '74957814573'
 dialparties.agi: Methodology of ring is  'ringall'
    -- dialparties.agi: Added extension 199 to extension map
    -- dialparties.agi: Added extension 110 to extension map
    -- dialparties.agi: Added extension 131 to extension map
    -- dialparties.agi: Added extension 102 to extension map
    -- dialparties.agi: Extension 199 cf is disabled
    -- dialparties.agi: Extension 110 cf is disabled
    -- dialparties.agi: Extension 131 cf is disabled
    -- dialparties.agi: Extension 102 cf is disabled
    -- dialparties.agi: Extension 199 do not disturb is disabled
    -- dialparties.agi: Extension 110 do not disturb is disabled
    -- dialparties.agi: Extension 131 do not disturb is disabled
    -- dialparties.agi: Extension 102 do not disturb is disabled
    -- dialparties.agi: dbset CALLTRACE/199 to 74957814573
    -- dialparties.agi: dbset CALLTRACE/110 to 74957814573
    -- dialparties.agi: dbset CALLTRACE/131 to 74957814573
    -- dialparties.agi: dbset CALLTRACE/102 to 74957814573
    -- dialparties.agi: Filtered ARG3: 199-110-131-102
    -- <SIP/mangosip-000000b1>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("SIP/mangosip-000000b1", "SIP/199,,tTr&SIP/110,,tTr&SIP/131,,tTr&SIP/102,20,tTrM(auto-blkvm)") in new stack
    -- Privacy DB is 's', clid is '74957814573'
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/199
    -- Connected line update to SIP/mangosip-000000b1 prevented.
    -- SIP/199-000000b2 is ringing
это я пробовал менять. эффект тот же.
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Ring group не работает.

Сообщение Vlad1983 »

-- <SIP/mangosip-000000b1>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/mangosip-000000b1", "SIP/199,,tTr&SIP/110,,tTr&SIP/131,,tTr&SIP/102,20,tTrM(auto-blkvm)") in new stack

кривой AGI скрипт dialparties.agi
ЛС: @rostel
kiabrin
Сообщения: 21
Зарегистрирован: 02 окт 2012, 16:19

Re: Ring group не работает.

Сообщение kiabrin »

а что там должно быть вместо выделенного? если несложно... то есть, в чём именно кривизна этой строчки?
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Ring group не работает.

Сообщение Vlad1983 »

-- Executing [s@macro-dial:7] Dial("SIP/mangosip-000000b1", "SIP/199&SIP/110&SIP/131&SIP/102,20,tTrM(auto-blkvm)") in new stack
ЛС: @rostel
ded
Сообщения: 15626
Зарегистрирован: 26 авг 2010, 19:00

Re: Ring group не работает.

Сообщение ded »

В самом простом варианте должно быть
SIP/199&SIP/110&SIP/131&SIP/102,20,tTrM(auto-blkvm
думаю, что проблема в указанных-неуказанных таймерах и параметрах набора у экстеншнов через web интерфейс freePBX - время в течение которого должен идти вызов и все другие опции.
kiabrin
Сообщения: 21
Зарегистрирован: 02 окт 2012, 16:19

Re: Ring group не работает.

Сообщение kiabrin »

спасибо, нашёл.
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH