Поставил freepbx14 c asterisk14
Настроил очередь, указал ДИНАМИЧЕСКИХ агентов
а зарегистрироваться в ней не могу.
жму *45 и получаю лог:
-- Executing [*45@from-internal:1] Goto("IAX2/101-7015", "app-all-queue-toggle,s,start") in new stack
-- Goto (app-all-queue-toggle,s,1)
-- Executing [s@app-all-queue-toggle:1] Answer("IAX2/101-7015", "") in new stack
-- Executing [s@app-all-queue-toggle:2] Wait("IAX2/101-7015", "1") in new stack
-- Executing [s@app-all-queue-toggle:3] Macro("IAX2/101-7015", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("IAX2/101-7015", "TOUCH_MONITOR=1502376531.376") in new stack
-- Executing [s@macro-user-callerid:2] Set("IAX2/101-7015", "AMPUSER=101") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("IAX2/101-7015", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("IAX2/101-7015", "1?Set(__REALCALLERIDNUM=101)") in new stack
-- Executing [s@macro-user-callerid:5] Set("IAX2/101-7015", "AMPUSER=101") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("IAX2/101-7015", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("IAX2/101-7015", "AMPUSERCIDNAME=101") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("IAX2/101-7015", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("IAX2/101-7015", "AMPUSERCID=101") in new stack
-- Executing [s@macro-user-callerid:10] Set("IAX2/101-7015", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("IAX2/101-7015", "CALLERID(all)="101" <101>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("IAX2/101-7015", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("IAX2/101-7015", "0?Set(GROUP(concurrency_limit)=101)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("IAX2/101-7015", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("IAX2/101-7015", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] ExecIf("IAX2/101-7015", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:17] Set("IAX2/101-7015", "__TTL=6") in new stack
-- Executing [s@macro-user-callerid:18] GotoIf("IAX2/101-7015", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("IAX2/101-7015", "CALLERID(number)=101") in new stack
-- Executing [s@macro-user-callerid:30] Set("IAX2/101-7015", "CALLERID(name)=101") in new stack
-- Executing [s@macro-user-callerid:31] GotoIf("IAX2/101-7015", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:32] Set("IAX2/101-7015", "CDR(cnam)=101") in new stack
-- Executing [s@macro-user-callerid:33] Set("IAX2/101-7015", "CDR(cnum)=101") in new stack
-- Executing [s@macro-user-callerid:34] Set("IAX2/101-7015", "CHANNEL(language)=ru") in new stack
-- Executing [s@app-all-queue-toggle:4] AGI("IAX2/101-7015", "queue_devstate.agi,getall,101") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/queue_devstate.agi
<IAX2/101-7015>AGI Tx >> agi_request: queue_devstate.agi
<IAX2/101-7015>AGI Tx >> agi_channel: IAX2/101-7015
<IAX2/101-7015>AGI Tx >> agi_language: ru
<IAX2/101-7015>AGI Tx >> agi_type: IAX2
<IAX2/101-7015>AGI Tx >> agi_uniqueid: 1502376531.376
<IAX2/101-7015>AGI Tx >> agi_version: 14.6.0
<IAX2/101-7015>AGI Tx >> agi_callerid: 101
<IAX2/101-7015>AGI Tx >> agi_calleridname: 101
<IAX2/101-7015>AGI Tx >> agi_callingpres: 1
<IAX2/101-7015>AGI Tx >> agi_callingani2: 0
<IAX2/101-7015>AGI Tx >> agi_callington: 0
<IAX2/101-7015>AGI Tx >> agi_callingtns: 0
<IAX2/101-7015>AGI Tx >> agi_dnid: *45
<IAX2/101-7015>AGI Tx >> agi_rdnis: unknown
<IAX2/101-7015>AGI Tx >> agi_context: app-all-queue-toggle
<IAX2/101-7015>AGI Tx >> agi_extension: s
<IAX2/101-7015>AGI Tx >> agi_priority: 4
<IAX2/101-7015>AGI Tx >> agi_enhanced: 0.0
<IAX2/101-7015>AGI Tx >> agi_accountcode:
<IAX2/101-7015>AGI Tx >> agi_threadid: 139874920281856
<IAX2/101-7015>AGI Tx >> agi_arg_1: getall
<IAX2/101-7015>AGI Tx >> agi_arg_2: 101
<IAX2/101-7015>AGI Tx >>
<IAX2/101-7015>AGI Rx << GET VARIABLE AMPMGRUSER
<IAX2/101-7015>AGI Tx >> 200 result=1 (здесьлогин)
<IAX2/101-7015>AGI Rx << GET VARIABLE AMPMGRPASS
<IAX2/101-7015>AGI Tx >> 200 result=1 (здесьпароль)
<IAX2/101-7015>AGI Rx << GET VARIABLE ASTSPOOLDIR
<IAX2/101-7015>AGI Tx >> 200 result=1 (/var/spool/asterisk)
<IAX2/101-7015>AGI Rx << GET VARIABLE ASTMANAGERHOST
<IAX2/101-7015>AGI Tx >> 200 result=1 (localhost)
<IAX2/101-7015>AGI Rx << GET VARIABLE ASTVERSION
<IAX2/101-7015>AGI Tx >> 200 result=1 (14.6.0)
<IAX2/101-7015>AGI Rx << VERBOSE "Finished sorting" 3
-- queue_devstate.agi,getall,101: Finished sorting
<IAX2/101-7015>AGI Tx >> 200 result=1
<IAX2/101-7015>AGI Rx << VERBOSE "Looking up queues for agent: 101" 3
-- queue_devstate.agi,getall,101: Looking up queues for agent: 101
<IAX2/101-7015>AGI Tx >> 200 result=1
<IAX2/101-7015>AGI Rx << VERBOSE "no queues for this agent" 3
-- queue_devstate.agi,getall,101: no queues for this agent
<IAX2/101-7015>AGI Tx >> 200 result=1
<IAX2/101-7015>AGI Rx << VERBOSE "Agent 101 is NOQUEUES for at least one of their queues" 3
-- queue_devstate.agi,getall,101: Agent 101 is NOQUEUES for at least one of their queues
<IAX2/101-7015>AGI Tx >> 200 result=1
<IAX2/101-7015>AGI Rx << SET VARIABLE QUEUESTAT "NOQUEUES"
<IAX2/101-7015>AGI Tx >> 200 result=1
<IAX2/101-7015>AGI Rx << SET VARIABLE USERQUEUES ""
<IAX2/101-7015>AGI Tx >> 200 result=1
-- <IAX2/101-7015>AGI Script queue_devstate.agi completed, returning 0
-- Executing [s@app-all-queue-toggle:5] GotoIf("IAX2/101-7015", "1?skip") in new stack
-- Goto (app-all-queue-toggle,s,15)
-- Executing [s@app-all-queue-toggle:15] ExecIf("IAX2/101-7015", "1?Playback(agent-loggedoff)") in new stack
-- <IAX2/101-7015> Playing 'agent-loggedoff.ulaw' (language 'ru')
-- Executing [s@app-all-queue-toggle:16] ExecIf("IAX2/101-7015", "0?Playback(agent-loginok)") in new stack
-- Executing [s@app-all-queue-toggle:17] ExecIf("IAX2/101-7015", "0?SayDigits(101)") in new stack
-- Executing [s@app-all-queue-toggle:18] Macro("IAX2/101-7015", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("IAX2/101-7015", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("IAX2/101-7015", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("IAX2/101-7015", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'IAX2/101-7015' in macro 'hangupcall'
== Spawn extension (app-all-queue-toggle, s, 18) exited non-zero on 'IAX2/101-7015'
-- Hungup 'IAX2/101-7015'
почему agi не находит очереди для этого агента?
дальше больше, я указываю ему принудительно *45001 - и все ОК, НО разлогиниться я не могу...
жму *45 и мне все тот же лог валится что я выше привел...
ни кто не знает в чем дело? эт баг новой версии?
Задан: 2017-08-10 18:55:53 +0400
Просмотрен: 289 раз
Обновлен: Aug 10 '17
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
Что говорит поддержка freepbx ?
zzuz ( 2017-08-10 19:07:17 +0400 )редактировать