[AsteriskBrasil] RES: Problemas com Unicall

Luiz Henrique Gomes lhgomes em treynet.com.br
Sexta Março 30 16:07:39 BRT 2007


Essa é fácil: o nome correto do canal é UniCall com "C" maíusculo. O correto
seria:

exten => _3.,1,Dial(UniCall/g1/${EXTEN},40)

Luiz

-----Mensagem original-----
De: asteriskbrasil-bounces em listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] Em nome de Everton
Goularth
Enviada em: Friday, March 30, 2007 12:20 PM
Para: asteriskbrasil em listas.asteriskbrasil.org
Assunto: [AsteriskBrasil] Problemas com Unicall

Bom dia lista,

estou tentando interligar um server asterisk com uma placa digum TE205P a um
link E1 R2 da CTBC.

Instalei todas as bibliotecas seguindo o tutorial: 
http://under-linux.org/wiki/index.php?title=Tutoriais/VOIP/Asterisk-R2&redir
ect=no

As instalacoes, tanto do asterisk quanto dos pacotes para o channel unical
(inclusive o patch) ocorreram sem nenhum erro, tudo certinho.

Porem quando tento enviar algum digito para a placa (ainda naum estou
interligado com o link E1 atraves de balum, apenas estou querendo testar se
os canais estao funcionando) com o comando dial, por exemplo:

exten => _3.,1,Dial(Unicall/g1/${EXTEN},40)

naum consegue discar pelo canal unicall me retornando o seguinte erro:

NOTICE[3302]: app_dial.c:1011 dial_exec_full: Unable to create channel of
type 'Unicall' (cause 0 - Unknown)
  == Everyone is busy/congested at this time (1:0/0/1)


Atraves do comando "UC show channels" eu consigo ver todos os meus 62 canais
com status idle, porem estou com o seguinte erro ao executar o comando
reload:

CLI> reload

Mar 30 10:40:57 NOTICE[19806]: cdr.c:1191 do_reload: CDR simple logging
enabled.

Mar 30 10:40:57 NOTICE[19806]: indications.c:505
ast_unregister_indication_country: Removed default indication country 'br'

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/1 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/1 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/1 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/1 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/2 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/2 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/2 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/2 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/3 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/3 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/3 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/3 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/4 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/4 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/4 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/4 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/5 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/5 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/5 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/5 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/6 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/6 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/6 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/6 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/7 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/7 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/7 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/7 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/8 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/8 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/8 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/8 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/9 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/9 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/9 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/9 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/10 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/10 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/10 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/10 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/11 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/11 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/11 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/11 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/12 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/12 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/12 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/12 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/13 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/13 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/13 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/13 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/14 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/14 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/14 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/14 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/15 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/15 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/15 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/15 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/17 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/17 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/17 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/17 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/18 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/18 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/18 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/18 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/19 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/19 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/19 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/19 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/20 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/20 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/20 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/20 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/21 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/21 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/21 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/21 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/22 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/22 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/22 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/22 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/23 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/23 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/23 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/23 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/24 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/24 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/24 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/24 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/25 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/25 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/25 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/25 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/26 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/26 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/26 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/26 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/27 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/27 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/27 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/27 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/28 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/28 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/28 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/28 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/29 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/29 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/29 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/29 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/30 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/30 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/30 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/30 Channel gains

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/31 Call control(8)

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/31 Unblock

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/31 1001  ->      [2/       2/Seize ack     /Seize ack    ]

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:627 unicall_report: MFC/R2
UniCall/31 Channel gains

Mar 30 10:40:57 WARNING[19806]: channel.c:326 ast_channel_register: Already
have a handler for type 'UniCall'

Mar 30 10:40:57 ERROR[19806]: chan_unicall.c:4265 setup_unicall: Unable to
register channel class UniCall

Mar 30 10:40:57 WARNING[19806]: chan_unicall.c:4395 reload: Reload of
chan_unicall.so is unsuccessful!

Segue minhas configuracoes:

Slackware 11
Asterisk-1.2.10
zaptel-1.2.7
libpri-1.2.3
libmfcr2-0.0.3
libsupertone-0.0.2
libunicall-0.0.3
spandsp-0.0.2


zaptel.conf

[channels]
span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
dchan=16

span=2,0,0,cas,hdb3
cas=32-46:1101
cas=48-62:1101
dchan=47


unicall.conf

[channels]
 language=br
 context=from-ctbc
 usecallerid=yes
 hidecallerid=no
 restrictcid=no
 callwaitingcallerid=yes
 threewaycalling=yes
 transfer=yes
 cancallforward=no
 callreturn=no
 echocancel=yes
 echocancelwhenbridged=yes
 echotraining=yes
 echotraining=800
 relaxdtmf=yes
 rxgain=0.0
 txgain=0.0
 callgroup=1
 pickupgroup=1
 immediate=no
 callerid=asreceived
 amaflags=default
 accountcode=from-ctbc
 faxdetect=no
 musiconhold=default
 loglevel=255

 protocolclass=mfcr2
 protocolvariant=br,20,13
 protocolend=cpe
 group = 1
 channel =>1-15
 channel =>17-31

 context=from-leucotron
 usecallerid=yes
 hidecallerid=no
 restrictcid=no
 callwaitingcallerid=yes
 threewaycalling=yes
 transfer=yes
 cancallforward=no
 callreturn=no
 echocancel=yes
 echocancelwhenbridged=yes
 echotraining=yes
 echotraining=800
 relaxdtmf=yes
 rxgain=0.0
 txgain=0.0
 callgroup=2
 pickupgroup=2
 immediate=no
 callerid=asreceived
 amaflags=default
 accountcode=from-leucotron
 faxdetect=no
 musiconhold=default
 loglevel=255

 protocolclass=mfcr2
 protocolvariant=br,20,13
 protocolend=cpe

 group=2
 channel=>32-46
 channel=>48-62



Peco a ajuda aos amigos da lista pra saber onde estah meu erro, porque estou
vasculhando o google a varios dias e naum consigo achar, sendo que jah
testei com outras versoes dos pacotes necessarios e nada.

Grato pela oportunidade
Everton Goularth
0 34 8812 4740
Uberlandia - MG


		
_______________________________________________________
Yahoo! Mail - Sempre a melhor opção para você! 
Experimente já e veja as novidades. 
http://br.yahoo.com/mailbeta/tudonovo/
----------------------------------------
Estação VoIP 2006
5 e 6 Dezembro
Curitiba PR
http://www.estacaovoip.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




Mais detalhes sobre a lista de discussão AsteriskBrasil