Boa tarde!<br><br>Você tem a licença de uso desse CODEC (G729)?<br>Caso nao habilite os outro codecs no Voiper.<br><br>Sds<br><br><div class="gmail_quote">2009/3/18 Junior Polegato - Asterisk <span dir="ltr"><<a href="mailto:asterisk@juniorpolegato.com.br">asterisk@juniorpolegato.com.br</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Boa tarde!<br>
<br>
Pessoal, estou tendo um probleminha que começou final da semana<br>
passada e hoje já ocorreram várias vezes. Aparece no CLI do Asterisk<br>
1.2.13~dfsg-2etch4.1 a seguinte mensagem:<br>
<br>
<br>
Mar 18 13:58:33 NOTICE[27276]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
<br>
<br>
Deixei rolar e assim ficou aparecendo essa mensagem umas 6 a 8<br>
por segundo por quase 3 horas, totalizando mais de 70.000 mensagens,<br>
quando recebi:<br>
<br>
<br>
Registered SIP '1022' at 10.9.8.22 port 5060 expires 60<br>
<br>
<br>
Não consegui pegar o pacote SIP, mas na próxima vez que tiver o<br>
problema vou pegar. Dando um "sip show peers", aparece:<br>
<br>
<br>
Name/username Host Dyn Nat ACL Port Status<br>
. . .<br>
1022/1022 (Unspecified) D N 0 UNKNOWN<br>
. . .<br>
<br>
<br>
No telefone está apenas o codec G729 e no sip.conf:<br>
<br>
[general]<br>
context=ramais<br>
bindport=5060<br>
bindaddr=10.9.8.254<br>
srvlookup=yes<br>
pedantic=yes<br>
allowguest=no<br>
minexpiry=30<br>
defaultexpiry=3600<br>
maxexpiry=60<br>
qualify=5000<br>
language=pt_BR<br>
nat=yes<br>
canreinvite=no<br>
dtmfmode=rfc2833<br>
disallow=all<br>
allow=g729<br>
allow=ilbc<br>
allow=gsm<br>
allow=alaw<br>
allow=ulaw<br>
t38pt_udptl=yes<br>
t38pt_usertpsource=no<br>
<br>
register => <num_azzu>:<senha_azzu>@<serv_azzu>/<num_azzu><br>
<br>
. . .<br>
<br>
[1022]<br>
type=friend<br>
username=1022<br>
secret=<rsrsrs><br>
host=dynamic<br>
callerid="Voiper - 1022" <1022><br>
<br>
Reparei que o problema começa depois de:<br>
<br>
-- Called 3941xxxx@azzu<br>
-- SIP/azzu-0818a2e8 is ringing<br>
-- SIP/azzu-0818a2e8 is making progress passing it to SIP/1022-081bdf90<br>
== Spawn extension (macro-saida_azzu, s, 15) exited non-zero on<br>
'SIP/1022-081bdf90' in macro 'saida_azzu'<br>
== Spawn extension (macro-saida_azzu, s, 15) exited non-zero on<br>
'SIP/1022-081bdf90'<br>
Mar 18 10:54:55 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No<br>
header field 'Via' present to copy<br>
. . .<br>
<br>
A macro:<br>
<br>
[macro-saida_azzu]<br>
exten => s,1,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
exten => s,n,NoOp(xxxxxxxxxxxxxx)<br>
;<br>
exten => s,n,Dial(SIP/${ARG1}@azzu,${OUT_CALLING_TIME},Tg)<br>
exten => s,n,NoOp(Situação...: ${DIALSTATUS})<br>
exten => s,n,NoOp(Data e Hora: ${DATETIME})<br>
exten => s,n,GotoIf($["${DIALSTATUS}" != "CONGESTION"]?fim)<br>
;<br>
exten => s,n,Playback(all-circuits-busy-now)<br>
exten => s,n,Playback(pls-try-call-later)<br>
exten => s,n,Playback(vm-goodbye)<br>
;<br>
exten => s,n(fim),Hangup<br>
<br>
A chamada:<br>
<br>
exten => _[0-6]XXXXXXX,1,Macro(saida_azzu,${EXTEN})<br>
exten => _[7-9]XXXXXXX,1,Macro(saida_celular,${EXTEN})<br>
exten => _XX[0-6]XXXXXXX,1,Macro(saida_azzu,${EXTEN})<br>
exten => _XX[7-9]XXXXXXX,1,Macro(saida_celular,${EXTEN})<br>
<br>
<br>
<br>
Alguém já teve problemas assim? Tem alguma solução?<br>
<br>
<br>
Grato.<br>
<br>
[]'s<br>
Junior Polegato<br>
<br>
_______________________________________________<br>
Openmoko Freerunner, primeiro telefone open source, disponível no Brasil rodando o Android da Google.<br>
<a href="http://www.neodroid.com" target="_blank">http://www.neodroid.com</a><br>
<br>
Compre uma camiseta da AsteriskBrasil.org!<br>
<a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
<br>
Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br<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>