Uma dica, usa OpenR2 ao invés de unicall.<br><br><br><div class="gmail_quote">Em 12 de maio de 2010 09:01, Marcelo nunes dos santos <span dir="ltr">&lt;<a href="mailto:marcelo7889@gmail.com">marcelo7889@gmail.com</a>&gt;</span> escreveu:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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 =&gt; 1-15<br>channel =&gt; 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 &#39;Unicall&#39;<br>[May 12 08:53:24] WARNING[30814] app_dial.c: Unable to create channel of type &#39;Unicall&#39; (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-&gt;channel = 1, channel = 1<br>[May 12 08:54:50] ERROR[2613] chan_zap.c: Unable to register channel &#39;1-15,17-31&#39;<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 &#39;/etc/asterisk/extensions.ael&#39;.<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 &#39;/etc/asterisk/extensions.ael&#39;.<br>


[May 12 08:54:50] WARNING[2613] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context &#39;ael-dundi-e164-canonical&#39; 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 &#39;ael-dundi-e164-customers&#39; 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 &#39;ael-dundi-e164-via-pstn&#39; 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 &#39;ael-parkedcalls&#39; cannot be found.<br>


[May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: checked config file name &#39;/etc/asterisk/extensions.ael&#39;.<br>[May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: compiled config file name &#39;/etc/asterisk/extensions.ael&#39;.<br>


[May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: merged config file name &#39;/etc/asterisk/extensions.ael&#39;.<br>[May 12 08:54:50] WARNING[2613] pbx.c: Context &#39;ael-local&#39; tries includes nonexistent context &#39;ael-parkedcalls&#39;<br>


<br><br>e quando tento ligar de dentro do asterisk para algum ramal ele retorna esta mensagem:<br>The &#39;dial&#39; command is deprecated and will be removed in a future release. Please use &#39;console dial&#39; instead.<br>


  == Console is full duplex<br>    -- Executing [208@ext-local:1] Dial(&quot;OSS/dsp&quot;, &quot;Unicall/g1/32719595&quot;) in new stack<br>[May 12 08:58:43] WARNING[2689]: chan_unicall.c:1034 unicall_call: Make call failed - Blocked<br>


    -- Couldn&#39;t call g1/32719595<br>    -- Hungup &#39;UniCall/1-1&#39;<br>  == Everyone is busy/congested at this time (0:0/0/0)<br>  == Auto fallthrough, channel &#39;OSS/dsp&#39; status is &#39;CHANUNAVAIL&#39;<br>


<br><br>Alguem tem alguma dica?<br><font color="#888888"><br><br clear="all">Marcelo Nunes Dos santos<br>--------------------------------------------------------------------------<br>TI Savarsul - <a href="mailto:nunes@savarsul.com.br" target="_blank">nunes@savarsul.com.br</a><br>


Blog: <a href="http://makelinux.com.br" target="_blank">makelinux.com.br</a><br>Email/MSN: <a href="mailto:marcelo7889@gmail.com" target="_blank">marcelo7889@gmail.com</a><br>twitter: <a href="http://www.twitter.com/marcelonunes" target="_blank">www.twitter.com/marcelonunes</a><br>


<br><br>
</font><br>_______________________________________________<br>
KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.<br>
- Hardware com alta disponibilidade de recursos e qualidade KHOMP<br>
- Suporte técnico local qualificado e gratuito<br>
Conheça a linha completa de produtos KHOMP em <a href="http://www.khomp.com.br" target="_blank">www.khomp.com.br</a><br>
_______________________________________________<br>
Participe do I Encontro VoIPCenter, 08 a 10 de junho – Rio de Janeiro.<br>
Área de exposição, palestras e cursos de VoIP, Asterisk e Convergência de Redes.<br>
<a href="http://www.encontrovoipcenter.com.br" target="_blank">http://www.encontrovoipcenter.com.br</a><br>
______________________________________________<br>
Lista de discussões AsteriskBrasil.org<br>
<a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
<a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br></blockquote></div><br><br clear="all"><br>-- <br>Att,<br>
<br>Cristiano R. Gonçalves<br><a href="mailto:skfogo@gmail.com">skfogo@gmail.com</a><br>