Bom dia,<br><br> 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:<br>
<br>libpri-1.4.2<br>asterisk-1.4.9 <br>spandsp-0.0.4<br>unicall-0.0.5pre1<br> libmfcr2-0.0.3 <br> libsupertone-0.0.2 <br> libunicall-0.0.3<br>zaptel-1.4.4<br><br>Meu arquivo unicall.conf esta asim:<br>[channels]<br>
<br>context=e1-inline<br>usecallerid=yes<br>hidecallerid=no<br>threewaycalling=yes<br>transfer=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=yes<br>echocancelwhenbridged=yes<br>rxgain=0.0<br>txgain=0.0<br>relaxdtmf=yes<br>
callgroup=1<br>pickupgroup=1<br>immediate=no<br>callerid=asreceived<br>musiconhold=default<br>protocolclass=mfcr2<br>protocolvariant=br,20,20,20<br>protocolend=cpe<br>group=1<br>channel => 1-15<br>channel => 17-31<br>
<br><br>Quando levanto o asterisk ele me gera o seguinte log:<br>[May 12 08:53:24] WARNING[30814] channel.c: No channel type registered for 'Unicall'<br>[May 12 08:53:24] WARNING[30814] app_dial.c: Unable to create channel of type 'Unicall' (cause 66 - Channel not implemented)<br>
[May 12 08:54:47] NOTICE[2613] cdr.c: CDR simple logging enabled.<br>[May 12 08:54:47] NOTICE[2613] loader.c: 146 modules will be loaded.<br>[May 12 08:54:49] WARNING[2613] res_smdi.c: No SMDI interfaces are available to listen on, not starting SDMI listener.<br>
[May 12 08:54:50] WARNING[2613] chan_sip.c: insecure=very at line 37 is deprecated; use insecure=port,invite instead<br>[May 12 08:54:50] WARNING[2613] chan_zap.c: Unable to specify channel 1: Device or resource busy<br>
[May 12 08:54:50] ERROR[2613] chan_zap.c: Unable to open channel 1: Device or resource busy<br>
here = 0, tmp->channel = 1, channel = 1<br>[May 12 08:54:50] ERROR[2613] chan_zap.c: Unable to register channel '1-15,17-31'<br>[May 12 08:54:50] NOTICE[2613] pbx_ael.c: Starting AEL load process.<br>[May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.<br>
[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!<br>[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!<br>
[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!<br>[May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.<br>
[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.<br>[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.<br>
[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.<br>[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.<br>
[May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.<br>[May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.<br>
[May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.<br>[May 12 08:54:50] WARNING[2613] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'<br>
<br><br>e quando tento ligar de dentro do asterisk para algum ramal ele retorna esta mensagem:<br>The 'dial' command is deprecated and will be removed in a future release. Please use 'console dial' instead.<br>
== Console is full duplex<br> -- Executing [208@ext-local:1] Dial("OSS/dsp", "Unicall/g1/32719595") in new stack<br>[May 12 08:58:43] WARNING[2689]: chan_unicall.c:1034 unicall_call: Make call failed - Blocked<br>
-- Couldn't call g1/32719595<br> -- Hungup 'UniCall/1-1'<br> == Everyone is busy/congested at this time (0:0/0/0)<br> == Auto fallthrough, channel 'OSS/dsp' status is 'CHANUNAVAIL'<br>
<br><br>Alguem tem alguma dica?<br><br><br clear="all">Marcelo Nunes Dos santos<br>--------------------------------------------------------------------------<br>TI Savarsul - <a href="mailto:nunes@savarsul.com.br">nunes@savarsul.com.br</a><br>
Blog: <a href="http://makelinux.com.br">makelinux.com.br</a><br>Email/MSN: <a href="mailto:marcelo7889@gmail.com">marcelo7889@gmail.com</a><br>twitter: <a href="http://www.twitter.com/marcelonunes">www.twitter.com/marcelonunes</a><br>
<br><br>