Доброго времени суток. Прошу помощи в следующей ситуации: 1. Имеется многоканальный номер 8800 2. Звонок поступает в группу RingGroup (звонят все 60сек.) 3. В RingGroup два номера 101 и 102 и оба с Call Waiting=Disable 4. При поступлении первого звонка на 8800, начинают звонить 101 и 102 5. Создаю второй внешний звонок на 8800 и слышу "Абонент временно не доступен...", хотя в логах asterisk -r вижу что второй звонок поступил в Asterisk.
Что не так? Прошу помощи.
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [233PPPP@from-trunk-sip-7800NNNNNNN:1] Set("SIP/7800NNNNNNN-00000025", "GROUP()=OUT_2") in new stack
-- Executing [233PPPP@from-trunk-sip-7800NNNNNNN:2] Goto("SIP/7800NNNNNNN-00000025", "from-trunk,233PPPP,1") in new stack
-- Goto (from-trunk,233PPPP,1)
-- Executing [233PPPP@from-trunk:1] Set("SIP/7800NNNNNNN-00000025", "__FROM_DID=233PPPP") in new stack
-- Executing [233PPPP@from-trunk:2] Gosub("SIP/7800NNNNNNN-00000025", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/7800NNNNNNN-00000025", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/7800NNNNNNN-00000025", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/7800NNNNNNN-00000025", "") in new stack
-- Executing [233PPPP@from-trunk:3] ExecIf("SIP/7800NNNNNNN-00000025", "1 ?Set(CALLERID(name)=987XXXXXXX)") in new stack
-- Executing [233PPPP@from-trunk:4] Set("SIP/7800NNNNNNN-00000025", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [233PPPP@from-trunk:5] Set("SIP/7800NNNNNNN-00000025", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [233PPPP@from-trunk:6] Goto("SIP/7800NNNNNNN-00000025", "ext-group,140,1") in new stack
-- Goto (ext-group,140,1)
-- Executing [140@ext-group:1] Macro("SIP/7800NNNNNNN-00000025", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/7800NNNNNNN-00000025", "AMPUSER=987XXXXXXX") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/7800NNNNNNN-00000025", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/7800NNNNNNN-00000025", "1?Set(REALCALLERIDNUM=987XXXXXXX)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/7800NNNNNNN-00000025", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/7800NNNNNNN-00000025", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/7800NNNNNNN-00000025", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/7800NNNNNNN-00000025", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/7800NNNNNNN-00000025", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/7800NNNNNNN-00000025", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/7800NNNNNNN-00000025", "CALLERID(number)=987XXXXXXX") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/7800NNNNNNN-00000025", "CALLERID(name)=987XXXXXXX") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/7800NNNNNNN-00000025", "Using CallerID "987XXXXXXX" <987XXXXXXX>") in new stack
-- Executing [140@ext-group:2] GotoIf("SIP/7800NNNNNNN-00000025", "1?skipdb") in new stack
-- Goto (ext-group,140,4)
-- Executing [140@ext-group:4] Set("SIP/7800NNNNNNN-00000025", "__NODEST=") in new stack
-- Executing [140@ext-group:5] Set("SIP/7800NNNNNNN-00000025", "__BLKVM_OVERRIDE=BLKVM/140/SIP/7800NNNNNNN-00000025") in new stack
-- Executing [140@ext-group:6] Set("SIP/7800NNNNNNN-00000025", "__BLKVM_BASE=140") in new stack
-- Executing [140@ext-group:7] Set("SIP/7800NNNNNNN-00000025", "DB(BLKVM/140/SIP/7800NNNNNNN-00000025)=TRUE") in new stack
-- Executing [140@ext-group:8] Set("SIP/7800NNNNNNN-00000025", "RRNODEST=") in new stack
-- Executing [140@ext-group:9] Set("SIP/7800NNNNNNN-00000025", "__NODEST=140") in new stack
-- Executing [140@ext-group:10] GosubIf("SIP/7800NNNNNNN-00000025", "0?sub-rgsetcid,s,1") in new stack
-- Executing [140@ext-group:11] Set("SIP/7800NNNNNNN-00000025", "RecordMethod=Group") in new stack
-- Executing [140@ext-group:12] Macro("SIP/7800NNNNNNN-00000025", "record-enable,111-141-142-143-144-145-146,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/7800NNNNNNN-00000025", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/7800NNNNNNN-00000025", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/7800NNNNNNN-00000025", "1?Group:OUT") in new stack
-- Goto (macro-record-enable,s,6)
-- Executing [s@macro-record-enable:6] Set("SIP/7800NNNNNNN-00000025", "LOOPCNT=7") in new stack
-- Executing [s@macro-record-enable:7] Set("SIP/7800NNNNNNN-00000025", "ITER=1") in new stack
-- Executing [s@macro-record-enable:8] GotoIf("SIP/7800NNNNNNN-00000025", "0?continue") in new stack
-- Executing [s@macro-record-enable:9] Set("SIP/7800NNNNNNN-00000025", "TEXTEN=111") in new stack
-- Executing [s@macro-record-enable:10] NoOp("SIP/7800NNNNNNN-00000025", "Recording enable for 111") in new stack
-- Executing [s@macro-record-enable:11] Set("SIP/7800NNNNNNN-00000025", "CALLFILENAME=g111-20151123-192231-1448284951.37") in new stack
-- Executing [s@macro-record-enable:12] Goto("SIP/7800NNNNNNN-00000025", "record") in new stack
-- Goto (macro-record-enable,s,23)
-- Executing [s@macro-record-enable:23] MixMonitor("SIP/7800NNNNNNN-00000025", "g111-20151123-192231-1448284951.37.wav,,") in new stack
-- Executing [s@macro-record-enable:24] Set("SIP/7800NNNNNNN-00000025", "CDR(userfield)=audio:g111-20151123-192231-1448284951.37.wav") in new stack
-- Executing [s@macro-record-enable:25] MacroExit("SIP/7800NNNNNNN-00000025", "") in new stack
-- Executing [140@ext-group:13] Set("SIP/7800NNNNNNN-00000025", "RingGroupMethod=ringall") in new stack
-- Executing [140@ext-group:14] Macro("SIP/7800NNNNNNN-00000025", "dial,60,tr,111-141-142-143-144-145-146") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/7800NNNNNNN-00000025", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/7800NNNNNNN-00000025", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
== Begin MixMonitor Recording SIP/7800NNNNNNN-00000025
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '987XXXXXXX' number is '987XXXXXXX'
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 111 to extension map
-- dialparties.agi: Added extension 141 to extension map
-- dialparties.agi: Added extension 142 to extension map
-- dialparties.agi: Added extension 143 to extension map
-- dialparties.agi: Added extension 144 to extension map
-- dialparties.agi: Added extension 145 to extension map
-- dialparties.agi: Added extension 146 to extension map
-- dialparties.agi: Extension 111 cf is disabled
-- dialparties.agi: Extension 141 cf is disabled
-- dialparties.agi: Extension 142 cf is disabled
-- dialparties.agi: Extension 143 cf is disabled
-- dialparties.agi: Extension 144 cf is disabled
-- dialparties.agi: Extension 145 cf is disabled
-- dialparties.agi: Extension 146 cf is disabled
-- dialparties.agi: Extension 111 do not disturb is disabled
-- dialparties.agi: Extension 141 do not disturb is disabled
-- dialparties.agi: Extension 142 do not disturb is disabled
-- dialparties.agi: Extension 143 do not disturb is disabled
-- dialparties.agi: Extension 144 do not disturb is disabled
-- dialparties.agi: Extension 145 do not disturb is disabled
-- dialparties.agi: Extension 146 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 8 (RINGING)
dialparties.agi: Extension 111 has ExtensionState: 8
-- dialparties.agi: Checking CW and CFB status for extension 111
dialparties.agi: Extension 111 is not available to be called
dialparties.agi: Extension 111 has call waiting disabled
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 141 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 141
-- dialparties.agi: dbset CALLTRACE/141 to 987XXXXXXX
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 142 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 142
-- dialparties.agi: dbset CALLTRACE/142 to 987XXXXXXX
dialparties.agi: EXTENSION_STATE: 8 (RINGING)
dialparties.agi: Extension 143 has ExtensionState: 8
-- dialparties.agi: Checking CW and CFB status for extension 143
dialparties.agi: Extension 143 is not available to be called
dialparties.agi: Extension 143 has call waiting disabled
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 144 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 144
-- dialparties.agi: dbset CALLTRACE/144 to 987XXXXXXX
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 145 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 145
-- dialparties.agi: dbset CALLTRACE/145 to 987XXXXXXX
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 146 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 146
-- dialparties.agi: dbset CALLTRACE/146 to 987XXXXXXX
-- dialparties.agi: Filtered ARG3: 141-142-144-145-146
-- <SIP/7800NNNNNNN-00000025>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/7800NNNNNNN-00000025", "SIP/141&SIP/142&SIP/144&SIP/145&SIP/146,60,trM(auto-blkvm)") in new stack
== Everyone is busy/congested at this time (5:0/0/5)
-- Executing [s@macro-dial:8] Set("SIP/7800NNNNNNN-00000025", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-dial:9] GosubIf("SIP/7800NNNNNNN-00000025", "0?CHANUNAVAIL,1") in new stack
-- Executing [140@ext-group:15] Set("SIP/7800NNNNNNN-00000025", "RingGroupMethod=") in new stack
-- Executing [140@ext-group:16] GotoIf("SIP/7800NNNNNNN-00000025", "0?nodest") in new stack
-- Executing [140@ext-group:17] Set("SIP/7800NNNNNNN-00000025", "__NODEST=") in new stack
-- Executing [140@ext-group:18] NoOp("SIP/7800NNNNNNN-00000025", "Deleting: BLKVM/140/SIP/7800NNNNNNN-00000025 TRUE") in new stack
-- Executing [140@ext-group:19] Goto("SIP/7800NNNNNNN-00000025", "app-blackhole,hangup,1") in new stack
-- Goto (app-blackhole,hangup,1)
-- Executing [hangup@app-blackhole:1] NoOp("SIP/7800NNNNNNN-00000025", "Blackhole Dest: Hangup") in new stack
-- Executing [hangup@app-blackhole:2] Hangup("SIP/7800NNNNNNN-00000025", "") in new stack
== Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/7800NNNNNNN-00000025'
== End MixMonitor Recording SIP/7800NNNNNNN-00000025
есть варианты
1) добавить телефонов
2) в екстеншене включиь callwaiting=yes
3) вместо группы использовать очередь. или после группы поставить announce все операторы заняты - потом назад на группу.
У вас же все звонят и второй вызов запрещен. Так чего же Вы хотите? Используйте очередь.
Задан: 2015-11-23 17:32:46 +0400
Просмотрен: 943 раз
Обновлен: Nov 23 '15
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.