[AsteriskBrasil] MFC/R2
    Darlon 
    darlon.ferreira em betha.com.br
       
    Quinta Janeiro  5 16:58:52 BRT 2006
    
    
  
Oi pessoal. Alguém pode me dar uma ajuda?
Estou tentando aplicar o patch para usar o MFC/R2 e estou obtendo a seguinte saída:
[root em localhost channels]# patch < channels_Makefile.patch
patching file Makefile
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 74 with fuzz 1 (offset 11 lines).
Hunk #2 succeeded at 82 (offset 4 lines).
Hunk #3 FAILED at 154.
Hunk #4 FAILED at 172.
Consegui compilar sem erros, apenas os seguintes warnings:
-Wno-missing-declarations -DIAX_TRUNKING -DCRYPTO -fPIC    -c -o chan_unicall.o chan_unicall.c
chan_unicall.c:182: warning: initialization from incompatible pointer type
chan_unicall.c:350: warning: 'hangup_uc2cause' defined but not used
chan_unicall.c:795: warning: 'reset_conf' defined but not used
chan_unicall.c:926: warning: 'unicall_train_ec' defined but not used
gcc -shared -Xlinker -x -o chan_unicall.so  chan_unicall.o  -ldl -lpthread -lncurses -lm -lresolv   -lssl
gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT 
Quando tento startar o *, tenho a seguinte saída:
[chan_unicall.so]Jan  5 16:52:05 WARNING[17923]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/chan_unicall.so: undefined symbol: uc_set_logging
Jan  5 16:52:05 WARNING[17923]: loader.c:554 load_modules: Loading module chan_unicall.so failed!
Muito obrigado
Darlon Ferreira Bortolini
Rede/Desenvolvimento
Betha Sistemas
Fone (48) 431-0750/Ramal 1000
----- Original Message ----- 
  From: Luiz Henrique Gomes 
  To: asteriskbrasil em listas.asteriskbrasil.org 
  Sent: Tuesday, January 03, 2006 9:19 AM
  Subject: Re: [AsteriskBrasil] Remover agente de uma fila
  Eu coloquei as linhas abaixo dentro extensions.conf, na macro [macro-exten-vm]
  exten => s-CHANUNAVAIL,1,RemoveQueueMember(myQueue|${CHANNEL:0:24})
  exten => s-CHANUNAVAIL,2,System(echo "${DATETIME} - ${CHANNEL} - Forced Logoff" >> /var/log/asterisk/agent_log)
  exten => s-CHANUNAVAIL,3,Congestion()
  Quando o ramal não está mais disponível ele é automaticamente removido da fila.
  Luiz
------------------------------------------------------------------------------
  From: asteriskbrasil-bounces em listas.asteriskbrasil.org [mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] On Behalf Of Josué Conti
  Sent: Monday, January 02, 2006 9:47 PM
  To: asteriskbrasil em listas.asteriskbrasil.org
  Subject: Re: [AsteriskBrasil] Remover agente de uma fila
  Luiz no caso do Asterisk deslogar o agente (x-lite) automáticamente, você fez alguma configuração no Asterisk ou x-lite?
  Abraço
  Josué
   
  Em 02/01/06, Luiz Henrique Gomes <lhgomes em treynet.com.br> escreveu: 
    Eu queria fazer algo automático e já consegui. Quando o usuário fecha o
    x-lite sem deslogar da fila o próprio asterisk remove ele. 
    Luiz
    -----Original Message-----
    From: asteriskbrasil-bounces em listas.asteriskbrasil.org
    [mailto: asteriskbrasil-bounces em listas.asteriskbrasil.org] On Behalf Of
    Marcos Kirchhoff
    Sent: Monday, January 02, 2006 2:13 PM
    To: asteriskbrasil em listas.asteriskbrasil.org 
    Subject: Re: [AsteriskBrasil] Remover agente de uma fila
    tente o AgentCallBackLogin. Digite o login do agente ao ser solicitado e
    quando o sistema solicitar a extensão digite #.
    ----- Original Message ----- 
    From: "Luiz Henrique Gomes" <lhgomes em treynet.com.br>
    To: <asteriskbrasil em listas.asteriskbrasil.org >
    Sent: Monday, January 02, 2006 11:15 AM
    Subject: [AsteriskBrasil] Remover agente de uma fila
    Pessoal, como posso efetuar o logoff de um agente que não está mais
    disponível? Tentei o comando RemoveQueueMember mas não está funcionando. 
    exten =>
    s-CHANUNAVAIL,1,RemoveQueueMember(${QUEUE}|Local/${ARG1}@from-internal)
    exten => s-CHANUNAVAIL,2,Congestion()
    Obs.: Estamos usando o AMP e os agentes logam com o número da fila + * (Ex.: 
    123*)
    Luiz Henrique Gomes
    Gerente de Projetos
    TreyNet Consultoria - Uberlândia
    Tel : 55 34 3211-2525
    Cel Uberlândia: 55 34 9197-7559
    Cel São Paulo: 55 11 9245-7955
    www.treynet.com.br
    _______________________________________________
    LIsta de discussões AsteriskBrasil.org
    AsteriskBrasil em listas.asteriskbrasil.org 
    http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
    _______________________________________________
    Acesse o  wiki AsteriskBrasil.org:
    http://www.asteriskbrasil.org
    _______________________________________________
    LIsta de discussões AsteriskBrasil.org
    AsteriskBrasil em listas.asteriskbrasil.org
    http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
    _______________________________________________ 
    Acesse o  wiki AsteriskBrasil.org:
    http://www.asteriskbrasil.org
    _______________________________________________
    LIsta de discussões AsteriskBrasil.org
    AsteriskBrasil em listas.asteriskbrasil.org
    http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
    _______________________________________________ 
    Acesse o  wiki AsteriskBrasil.org:
    http://www.asteriskbrasil.org
------------------------------------------------------------------------------
  _______________________________________________
  LIsta de discussões AsteriskBrasil.org
  AsteriskBrasil em listas.asteriskbrasil.org
  http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
  _______________________________________________
  Acesse o  wiki AsteriskBrasil.org:
  http://www.asteriskbrasil.org
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060105/88c75f35/attachment.html
    
    
Mais detalhes sobre a lista de discussão AsteriskBrasil