[asterisk-r2] Calls dropped by asterisk with R2 Telmex
blackgecko
blackgecko at gmail.com
Mon Jan 18 21:33:43 CST 2010
Hi guys:
I have an elastix PBX using a Sangoma a101 pci card to connect a fractional
E1 with TELMEX in Queretaro, the problem is that the calls get hanged up
real quick with no aparent reason at all.when theres only one call it works
all rigth, but when theres more the other calls get dropped.
heres my config
#Dahdi Channels Configurations
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak
loadzone=us
defaultzone=us
#Sangoma A101 port 1 [slot:0 bus:3 span:1] <wanpipe1>
span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
dchan =16
echocanceller=mg2,1-15,17-31
#/etc/asterisk/chan_dahdi.conf
context=from-zaptel
signalling=mfcr2
mfcr2_variant=mx
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=log
mfcr2_call_files=yes
mfcr2_logging=debug
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
mfcr2_allow_collect_calls=no
mfcr2_double_answer=no
mfcr2_forced_release=no
mfcr2_charge_calls=yes
group=0
channel =>1-10
Heres a call file of a dropped call, hope you can help me to solve this
issue
[21:12:45:301] [Thread: 3068021648] [Chan 2] - Call started at Mon Jan 18
21:12:45 2010 on chan 2 [openr2 version 1.2.0, revision (release)]
[21:12:45:301] [Thread: 3068021648] [Chan 2] - CAS Tx >> [SEIZE] 0x00
[21:12:45:301] [Thread: 3068021648] [Chan 2] - CAS Raw Tx >> 0x01
[21:12:45:301] [Thread: 3068021648] [Chan 2] - scheduled timer id 2
(r2_seize)
[21:12:45:343] [Thread: 3068021648] [Chan 2] - Bits changed from 0x08 to
0x0C
[21:12:45:343] [Thread: 3068021648] [Chan 2] - CAS Rx << [SEIZE ACK] 0x0C
[21:12:45:343] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 2
[21:12:45:343] [Thread: 3068021648] [Chan 2] - timer id 2 found, cancelling
it now
[21:12:45:343] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 0
[21:12:45:343] [Thread: 3068021648] [Chan 2] - MF Tx >> 0 [ON]
[21:12:45:420] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:45:420] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:45:420] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:45:420] [Thread: 3068021648] [Chan 2] - MF Tx >> 0 [OFF]
[21:12:45:480] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:45:480] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 1
[21:12:45:480] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [ON]
[21:12:45:480] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:45:540] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:45:540] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:45:540] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:45:540] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [OFF]
[21:12:45:620] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:45:620] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 7
[21:12:45:620] [Thread: 3068021648] [Chan 2] - MF Tx >> 7 [ON]
[21:12:45:620] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:45:680] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:45:680] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:45:680] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:45:680] [Thread: 3068021648] [Chan 2] - MF Tx >> 7 [OFF]
[21:12:45:740] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:45:740] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 7
[21:12:45:740] [Thread: 3068021648] [Chan 2] - MF Tx >> 7 [ON]
[21:12:45:740] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:45:800] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:45:800] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:45:800] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:45:800] [Thread: 3068021648] [Chan 2] - MF Tx >> 7 [OFF]
[21:12:45:860] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:45:860] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 1
[21:12:45:860] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [ON]
[21:12:45:860] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:45:920] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:45:920] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:45:920] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:45:920] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [OFF]
[21:12:45:980] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:45:980] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 1
[21:12:45:980] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [ON]
[21:12:45:980] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:46:040] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:46:040] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:46:040] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:46:040] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [OFF]
[21:12:46:120] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:46:120] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 4
[21:12:46:120] [Thread: 3068021648] [Chan 2] - MF Tx >> 4 [ON]
[21:12:46:120] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:46:180] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:46:180] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:46:180] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:46:180] [Thread: 3068021648] [Chan 2] - MF Tx >> 4 [OFF]
[21:12:46:240] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:46:240] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 5
[21:12:46:240] [Thread: 3068021648] [Chan 2] - MF Tx >> 5 [ON]
[21:12:46:240] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:46:300] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:46:300] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:46:300] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:46:300] [Thread: 3068021648] [Chan 2] - MF Tx >> 5 [OFF]
[21:12:46:360] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:46:360] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 1
[21:12:46:360] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [ON]
[21:12:46:360] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:46:440] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:46:440] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:46:440] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:46:440] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [OFF]
[21:12:46:520] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:46:520] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 5
[21:12:46:520] [Thread: 3068021648] [Chan 2] - MF Tx >> 5 [ON]
[21:12:46:520] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:46:580] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:46:580] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:46:580] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:46:580] [Thread: 3068021648] [Chan 2] - MF Tx >> 5 [OFF]
[21:12:46:640] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:46:640] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 5
[21:12:46:640] [Thread: 3068021648] [Chan 2] - MF Tx >> 5 [ON]
[21:12:46:640] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:46:700] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:46:700] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:46:700] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:46:700] [Thread: 3068021648] [Chan 2] - MF Tx >> 5 [OFF]
[21:12:46:760] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:46:760] [Thread: 3068021648] [Chan 2] - Sending DNIS digit 2
[21:12:46:760] [Thread: 3068021648] [Chan 2] - MF Tx >> 2 [ON]
[21:12:46:760] [Thread: 3068021648] [Chan 2] - Group A DNIS request handled
[21:12:47:220] [Thread: 3068021648] [Chan 2] - MF Rx << 3 [ON]
[21:12:47:220] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:47:220] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:47:220] [Thread: 3068021648] [Chan 2] - MF Tx >> 2 [OFF]
[21:12:47:300] [Thread: 3068021648] [Chan 2] - MF Rx << 3 [OFF]
[21:12:47:300] [Thread: 3068021648] [Chan 2] - Sending category National
Subscriber
[21:12:47:300] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [ON]
[21:12:47:360] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [ON]
[21:12:47:360] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:47:360] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:12:47:360] [Thread: 3068021648] [Chan 2] - MF Tx >> 1 [OFF]
[21:12:47:420] [Thread: 3068021648] [Chan 2] - MF Rx << 1 [OFF]
[21:12:47:420] [Thread: 3068021648] [Chan 2] - scheduled timer id 3
(r2_answer)
[21:12:54:815] [Thread: 3068021648] [Chan 2] - Bits changed from 0x0C to
0x04
[21:12:54:815] [Thread: 3068021648] [Chan 2] - CAS Rx << [ANSWER] 0x04
[21:12:54:815] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 3
[21:12:54:816] [Thread: 3068021648] [Chan 2] - timer id 3 found, cancelling
it now
[21:12:54:816] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:12:54:816] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:13:33:523] [Thread: 3068021648] [Chan 2] - Attempting to cancel timer
timer 0
[21:13:33:523] [Thread: 3068021648] [Chan 2] - Cannot cancel timer 0
[21:13:33:523] [Thread: 3068021648] [Chan 2] - CAS Tx >> [CLEAR FORWARD]
0x08
[21:13:33:523] [Thread: 3068021648] [Chan 2] - CAS Raw Tx >> 0x09
[21:13:33:567] [Thread: 3069004688] [Chan 2] - Bits changed from 0x04 to
0x08
[21:13:33:567] [Thread: 3069004688] [Chan 2] - CAS Rx << [IDLE] 0x08
[21:13:33:567] [Thread: 3069004688] [Chan 2] - Call ended
[21:13:33:567] [Thread: 3069004688] [Chan 2] - Attempting to cancel timer
timer 0
[21:13:33:567] [Thread: 3069004688] [Chan 2] - Cannot cancel timer 0
thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20100118/0a7bfa0e/attachment-0001.htm
More information about the asterisk-r2
mailing list