[asterisk-r2] Problema con llamadas entrantes
juan lopez
juanlopez232 at hotmail.com
Wed Jul 14 15:12:06 CDT 2010
Hola que tal soy de Argentina, y tengo un problema con las llamadas entrantes. Las llamadas salientes las hago sin ningun problema.
tengo una Wildcard TE420 (4th Gen) (VPMOCT128) Digium conectada a una e1 de IPLAN. cuando hago una llamda al numero me da ocupado. luego en el cli de Asterisk observo algo como: mfc/r2 call detected in channel x...etc a medida que van entrando las llamadas pero en ningun mometo me asocia el canal con el contexto. Alguien tiene alguna idea de lo que esta pasando. Gracias y saludos.
* Asterisk 1.6.2.7
* freepbx
* CentOS release 5.4 (Final)
* OpenR2 version: 1.3.0, revision: exported
* Wildcard TE420 (4th Gen) (VPMOCT128) Digium
Configuration:
***************************************************************************
/etc/dahdi/system.conf.
# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/ RED
span=1,1,0,cas,hdb3
# termtype: te
cas=1-15,17-31:1101
dchan=16
echocanceller=mg2,1-15,17-31
# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/ RED
span=2,2,0,cas,hdb3
# termtype: te
cas=32-46,48-62:1101
dchan=47
echocanceller=mg2,32-46,48-62
# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/ RED
span=3,0,0,cas,hdb3
# termtype: te
cas=63-77,79-93:1101
dchan=78
echocanceller=mg2,63-77,79-93
# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" (MASTER) HDB3/ RED
span=4,0,0,cas,hdb3
# termtype: te
cas=94-108,110-124:1101
dchan=109
echocanceller=mg2,94-108,110-124
# Global data
loadzone = ar
defaultzone = ar
*********************************************************************************************
chan_dahdi.conf note:
; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/ RED
group=0,11
context=from-pstn
;switchtype = euroisdn
signalling = mfcr2
caller = no
mfcr2_logdir = span1
mfcr2_variant=ar
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_logdir=span1
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
channel => 1-15,17-31
; Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/ RED
group=0,12
context=from-pstn
;switchtype = euroisdn
signalling = mfcr2
caller = no
mfcr2_logdir = span2
mfcr2_variant=ar
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
channel => 32-46,48-62
; Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/ RED
group=0,13
context=from-pstn
;switchtype = euroisdn
signalling = mfcr2
caller = no
mfcr2_logdir = span3
mfcr2_variant=ar
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
channel => 63-77,79-93
; Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" (MASTER) HDB3/ RED
group=0,14
context=from-pstn
;switchtype = euroisdn
signalling = mfcr2
caller = no
mfcr2_logdir = span4
mfcr2_variant=ar
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
channel => 94-108,110-124
*******************************************************************************************************
tail -50 /var/log/asterisk/full
[Jul 13 19:14:50] DEBUG[9791] chan_dahdi.c: Chan 19 - Alarm Raised
[Jul 13 19:14:50] WARNING[9791] chan_dahdi.c: Detected alarm on channel 19: Red Alarm
[Jul 13 19:14:50] DEBUG[9791] chan_dahdi.c: Chan 20 - Alarm Raised
[Jul 13 19:14:50] WARNING[9791] chan_dahdi.c: Detected alarm on channel 20: Red Alarm
[Jul 13 19:14:50] DEBUG[9791] chan_dahdi.c: Chan 21 - Alarm Raised
[Jul 13 19:14:50] WARNING[9791] chan_dahdi.c: Detected alarm on channel 21: Red Alarm
[Jul 13 19:14:50] DEBUG[9792] chan_dahdi.c: Chan 23 - Alarm Raised
[Jul 13 19:14:50] WARNING[9792] chan_dahdi.c: Detected alarm on channel 23: Red Alarm
[Jul 13 19:14:50] DEBUG[9792] chan_dahdi.c: Chan 24 - Alarm Raised
[Jul 13 19:14:50] WARNING[9792] chan_dahdi.c: Detected alarm on channel 24: Red Alarm
[Jul 13 19:14:50] DEBUG[9792] chan_dahdi.c: Chan 25 - Alarm Raised
[Jul 13 19:14:50] WARNING[9792] chan_dahdi.c: Detected alarm on channel 25: Red Alarm
[Jul 13 19:14:50] DEBUG[9792] chan_dahdi.c: Chan 26 - Alarm Raised
[Jul 13 19:14:50] WARNING[9792] chan_dahdi.c: Detected alarm on channel 26: Red Alarm
[Jul 13 19:14:50] DEBUG[9792] chan_dahdi.c: Chan 27 - Alarm Raised
[Jul 13 19:14:50] WARNING[9792] chan_dahdi.c: Detected alarm on channel 27: Red Alarm
[Jul 13 19:14:50] DEBUG[9792] chan_dahdi.c: Chan 28 - Alarm Raised
[Jul 13 19:14:50] WARNING[9792] chan_dahdi.c: Detected alarm on channel 28: Red Alarm
[Jul 13 19:14:50] DEBUG[9792] chan_dahdi.c: Chan 29 - Alarm Raised
[Jul 13 19:14:50] WARNING[9792] chan_dahdi.c: Detected alarm on channel 29: Red Alarm
[Jul 13 19:14:50] DEBUG[9792] chan_dahdi.c: Chan 30 - Alarm Raised
[Jul 13 19:14:50] WARNING[9792] chan_dahdi.c: Detected alarm on channel 30: Red Alarm
[Jul 13 19:14:50] DEBUG[9792] chan_dahdi.c: Chan 31 - Alarm Raised
[Jul 13 19:14:50] WARNING[9792] chan_dahdi.c: Detected alarm on channel 31: Red Alarm
[Jul 13 19:14:50] DEBUG[9791] chan_dahdi.c: Chan 15 - calling timer 16 (mf_back_cycle) callback
[Jul 13 19:14:50] WARNING[9791] chan_dahdi.c: Chan 15 - MF back cycle timed out!
[Jul
13 19:14:50] ERROR[9791] chan_dahdi.c: Chan 15 - Protocol error. Reason
= Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF
state = Change To Group II Request Transmitted, MF Group = Backward
Group B, CAS = 0x00
DNIS = 4500, ANI = 1135264417, MF = 0x20
[Jul 13 19:14:50] DEBUG[9791] chan_dahdi.c: Chan 15 - CAS Tx >> [IDLE] 0x08
[Jul 13 19:14:50] DEBUG[9791] chan_dahdi.c: Chan 15 - CAS Raw Tx >> 0x09
[Jul 13 19:14:50] ERROR[9791] chan_dahdi.c: MFC/R2 protocol error on chan 15: Multi Frequency Cycle Timeout
[Jul 13 19:14:52] DEBUG[9791] chan_dahdi.c: Chan 17 - calling timer 16 (mf_back_cycle) callback
[Jul 13 19:14:52] WARNING[9791] chan_dahdi.c: Chan 17 - MF back cycle timed out!
[Jul
13 19:14:52] ERROR[9791] chan_dahdi.c: Chan 17 - Protocol error. Reason
= Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF
state = Change To Group II Request Transmitted, MF Group = Backward
Group B, CAS = 0x00
DNIS = 4527, ANI = 1143730993, MF = 0x20
[Jul 13 19:14:52] DEBUG[9791] chan_dahdi.c: Chan 17 - CAS Tx >> [IDLE] 0x08
[Jul 13 19:14:52] DEBUG[9791] chan_dahdi.c: Chan 17 - CAS Raw Tx >> 0x09
[Jul 13 19:14:52] ERROR[9791] chan_dahdi.c: MFC/R2 protocol error on chan 17: Multi Frequency Cycle Timeout
[Jul 13 19:14:53] DEBUG[9791] chan_dahdi.c: Chan 18 - calling timer 15 (mf_back_cycle) callback
[Jul 13 19:14:53] WARNING[9791] chan_dahdi.c: Chan 18 - MF back cycle timed out!
[Jul
13 19:14:53] ERROR[9791] chan_dahdi.c: Chan 18 - Protocol error. Reason
= Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF
state = ANI Request Transmitted, MF Group = Backward Group A, CAS = 0x00
DNIS = 4500, ANI = 114659801, MF = 0x20
[Jul 13 19:14:53] DEBUG[9791] chan_dahdi.c: Chan 18 - CAS Tx >> [IDLE] 0x08
[Jul 13 19:14:53] DEBUG[9791] chan_dahdi.c: Chan 18 - CAS Raw Tx >> 0x09
[Jul 13 19:14:53] ERROR[9791] chan_dahdi.c: MFC/R2 protocol error on chan 18: Multi Frequency Cycle Timeout
[Jul 13 19:22:05] VERBOSE[29787] asterisk.c: -- Remote UNIX connection disconnected
[Jul 13 19:48:47] VERBOSE[9780] asterisk.c: -- Remote UNIX connection
[Jul 13 19:50:23] VERBOSE[29823] asterisk.c: -- Remote UNIX connection disconnected
[Jul 13 19:55:45] VERBOSE[9780] asterisk.c: -- Remote UNIX connection
[Jul 13 20:00:24] VERBOSE[29830] asterisk.c: -- Remote UNIX connection disconnected
**************************************************************************************************************************************
vim /var/log/asterisk/mfcr2/span1
[19:06:15:769]
[Thread: 1104075072] [Chan 8] - Call started at Mon Jul 13 19:06:15
2009 on chan 8 [openr2 version 1.3.0, revision exportado]
[19:06:15:769] [Thread: 1104075072] [Chan 8] - Initialized R2 MF detector
[19:06:15:769] [Thread: 1104075072] [Chan 8] - CAS Tx >> [SEIZE ACK] 0x0C
[19:06:15:769] [Thread: 1104075072] [Chan 8] - CAS Raw Tx >> 0x0D
[19:06:16:082] [Thread: 1104075072] [Chan 8] - MF Rx << 4 [ON]
[19:06:16:082] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 0
[19:06:16:082] [Thread: 1104075072] [Chan 8] - Cannot cancel timer 0
[19:06:16:082] [Thread: 1104075072] [Chan 8] - Getting DNIS digit 4
[19:06:16:082] [Thread: 1104075072] [Chan 8] - DNIS so far: 4, expected length: 4
[19:06:16:082] [Thread: 1104075072] [Chan 8] - User requested us to stop getting DNIS!
[19:06:16:082] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:16:082] [Thread: 1104075072] [Chan 8] - scheduled timer id 2 (mf_back_cycle)
[19:06:16:182] [Thread: 1104075072] [Chan 8] - MF Rx << 4 [OFF]
[19:06:16:182] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:16:282] [Thread: 1104075072] [Chan 8] - MF Rx << 1 [ON]
[19:06:16:282] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 2
[19:06:16:282] [Thread: 1104075072] [Chan 8] - timer id 2 found, cancelling it now
[19:06:16:282] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:16:282] [Thread: 1104075072] [Chan 8] - scheduled timer id 3 (mf_back_cycle)
[19:06:16:382] [Thread: 1104075072] [Chan 8] - MF Rx << 1 [OFF]
[19:06:16:382] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:16:482] [Thread: 1104075072] [Chan 8] - MF Rx << 1 [ON]
[19:06:16:482] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 3
[19:06:16:482] [Thread: 1104075072] [Chan 8] - timer id 3 found, cancelling it now
[19:06:16:482] [Thread: 1104075072] [Chan 8] - Getting ANI digit 1
[19:06:16:482] [Thread: 1104075072] [Chan 8] - ANI so far: 1, expected length: 10
[19:06:16:482] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:16:482] [Thread: 1104075072] [Chan 8] - scheduled timer id 4 (mf_back_cycle)
[19:06:16:582] [Thread: 1104075072] [Chan 8] - MF Rx << 1 [OFF]
[19:06:16:582] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:16:682] [Thread: 1104075072] [Chan 8] - MF Rx << 1 [ON]
[19:06:16:682] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 4
[19:06:16:682] [Thread: 1104075072] [Chan 8] - timer id 4 found, cancelling it now
[19:06:16:682] [Thread: 1104075072] [Chan 8] - Getting ANI digit 1
[19:06:16:682] [Thread: 1104075072] [Chan 8] - ANI so far: 11, expected length: 10
[19:06:16:682] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:16:682] [Thread: 1104075072] [Chan 8] - scheduled timer id 5 (mf_back_cycle)
[19:06:16:782] [Thread: 1104075072] [Chan 8] - MF Rx << 1 [OFF]
[19:06:16:782] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:16:882] [Thread: 1104075072] [Chan 8] - MF Rx << 4 [ON]
[19:06:16:882] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 5
[19:06:16:882] [Thread: 1104075072] [Chan 8] - timer id 5 found, cancelling it now
[19:06:16:882] [Thread: 1104075072] [Chan 8] - Getting ANI digit 4
[19:06:16:882] [Thread: 1104075072] [Chan 8] - ANI so far: 114, expected length: 10
[19:06:16:882] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:16:882] [Thread: 1104075072] [Chan 8] - scheduled timer id 6 (mf_back_cycle)
[19:06:16:982] [Thread: 1104075072] [Chan 8] - MF Rx << 4 [OFF]
[19:06:16:982] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:17:082] [Thread: 1104075072] [Chan 8] - MF Rx << 9 [ON]
[19:06:17:082] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 6
[19:06:17:082] [Thread: 1104075072] [Chan 8] - timer id 6 found, cancelling it now
[19:06:17:082] [Thread: 1104075072] [Chan 8] - Getting ANI digit 9
[19:06:17:082] [Thread: 1104075072] [Chan 8] - ANI so far: 1149, expected length: 10
[19:06:17:082] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:17:082] [Thread: 1104075072] [Chan 8] - scheduled timer id 7 (mf_back_cycle)
[19:06:17:182] [Thread: 1104075072] [Chan 8] - MF Rx << 9 [OFF]
[19:06:17:182] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:17:282] [Thread: 1104075072] [Chan 8] - MF Rx << 6 [ON]
[19:06:17:282] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 7
[19:06:17:282] [Thread: 1104075072] [Chan 8] - timer id 7 found, cancelling it now
[19:06:17:282] [Thread: 1104075072] [Chan 8] - Getting ANI digit 6
[19:06:17:282] [Thread: 1104075072] [Chan 8] - ANI so far: 11496, expected length: 10
[19:06:17:282] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:17:282] [Thread: 1104075072] [Chan 8] - scheduled timer id 8 (mf_back_cycle)
[19:06:17:382] [Thread: 1104075072] [Chan 8] - MF Rx << 6 [OFF]
[19:06:17:382] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:17:482] [Thread: 1104075072] [Chan 8] - MF Rx << 4 [ON]
[19:06:17:482] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 8
[19:06:17:482] [Thread: 1104075072] [Chan 8] - timer id 8 found, cancelling it now
[19:06:17:482] [Thread: 1104075072] [Chan 8] - Getting ANI digit 4
[19:06:17:482] [Thread: 1104075072] [Chan 8] - ANI so far: 114964, expected length: 10
[19:06:17:482] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:17:482] [Thread: 1104075072] [Chan 8] - scheduled timer id 9 (mf_back_cycle)
[19:06:17:582] [Thread: 1104075072] [Chan 8] - MF Rx << 4 [OFF]
[19:06:17:582] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:17:682] [Thread: 1104075072] [Chan 8] - MF Rx << 4 [ON]
[19:06:17:682] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 9
[19:06:17:682] [Thread: 1104075072] [Chan 8] - timer id 9 found, cancelling it now
[19:06:17:682] [Thread: 1104075072] [Chan 8] - Getting ANI digit 4
[19:06:17:682] [Thread: 1104075072] [Chan 8] - ANI so far: 1149644, expected length: 10
[19:06:17:682] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:17:682] [Thread: 1104075072] [Chan 8] - scheduled timer id 10 (mf_back_cycle)
[19:06:17:782] [Thread: 1104075072] [Chan 8] - MF Rx << 4 [OFF]
[19:06:17:782] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:17:882] [Thread: 1104075072] [Chan 8] - MF Rx << 6 [ON]
[19:06:17:882] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 10
[19:06:17:882] [Thread: 1104075072] [Chan 8] - timer id 10 found, cancelling it now
[19:06:17:882] [Thread: 1104075072] [Chan 8] - Getting ANI digit 6
[19:06:17:882] [Thread: 1104075072] [Chan 8] - ANI so far: 11496446, expected length: 10
[19:06:17:882] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:17:882] [Thread: 1104075072] [Chan 8] - scheduled timer id 11 (mf_back_cycle)
[19:06:17:982] [Thread: 1104075072] [Chan 8] - MF Rx << 6 [OFF]
[19:06:17:982] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:18:082] [Thread: 1104075072] [Chan 8] - MF Rx << 0 [ON]
[19:06:18:082] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 11
[19:06:18:082] [Thread: 1104075072] [Chan 8] - timer id 11 found, cancelling it now
[19:06:18:082] [Thread: 1104075072] [Chan 8] - Getting ANI digit 0
[19:06:18:082] [Thread: 1104075072] [Chan 8] - ANI so far: 114964460, expected length: 10
[19:06:18:082] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [ON]
[19:06:18:082] [Thread: 1104075072] [Chan 8] - scheduled timer id 12 (mf_back_cycle)
[19:06:18:182] [Thread: 1104075072] [Chan 8] - MF Rx << 0 [OFF]
[19:06:18:182] [Thread: 1104075072] [Chan 8] - MF Tx >> 5 [OFF]
[19:06:18:282] [Thread: 1104075072] [Chan 8] - MF Rx << 0 [ON]
[19:06:18:282] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 12
[19:06:18:282] [Thread: 1104075072] [Chan 8] - timer id 12 found, cancelling it now
[19:06:18:282] [Thread: 1104075072] [Chan 8] - Getting ANI digit 0
[19:06:18:282] [Thread: 1104075072] [Chan 8] - ANI so far: 1149644600, expected length: 10
[19:06:18:282] [Thread: 1104075072] [Chan 8] - Done getting ANI!
[19:06:18:282] [Thread: 1104075072] [Chan 8] - Requesting change to Group II with signal 0x33
[19:06:18:282] [Thread: 1104075072] [Chan 8] - MF Tx >> 3 [ON]
[19:06:18:282] [Thread: 1104075072] [Chan 8] - scheduled timer id 13 (mf_back_cycle)
[19:06:23:282] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 13
[19:06:23:282] [Thread: 1104075072] [Chan 8] - timer id 13 found, cancelling it now
[19:06:23:282] [Thread: 1104075072] [Chan 8] - calling timer 13 (mf_back_cycle) callback
[19:06:23:282] [Thread: 1104075072] [Chan 8] - MF back cycle timed out!
[19:06:23:282]
[Thread: 1104075072] [Chan 8] - Protocol error. Reason = Multi
Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF state =
Change To Group II Request Transmitted, MF Group = Backward Group B,
CAS = 0x00
DNIS = 4, ANI = 1149644600, MF = 0x30
[19:06:23:282] [Thread: 1104075072] [Chan 8] - Attempting to cancel timer timer 0
[19:06:23:282] [Thread: 1104075072] [Chan 8] - Cannot cancel timer 0
_________________________________________________________________
Porque pensamos que tu tiempo vale, estamos reinventando un nuevo Hotmail para vos. Descubrilo
http://www.nuevohotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20100714/7c6c86d9/attachment-0001.htm
More information about the asterisk-r2
mailing list