[AsteriskBrasil] Problema com Telefone Voiper da Intelbrás
Junior Polegato - Asterisk
asterisk em juniorpolegato.com.br
Quarta Março 18 14:56:48 BRT 2009
Boa tarde!
Pessoal, estou tendo um probleminha que começou final da semana
passada e hoje já ocorreram várias vezes. Aparece no CLI do Asterisk
1.2.13~dfsg-2etch4.1 a seguinte mensagem:
Mar 18 13:58:33 NOTICE[27276]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Deixei rolar e assim ficou aparecendo essa mensagem umas 6 a 8
por segundo por quase 3 horas, totalizando mais de 70.000 mensagens,
quando recebi:
Registered SIP '1022' at 10.9.8.22 port 5060 expires 60
Não consegui pegar o pacote SIP, mas na próxima vez que tiver o
problema vou pegar. Dando um "sip show peers", aparece:
Name/username Host Dyn Nat ACL Port Status
. . .
1022/1022 (Unspecified) D N 0 UNKNOWN
. . .
No telefone está apenas o codec G729 e no sip.conf:
[general]
context=ramais
bindport=5060
bindaddr=10.9.8.254
srvlookup=yes
pedantic=yes
allowguest=no
minexpiry=30
defaultexpiry=3600
maxexpiry=60
qualify=5000
language=pt_BR
nat=yes
canreinvite=no
dtmfmode=rfc2833
disallow=all
allow=g729
allow=ilbc
allow=gsm
allow=alaw
allow=ulaw
t38pt_udptl=yes
t38pt_usertpsource=no
register => <num_azzu>:<senha_azzu>@<serv_azzu>/<num_azzu>
. . .
[1022]
type=friend
username=1022
secret=<rsrsrs>
host=dynamic
callerid="Voiper - 1022" <1022>
Reparei que o problema começa depois de:
-- Called 3941xxxx em azzu
-- SIP/azzu-0818a2e8 is ringing
-- SIP/azzu-0818a2e8 is making progress passing it to SIP/1022-081bdf90
== Spawn extension (macro-saida_azzu, s, 15) exited non-zero on
'SIP/1022-081bdf90' in macro 'saida_azzu'
== Spawn extension (macro-saida_azzu, s, 15) exited non-zero on
'SIP/1022-081bdf90'
Mar 18 10:54:55 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:56 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:57 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
Mar 18 10:54:58 NOTICE[14973]: chan_sip.c:3989 copy_via_headers: No
header field 'Via' present to copy
. . .
A macro:
[macro-saida_azzu]
exten => s,1,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
exten => s,n,NoOp(xxxxxxxxxxxxxx)
;
exten => s,n,Dial(SIP/${ARG1}@azzu,${OUT_CALLING_TIME},Tg)
exten => s,n,NoOp(Situação...: ${DIALSTATUS})
exten => s,n,NoOp(Data e Hora: ${DATETIME})
exten => s,n,GotoIf($["${DIALSTATUS}" != "CONGESTION"]?fim)
;
exten => s,n,Playback(all-circuits-busy-now)
exten => s,n,Playback(pls-try-call-later)
exten => s,n,Playback(vm-goodbye)
;
exten => s,n(fim),Hangup
A chamada:
exten => _[0-6]XXXXXXX,1,Macro(saida_azzu,${EXTEN})
exten => _[7-9]XXXXXXX,1,Macro(saida_celular,${EXTEN})
exten => _XX[0-6]XXXXXXX,1,Macro(saida_azzu,${EXTEN})
exten => _XX[7-9]XXXXXXX,1,Macro(saida_celular,${EXTEN})
Alguém já teve problemas assim? Tem alguma solução?
Grato.
[]'s
Junior Polegato
Mais detalhes sobre a lista de discussão AsteriskBrasil