[AsteriskBrasil] chamadas entrantes e1 R2 da embratel

cooper cooper cooper em opentime.com.br
Segunda Setembro 13 08:29:37 BRT 2010


Bom dia a todoso, tenho um elastix 2.0 mais acontece o mesmo no 1.6.

tenho  saida para chamdas pelo e1 mais tdas as chamadas que entram, assim
que atendiadas a chamada se corta.

a conf do meu chan_dahdi.conf
[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes

signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all

context=from-trunk
group=0
callgroup=0
pickupgroup=0
channel => 1-6


e o log da chamada  de entrada

obrigado

[Sep 13 07:24:38] NOTICE[3188] chan_sip.c: Failed to authenticate on
REGISTER to 'gflrsm em vono.net.br' (Tries 3)
[Sep 13 07:24:39] NOTICE[3188] chan_sip.c: Registration from '<
sip:5548 em 200.247.91.123 <sip%3A5548 em 200.247.91.123>>' failed for
'189.26.142.95' - Wrong password

[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - Bits changed from 0x08
to 0x00
[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - CAS Rx << [SEIZE] 0x00
[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - Call started at Mon Sep
13 07:24:43 2010 on chan 1 [openr2 version 1.3.0, revision (release)]
[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - Initialized R2 MF
detector
[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - CAS Tx >> [SEIZE ACK]
0x0C
[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x0D
[Sep 13 07:24:43] VERBOSE[3192] chan_dahdi.c: New MFC/R2 call detected on
chan 1.
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 5 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting DNIS digit 5
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - DNIS so far: 5,
expected length: 4
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Requesting next DNIS
with signal 0x31.
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 5 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 5 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting DNIS digit 5
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - DNIS so far: 55,
expected length: 4
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Requesting next DNIS
with signal 0x31.
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 5 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting DNIS digit 0
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - DNIS so far: 550,
expected length: 4
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Requesting next DNIS
with signal 0x31.
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting DNIS digit 0
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - DNIS so far: 5500,
expected length: 4
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Done getting DNIS!
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 4 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 4
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 4, expected
length: 20
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 4 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 8 [ON]
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 8
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 48,
expected length: 20
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 8 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 3 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 3
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 483,
expected length: 20
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 3 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 2
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 4832,
expected length: 20
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 1
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 48321,
expected length: 20
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 2
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 483212,
expected length: 20
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 0
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 4832120,
expected length: 20
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 4 [ON]
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 4
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 48321204,
expected length: 20
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 4 [OFF]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 3 [ON]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 3
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 483212043,
expected length: 20
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 3 [OFF]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [ON]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 2
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 4832120432,
expected length: 20
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [OFF]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << F [ON]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - Got end of ANI
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - By-passing B/II
signals, accept the call with signal 0x0
[Sep 13 07:24:46] VERBOSE[3192] chan_dahdi.c: MFC/R2 call offered on chan 1.
ANI = 4832120432, DNIS = 5500, Category = National Subscriber
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Accepting MFC/R2 call with
charge on chan 1
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << F [OFF]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - calling timer 18
(r2_answer_delay) callback
[Sep 13 07:24:46] VERBOSE[3192] chan_dahdi.c: MFC/R2 call has been accepted
on backward channel 1
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [5500 em from-trunk:1]
Set("DAHDI/1-1", "__FROM_DID=5500") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [5500 em from-trunk:2]
Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing
[s em app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing
[s em app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new
stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing
[s em app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [5500 em from-trunk:3]
ExecIf("DAHDI/1-1", "0 ?Set(CALLERID(name)=4832120432)") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [5500 em from-trunk:4]
Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [5500 em from-trunk:5]
Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [5500 em from-trunk:6]
Goto("DAHDI/1-1", "disa,1,1") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Goto (disa,1,1)
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [1 em disa:1]
Set("DAHDI/1-1", "_DISA="disa,1,newcall"") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [1 em disa:2]
Set("DAHDI/1-1", "_DISACONTEXT=from-internal") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [1 em disa:3]
Set("DAHDI/1-1", "_KEEPCID=TRUE") in new stack
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [1 em disa:4]
Set("DAHDI/1-1", "TIMEOUT(digit)=5") in new stack
[Sep 13 07:24:46] VERBOSE[26688] func_timeout.c:     -- Digit timeout set to
5.000
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [1 em disa:5]
Set("DAHDI/1-1", "TIMEOUT(response)=10") in new stack
[Sep 13 07:24:46] VERBOSE[26688] func_timeout.c:     -- Response timeout set
to 10.000
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:     -- Executing [1 em disa:6]
DISA("DAHDI/1-1", "no-password,disa-dial") in new stack
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Answering MFC/R2 call on chan 1
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Tx >> [ANSWER]
0x04
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x05
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: bits changed in chan 1
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - Bits changed from 0x00
to 0x08
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Rx << [CLEAR
FORWARD] 0x08
[Sep 13 07:24:46] VERBOSE[26688] chan_dahdi.c: Chan 1 - Far end
disconnected. Reason: Normal Clearing
[Sep 13 07:24:46] VERBOSE[26688] chan_dahdi.c: MFC/R2 call disconnected on
channel 1
[Sep 13 07:24:46] VERBOSE[26688] pbx.c:   == Spawn extension (disa, 1, 6)
exited non-zero on 'DAHDI/1-1'
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: disconnecting MFC/R2 call on
chan 1
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: ast cause 0 resulted in openr2
cause 6/Normal Clearing
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - Call ended
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Tx >> [IDLE] 0x08
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x09
[Sep 13 07:24:46] VERBOSE[26688] chan_dahdi.c: MFC/R2 call end on channel 1
[Sep 13 07:24:46] VERBOSE[26688] chan_dahdi.c:     -- Hungup 'DAHDI/1-1'
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100913/3ad204b5/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil