<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.12.1">
</HEAD>
<BODY>
Olá a todos<BR>
<BR>
Estou com um problema e gostaria de saber se alguem tem idéia do que pode ser.<BR>
<BR>
<BR>
Tenho um ramal, o 5700(SIP/X-lite). Meu asterisk tá ligado via H323 com minha central MD110 Ericsson no qual aparentemente funciona tranquilo. Quando ligo de um telefone comum (celular por exemplo) da rede pública para o ramal 5700, ele entra via E1 Brasil Telecom na MD110, a MD110 roteia a ligação para o asterisk, no qual atendo... Vejam o verbose abaixo:<BR>
<BR>
IP da MD110 é o 192.168.87.2<BR>
<BR>
-- Inbound H.323 call 'ip$192.168.87.2:1029/8545-d8f52c08' detected.<BR>
-- Inbound H.323 call 'ip$192.168.87.2:1029/8545-d8f52c08', channel 'OH323/192.168.87.2-d8f52c08'.<BR>
-- Executing Dial("OH323/192.168.87.2-d8f52c08", "SIP/5700|20") in new stack<BR>
-- Called 5700<BR>
-- SIP/5700-475e is ringing<BR>
-- SIP/5700-475e answered OH323/192.168.87.2-d8f52c08<BR>
> H.323 call 'ip$192.168.87.2:1029/8545-d8f52c08', exception CALL_ESTABLISHED.<BR>
> H.323 call 'ip$192.168.87.2:1029/8545-d8f52c08', exception CTRL_ERROR (Logical Channel [Close unknown]).<BR>
Nov 28 22:33:09 NOTICE[502]: chan_oh323.c:2181 oh323_read: OH323/192.168.87.2-d8f52c08: Read zero bytes.<BR>
-- H.323 call 'ip$192.168.87.2:1029/8545-d8f52c08' cleared, reason 4 (Cleared by remote user), established (3 sec)<BR>
-- Hungup 'OH323/192.168.87.2-d8f52c08'<BR>
<BR>
Notem que já aparece um errinho que não gostei muito... Aquele CTRL_ERROR... e a linha abaixo que dá Read zero bytes, porem funciona.<BR>
<BR>
<BR>
O problema vem agora.. quando desligo o ramal SIP.... (no x-lite), quando tento ligar do meu celular para o ramal, nao me volta nada... nem caixa postal... Segue abaixo verbose<BR>
<BR>
-- Inbound H.323 call 'ip$192.168.87.2:1028/8543-d8f52c07' detected.<BR>
-- Inbound H.323 call 'ip$192.168.87.2:1028/8543-d8f52c07', channel 'OH323/192.168.87.2-d8f52c07'.<BR>
-- Executing Dial("OH323/192.168.87.2-d8f52c07", "SIP/5700|20") in new stack<BR>
Nov 28 22:29:42 NOTICE[502]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)<BR>
== Everyone is busy/congested at this time (1:0/0/1)<BR>
-- Executing Wait("OH323/192.168.87.2-d8f52c07", "2") in new stack<BR>
-- Executing VoiceMail("OH323/192.168.87.2-d8f52c07", "u5700@default") in new stack<BR>
-- Playing '/var/spool/asterisk/voicemail/default/5700/unavail' (language 'pt_BR')<BR>
> H.323 call 'ip$192.168.87.2:1028/8543-d8f52c07', exception CALL_ESTABLISHED.<BR>
> H.323 call 'ip$192.168.87.2:1028/8543-d8f52c07', exception CTRL_ERROR (Logical Channel [Close unknown]).<BR>
Nov 28 22:29:44 NOTICE[502]: chan_oh323.c:2181 oh323_read: OH323/192.168.87.2-d8f52c07: Read zero bytes.<BR>
-- H.323 call 'ip$192.168.87.2:1028/8543-d8f52c07' cleared, reason 4 (Cleared by remote user), established (0 sec)<BR>
-- Hungup 'OH323/192.168.87.2-d8f52c07'<BR>
<BR>
<BR>
Abaixo segue meu extensions.conf e sip.conf<BR>
<BR>
sip.conf<BR>
<BR>
[5700]<BR>
context=acesso-total<BR>
username=5700<BR>
type=friend<BR>
secret=*********<BR>
record_out=Adhoc<BR>
record_in=Adhoc<BR>
qualify=no<BR>
port=5060<BR>
nat=yes<BR>
mailbox=<A HREF="mailto:5700@default">5700@default</A><BR>
host=dynamic<BR>
dtmfmode=rfc2833<BR>
disallow=all<BR>
canreinvite=no<BR>
callerid=Caio Viana <5700><BR>
allow=g729,gsm,ilbc<BR>
accountcode=2007<BR>
<BR>
<BR>
extensions.conf<BR>
<BR>
exten => 5700,hint,SIP/5700 <BR>
exten => 5700,1,Dial(SIP/5700,20)<BR>
exten => 5700,2,Wait,2<BR>
exten => 5700,3,Voicemail(<A HREF="mailto:u5700@default">u5700@default</A>)<BR>
exten => 5700,4,Playback(vm-goodbye)<BR>
exten => 5700,5,Hangup()<BR>
<BR>
<BR>
Alguem pode me dá uma luz pq nao consigo ligar, e cair na caixa postal qndo o ramal tá off?<BR>
<BR>
Obrigado<BR>
<BR>
Caio Viana
</BODY>
</HTML>