[AsteriskBrasil] Asterisk bloqueando canais

SkFogo skfogo em gmail.com
Quarta Maio 12 09:43:23 BRT 2010


Uma dica, usa OpenR2 ao invés de unicall.


Em 12 de maio de 2010 09:01, Marcelo nunes dos santos <marcelo7889 em gmail.com
> escreveu:

> Bom dia,
>
>  Aqui na empresa onde trabalho tinhamos um servidor asterisk funcionando, a
> alguns dias quando chegamos para trabalhar o servidor estava parado, o
> cooler paro e torro a placa, reinstalamos ele em outra maquina, mas agora
> por algum motivo desconhecido quando conectamos o asterisk e tentamos fazer
> alguma ligação os canais se bloqueiam, estamos utilizando o asterisk 1.4.9
> em um fedora 7 com uma placa E1 e uma central R2 compilei os seguinte
> pacotes:
>
> libpri-1.4.2
> asterisk-1.4.9
> spandsp-0.0.4
> unicall-0.0.5pre1
>    libmfcr2-0.0.3
>    libsupertone-0.0.2
>    libunicall-0.0.3
> zaptel-1.4.4
>
> Meu arquivo unicall.conf esta asim:
> [channels]
>
> context=e1-inline
> usecallerid=yes
> hidecallerid=no
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> relaxdtmf=yes
> callgroup=1
> pickupgroup=1
> immediate=no
> callerid=asreceived
> musiconhold=default
> protocolclass=mfcr2
> protocolvariant=br,20,20,20
> protocolend=cpe
> group=1
> channel => 1-15
> channel => 17-31
>
>
> Quando levanto o asterisk ele me gera o seguinte log:
> [May 12 08:53:24] WARNING[30814] channel.c: No channel type registered for
> 'Unicall'
> [May 12 08:53:24] WARNING[30814] app_dial.c: Unable to create channel of
> type 'Unicall' (cause 66 - Channel not implemented)
> [May 12 08:54:47] NOTICE[2613] cdr.c: CDR simple logging enabled.
> [May 12 08:54:47] NOTICE[2613] loader.c: 146 modules will be loaded.
> [May 12 08:54:49] WARNING[2613] res_smdi.c: No SMDI interfaces are
> available to listen on, not starting SDMI listener.
> [May 12 08:54:50] WARNING[2613] chan_sip.c: insecure=very at line 37 is
> deprecated; use insecure=port,invite instead
> [May 12 08:54:50] WARNING[2613] chan_zap.c: Unable to specify channel 1:
> Device or resource busy
> [May 12 08:54:50] ERROR[2613] chan_zap.c: Unable to open channel 1: Device
> or resource busy
> here = 0, tmp->channel = 1, channel = 1
> [May 12 08:54:50] ERROR[2613] chan_zap.c: Unable to register channel
> '1-15,17-31'
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: Starting AEL load process.
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: calculated
> config file name '/etc/asterisk/extensions.ael'.
> [May 12 08:54:50] WARNING[2613] ael.y: ==== File:
> /etc/asterisk/extensions.ael, Line 112, Cols: 34-34: Warning! The empty
> context ael-dundi-e164-canonical will be IGNORED!
> [May 12 08:54:50] WARNING[2613] ael.y: ==== File:
> /etc/asterisk/extensions.ael, Line 120, Cols: 34-34: Warning! The empty
> context ael-dundi-e164-customers will be IGNORED!
> [May 12 08:54:50] WARNING[2613] ael.y: ==== File:
> /etc/asterisk/extensions.ael, Line 128, Cols: 33-33: Warning! The empty
> context ael-dundi-e164-via-pstn will be IGNORED!
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: parsed config
> file name '/etc/asterisk/extensions.ael'.
> [May 12 08:54:50] WARNING[2613] pbx_ael.c: Warning: file
> /etc/asterisk/extensions.ael, line 141-145: The included context
> 'ael-dundi-e164-canonical' cannot be found.
> [May 12 08:54:50] WARNING[2613] pbx_ael.c: Warning: file
> /etc/asterisk/extensions.ael, line 141-145: The included context
> 'ael-dundi-e164-customers' cannot be found.
> [May 12 08:54:50] WARNING[2613] pbx_ael.c: Warning: file
> /etc/asterisk/extensions.ael, line 141-145: The included context
> 'ael-dundi-e164-via-pstn' cannot be found.
> [May 12 08:54:50] WARNING[2613] pbx_ael.c: Warning: file
> /etc/asterisk/extensions.ael, line 276-283: The included context
> 'ael-parkedcalls' cannot be found.
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: checked config
> file name '/etc/asterisk/extensions.ael'.
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: compiled config
> file name '/etc/asterisk/extensions.ael'.
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: merged config
> file name '/etc/asterisk/extensions.ael'.
> [May 12 08:54:50] WARNING[2613] pbx.c: Context 'ael-local' tries includes
> nonexistent context 'ael-parkedcalls'
>
>
> e quando tento ligar de dentro do asterisk para algum ramal ele retorna
> esta mensagem:
> The 'dial' command is deprecated and will be removed in a future release.
> Please use 'console dial' instead.
>   == Console is full duplex
>     -- Executing [208 em ext-local:1] Dial("OSS/dsp", "Unicall/g1/32719595")
> in new stack
> [May 12 08:58:43] WARNING[2689]: chan_unicall.c:1034 unicall_call: Make
> call failed - Blocked
>     -- Couldn't call g1/32719595
>     -- Hungup 'UniCall/1-1'
>   == Everyone is busy/congested at this time (0:0/0/0)
>   == Auto fallthrough, channel 'OSS/dsp' status is 'CHANUNAVAIL'
>
>
> Alguem tem alguma dica?
>
>
> Marcelo Nunes Dos santos
> --------------------------------------------------------------------------
> TI Savarsul - nunes em savarsul.com.br
> Blog: makelinux.com.br
> Email/MSN: marcelo7889 em gmail.com
> twitter: www.twitter.com/marcelonunes
>
>
>
> _______________________________________________
> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
> - Suporte técnico local qualificado e gratuito
> Conheça a linha completa de produtos KHOMP em www.khomp.com.br
> _______________________________________________
> Participe do I Encontro VoIPCenter, 08 a 10 de junho – Rio de Janeiro.
> Área de exposição, palestras e cursos de VoIP, Asterisk e Convergência de
> Redes.
> http://www.encontrovoipcenter.com.br
> ______________________________________________
> Lista de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>



-- 
Att,

Cristiano R. Gonçalves
skfogo em gmail.com
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100512/868a61e7/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil