[AsteriskBrasil] Filas no Asterisk 14

Roger Pitigliani rogerwinter em gmail.com
Segunda Setembro 18 21:38:18 BRT 2017


Seu contexto "agents" tem algumas coisas a mais..
O ideal seria vc separar contexto de login, de fila, de agente...
Mas da forma que está seu members no "queues.conf" teria que ser..

member = Local/571036 at agents,,Cristian,Agent:1036
member = Local/571001 at agents,,Carvalho,Agent:1001

Para poder chegar no "AgentRequest"..




Em 18 de setembro de 2017 20:29, Cristian Carvalho <
cristiancarvalhof at gmail.com> escreveu:

> Roger ainda com o mesmo problema, cara impossível isso aqui viu..kkkkk
>
> [2017-09-18 20:26:28] NOTICE[11029][C-00000001]: core_local.c:756
> local_call: No such extension/context 1036 at agents while calling Local
> channel
>     -- Couldn't call Local/1036 at agents
>
> Não sei mais o que fazer segue os arquivos de conf
>
> queue.conf
> [general]
>
> persistentmembers = yes
> keepstats = no
> autofill = yes
> monitor-type = MixMonitor
> monitor-format = wav
> shared_lastcall=yes
>
>
> [CAMPANHA]
> musicclass = silencio
> strategy = leastrecent
> weight = 0
> memberdelay = 5
> wrapuptime = 15
> autopause = yes
> ringinuse = no
> retry = 5
> maxlen = 0
> timeout = 15
>
> member = Local/1036 at agents,,Cristian,Agent:1036
> member = Local/1001 at agents,,Carvalho,Agent:1001
>
>
> agents.conf
>
> [agents](!)
> ackcall=yes
> acceptdtmf=#
> autologoff=20
>
> [1036](agents)
> fullname=Cristian
>
> [1001](agents)
> fullname=Carvalho
>
>
>
> extensions.conf
>
> ;
> ; FILAS
> ;
>
> [agents]
>
> include => VOIP
>
> exten => _5510XX,1,NoOp(Login Agente)
>  same => n,AgentLogin(${EXTEN:2},s)
>  same => n,Congestion()
>
> exten => _561000,1,Answer
>  same => n,Queue(CAMPANHA)
>  same => n,Hangup
>
> exten => _5710XX,1,NoOp(Request Agente)
>  same => n,AgentRequest(${EXTEN:2},s)
>  same => n,Congestion()
>
>
>
> [VOIP]
>
> include => agents
>
>
> ;
> ; RAMAIS
> ;
>
> exten => _20xx,1,NoOp(######LIGAÇÔES ENTRE RAMAIS BAURU ######)
>  same => n,Set(MONITOR_FILENAME=${CDR(uniqueid)})
>  same => n,Mixmonitor(${MONITOR_FILENAME}.wav)
>  same => n,Dial(SIP/${EXTEN},,Tt)
>  same => n,hangup()
>
> ;
> ; SAIDA
> ;
>
> exten => _0X.,1,Set(MONITOR_FILENAME=${CDR(uniqueid)})
>  same => n,Mixmonitor(${MONITOR_FILENAME}.wav)
>  same => n,Dial(SIP/conexao/${EXTEN:1},60)
>  same => n,Hangup()
>
>
>
>
>
>
> Em seg, 18 de set de 2017 às 18:05, Roger Pitigliani <
> rogerwinter at gmail.com> escreveu:
>
>> Sim, mas você tem que ter configurado o contexto "agents"... que a fila
>> faz a chamada através do Canal Local.."Local/1001 at agents"
>>
>>
>> Exemplo:
>>
>> [agents]
>> exten = _XXXX,1,NoOp()
>> same = n,AgentRequest(${EXTEN})
>> same = n,Congestion();
>>
>> Assim ele deve entregar a chamada ao agente.
>>
>> Em 18 de setembro de 2017 17:19, Cristian Carvalho <
>> cristiancarvalhof at gmail.com> escreveu:
>>
>>> Estou utilizando um extensions bem simples
>>>
>>> [VOIP]
>>>
>>>
>>> ;
>>> ; RAMAIS
>>> ;
>>>
>>> exten => _20xx,1,NoOp(######LIGAÇÔES ENTRE RAMAIS BAURU ######)
>>>  same => n,Set(MONITOR_FILENAME=${CDR(uniqueid)})
>>>  same => n,Mixmonitor(${MONITOR_FILENAME}.wav)
>>>  same => n,Dial(SIP/${EXTEN},,Tt)
>>>  same => n,hangup()
>>>
>>>
>>> ;
>>> ; FILAS
>>> ;
>>>
>>> exten => _5510XX,1,NoOp(Login Agente)
>>>  same => n,AgentLogin(${EXTEN:2},s)
>>>  same => n,Congestion()
>>>
>>> exten => _561000,1,Answer
>>>  same => n,Queue(CAMPANHA)
>>>  same => n,Hangup
>>>
>>> exten => _5710XX,1,NoOp(Request Agente)
>>>  same => n,AgentRequest(${EXTEN:2},s)
>>>  same => n,Congestion()
>>>
>>> ;
>>> ; SAIDA
>>> ;
>>>
>>> exten => _XX.,1,Set(MONITOR_FILENAME=${CDR(uniqueid)})
>>>  same => n,Mixmonitor(${MONITOR_FILENAME}.wav)
>>>  same => n,Dial(SIP/conexao/${EXTEN},60)
>>>  same => n,Hangup()
>>>
>>>
>>>
>>> Em seg, 18 de set de 2017 às 13:51, Roger Pitigliani <
>>> rogerwinter at gmail.com> escreveu:
>>>
>>>> Como esta o contexto "agents"?
>>>>
>>>> Em 18 de setembro de 2017 12:17, Cristian Carvalho <
>>>> cristiancarvalhof at gmail.com> escreveu:
>>>>
>>>>> Que coisa to desaprendendo Asterisk...kkkk..
>>>>>
>>>>> Então Roger, consegui fazer a fila reconhecer o agente, porem a
>>>>> chamada entra na fila mas não cai para o agente, me da uma força.
>>>>>
>>>>>
>>>>> queue show
>>>>> CAMPANHA has 1 calls (max unlimited) in 'leastrecent' strategy (0s
>>>>> holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
>>>>>    Members:
>>>>>       Carvalho (Local/1001 at agents from Agent:1001) (ringinuse
>>>>> disabled) (Unavailable) has taken no calls yet
>>>>>       Cristian (Local/1036 at agents from Agent:1036) (ringinuse
>>>>> disabled) (Not in use) has taken no calls yet
>>>>>    Callers:
>>>>>       1. SIP/conexao-00000003 (wait: 0:08, prio: 0)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Em seg, 18 de set de 2017 às 11:32, Roger Pitigliani <
>>>>> rogerwinter at gmail.com> escreveu:
>>>>>
>>>>>> Opa!
>>>>>>
>>>>>> Os members no queues.conf ficam assim
>>>>>>
>>>>>> member = Local/1036 at agents,,Cristian,Agent:1036
>>>>>> member = Local/1001 at agents,,Carvalho,Agent:1001
>>>>>>
>>>>>> Trocando a "/" por ":" depois de Agent
>>>>>>
>>>>>> O AgentLogin é para você iniciar a sessão do seu agente...
>>>>>> Já o AgentRequest seria o equivalente a um Dial(Agent/XXX)... onde vc
>>>>>> faz a chamada para o agente.
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Roger Pitigliani
>>>>>> rogerwinter at gmail.com
>>>>>> Skype: roger.pitigliani
>>>>>>
>>>>>> Em 18 de setembro de 2017 10:17, Cristian Carvalho <
>>>>>> cristiancarvalhof at gmail.com> escreveu:
>>>>>>
>>>>>>> Então Roger eu já apliquei as mudanças para o novo app_agent_pool,
>>>>>>> porem ainda continua com o mesmo problema
>>>>>>>
>>>>>>> qual a diferença entre AgentLogin e AgentRequest ?
>>>>>>>
>>>>>>> tem alguma mudança na queue ou somente nos agents ?
>>>>>>>
>>>>>>> Minha Queue
>>>>>>>
>>>>>>> [general]
>>>>>>>
>>>>>>> persistentmembers = yes
>>>>>>> keepstats = no
>>>>>>> autofill = yes
>>>>>>> monitor-type = MixMonitor
>>>>>>> monitor-format = wav
>>>>>>> shared_lastcall=yes
>>>>>>>
>>>>>>> [CAMPANHA]
>>>>>>> musicclass = silencio
>>>>>>> strategy = leastrecent
>>>>>>> weight = 0
>>>>>>> announce-frequency = 30
>>>>>>> min-announce-frequency = 15
>>>>>>> announce-round-seconds = 10
>>>>>>> memberdelay = 5
>>>>>>> wrapuptime = 15
>>>>>>> autopause = yes
>>>>>>> ringinuse = no
>>>>>>> retry = 5
>>>>>>> maxlen = 0
>>>>>>> timeout = 15
>>>>>>>
>>>>>>> member = Local/1036 at agents,,Cristian,Agent/1036
>>>>>>> member = Local/1001 at agents,,Carvalho,Agent/1001
>>>>>>>
>>>>>>> Agents
>>>>>>>
>>>>>>> [Agentes]
>>>>>>> recordagentcalls=yes
>>>>>>> custom_beep=yes
>>>>>>> autologoff=20
>>>>>>>
>>>>>>> [1036](Agentes)
>>>>>>> fullname=Cristian
>>>>>>>
>>>>>>> [1001](Agentes)
>>>>>>> fullname=Carvalho
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Extensions
>>>>>>>
>>>>>>>
>>>>>>>  exten => 561000,1,Answer
>>>>>>>  same => n,Queue(CAMPANHA)
>>>>>>>  same => n,Hangup
>>>>>>>
>>>>>>>
>>>>>>> exten => _5510XX,1,NoOp(Login Agente)
>>>>>>>  same => n,AgentLogin(${EXTEN:2},s)
>>>>>>>  same => n,Hangup
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Em seg, 18 de set de 2017 às 09:49, Roger Pitigliani <
>>>>>>> rogerwinter at gmail.com> escreveu:
>>>>>>>
>>>>>>>> Cristian,
>>>>>>>>
>>>>>>>> O "chan_agent" foi descontinuado do Asterisk, desde a versão 12.
>>>>>>>>
>>>>>>>> Pesquise sobre app_agent_pool, onde é possível trabalhar de forma
>>>>>>>> semelhante ao chan_agent.
>>>>>>>>
>>>>>>>> Orientação para migrar.
>>>>>>>> http://blogs.asterisk.org/2016/02/10/converting-from-
>>>>>>>> chan_agent-to-app_agent_pool/
>>>>>>>>
>>>>>>>>
>>>>>>>> Abraço.
>>>>>>>>
>>>>>>>> 2017-09-18 9:37 GMT-03:00 Cristian Carvalho <
>>>>>>>> cristiancarvalhof at gmail.com>:
>>>>>>>>
>>>>>>>>> Bom dia Pessoal
>>>>>>>>>
>>>>>>>>> Hoje utilizo o 11 e estou migrando para o Asterisk 14, porém estou
>>>>>>>>> tendo problemas em fazer a Queue funcionar, o agente fica como Invalid na
>>>>>>>>> queue
>>>>>>>>>
>>>>>>>>> queue show
>>>>>>>>> CAMPANHA has 0 calls (max unlimited) in 'leastrecent' strategy (0s
>>>>>>>>> holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
>>>>>>>>>    Members:
>>>>>>>>>       Agent/1001 (ringinuse disabled) (Invalid) has taken no calls
>>>>>>>>> yet
>>>>>>>>>       Agent/1036 (ringinuse disabled) (Invalid) has taken no calls
>>>>>>>>> yet
>>>>>>>>>    No Callers
>>>>>>>>>
>>>>>>>>> agent show online
>>>>>>>>> Agent-ID Name                 State       Channel
>>>>>>>>>        Talking with
>>>>>>>>> 1036     Cristian             NOT_INUSE   SIP/2000-00000002
>>>>>>>>>
>>>>>>>>> Alguém poderia me ajudar?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> *Cordialmente*
>>>>>>>>>
>>>>>>>>> *--*
>>>>>>>>> *Cristian de Carvalho*
>>>>>>>>> *cristiancarvalhof at gmail.com <cristiancarvalhof at gmail.com>*
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
>>>>>>>>> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
>>>>>>>>> Intercomunicador e acesso remoto via rede IP e telefones IP
>>>>>>>>> Conheça todo o portfólio em www.Khomp.com
>>>>>>>>> _______________________________________________
>>>>>>>>> Para remover seu email desta lista, basta enviar um email em
>>>>>>>>> branco para asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> --
>>>>>>>> Roger Pitigliani
>>>>>>>> rogerwinter at gmail.com
>>>>>>>> Skype: roger.pitigliani
>>>>>>>> _______________________________________________
>>>>>>>> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
>>>>>>>> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
>>>>>>>> Intercomunicador e acesso remoto via rede IP e telefones IP
>>>>>>>> Conheça todo o portfólio em www.Khomp.com
>>>>>>>> _______________________________________________
>>>>>>>> Para remover seu email desta lista, basta enviar um email em branco
>>>>>>>> para asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> *Cordialmente*
>>>>>>>
>>>>>>> *--*
>>>>>>> *Cristian de Carvalho*
>>>>>>> *cristiancarvalhof at gmail.com <cristiancarvalhof at gmail.com>*
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
>>>>>>> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
>>>>>>> Intercomunicador e acesso remoto via rede IP e telefones IP
>>>>>>> Conheça todo o portfólio em www.Khomp.com
>>>>>>> _______________________________________________
>>>>>>> Para remover seu email desta lista, basta enviar um email em branco
>>>>>>> para asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> _______________________________________________
>>>>>> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
>>>>>> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
>>>>>> Intercomunicador e acesso remoto via rede IP e telefones IP
>>>>>> Conheça todo o portfólio em www.Khomp.com
>>>>>> _______________________________________________
>>>>>> Para remover seu email desta lista, basta enviar um email em branco
>>>>>> para asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>>>>>
>>>>> --
>>>>>
>>>>> *Cordialmente*
>>>>>
>>>>> *--*
>>>>> *Cristian de Carvalho*
>>>>> *cristiancarvalhof at gmail.com <cristiancarvalhof at gmail.com>*
>>>>>
>>>>> _______________________________________________
>>>>> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
>>>>> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
>>>>> Intercomunicador e acesso remoto via rede IP e telefones IP
>>>>> Conheça todo o portfólio em www.Khomp.com
>>>>> _______________________________________________
>>>>> Para remover seu email desta lista, basta enviar um email em branco
>>>>> para asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Roger Pitigliani
>>>> rogerwinter at gmail.com
>>>> Skype: roger.pitigliani
>>>> _______________________________________________
>>>> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
>>>> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
>>>> Intercomunicador e acesso remoto via rede IP e telefones IP
>>>> Conheça todo o portfólio em www.Khomp.com
>>>> _______________________________________________
>>>> Para remover seu email desta lista, basta enviar um email em branco
>>>> para asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>>>
>>> --
>>>
>>> *Cordialmente*
>>>
>>> *--*
>>> *Cristian de Carvalho*
>>> *cristiancarvalhof at gmail.com <cristiancarvalhof at gmail.com>*
>>>
>>> _______________________________________________
>>> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
>>> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
>>> Intercomunicador e acesso remoto via rede IP e telefones IP
>>> Conheça todo o portfólio em www.Khomp.com
>>> _______________________________________________
>>> Para remover seu email desta lista, basta enviar um email em branco para
>>> asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>>>
>>
>>
>>
>> --
>> --
>> Roger Pitigliani
>> rogerwinter at gmail.com
>> Skype: roger.pitigliani
>> _______________________________________________
>> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
>> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
>> Intercomunicador e acesso remoto via rede IP e telefones IP
>> Conheça todo o portfólio em www.Khomp.com
>> _______________________________________________
>> Para remover seu email desta lista, basta enviar um email em branco para
>> asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>
> --
>
> *Cordialmente*
>
> *--*
> *Cristian de Carvalho*
> *cristiancarvalhof at gmail.com <cristiancarvalhof at gmail.com>*
>
> _______________________________________________
> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
> Intercomunicador e acesso remoto via rede IP e telefones IP
> Conheça todo o portfólio em www.Khomp.com
> _______________________________________________
> Para remover seu email desta lista, basta enviar um email em branco para
> asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>



-- 
--
Roger Pitigliani
rogerwinter at gmail.com
Skype: roger.pitigliani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20170918/ddb62bda/attachment-0001.html>


Mais detalhes sobre a lista de discussão AsteriskBrasil