[asterisk-r2] Problem with R2 Trixbox + openlibr2 + embratel

Edison Sprandel - ABYZ TI Edison.Sprandel at abyzti.com.br
Tue Dec 9 05:28:00 CST 2008


Hi, i'm have instaled a trixbox 2.6.1.13, asterisk 1.4.21.2-4 with libopenr2 0.1.1 revision 79, Digium Card TE122.
The problem is that the calls hangup randomly, the log of mfcr2 follows : (this is an outbound call)

[14:36:32:581] [Thread: 22608784] [Chan 1] - Call started at Fri Dec  5 14:36:32 2008 on chan 1
[14:36:32:581] [Thread: 22608784] [Chan 1] - ABCD Tx >> [SEIZE] 0x00
[14:36:32:581] [Thread: 22608784] [Chan 1] - ABCD Raw Tx >> 0x01
[14:36:32:671] [Thread: 22608784] [Chan 1] - Bits changed from 0x08 to 0x0C
[14:36:32:671] [Thread: 22608784] [Chan 1] - ABCD Rx << [SEIZE ACK] 0x0C
[14:36:32:671] [Thread: 22608784] [Chan 1] - Sending DNIS digit 3
[14:36:32:671] [Thread: 22608784] [Chan 1] - MF Tx >> 3 [ON]
[14:36:32:760] [Thread: 22608784] [Chan 1] - MF Rx << 5 [ON]
[14:36:32:760] [Thread: 22608784] [Chan 1] - MF Tx >> 3 [OFF]
[14:36:32:840] [Thread: 22608784] [Chan 1] - MF Rx << 5 [OFF]
[14:36:32:840] [Thread: 22608784] [Chan 1] - Sending category National Subscriber
[14:36:32:840] [Thread: 22608784] [Chan 1] - MF Tx >> 1 [ON]
[14:36:32:960] [Thread: 22608784] [Chan 1] - MF Rx << 1 [ON]
[14:36:32:960] [Thread: 22608784] [Chan 1] - MF Tx >> 1 [OFF]
[14:36:33:040] [Thread: 22608784] [Chan 1] - MF Rx << 1 [OFF]
[14:36:33:040] [Thread: 22608784] [Chan 1] - Sending DNIS digit 0
[14:36:33:040] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [ON]
[14:36:33:120] [Thread: 22608784] [Chan 1] - MF Rx << 1 [ON]
[14:36:33:120] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [OFF]
[14:36:33:180] [Thread: 22608784] [Chan 1] - MF Rx << 1 [OFF]
[14:36:33:180] [Thread: 22608784] [Chan 1] - Sending DNIS digit 6
[14:36:33:180] [Thread: 22608784] [Chan 1] - MF Tx >> 6 [ON]
[14:36:33:260] [Thread: 22608784] [Chan 1] - MF Rx << 1 [ON]
[14:36:33:260] [Thread: 22608784] [Chan 1] - MF Tx >> 6 [OFF]
[14:36:33:340] [Thread: 22608784] [Chan 1] - MF Rx << 1 [OFF]
[14:36:33:340] [Thread: 22608784] [Chan 1] - Sending DNIS digit 5
[14:36:33:340] [Thread: 22608784] [Chan 1] - MF Tx >> 5 [ON]
[14:36:33:420] [Thread: 22608784] [Chan 1] - MF Rx << 1 [ON]
[14:36:33:420] [Thread: 22608784] [Chan 1] - MF Tx >> 5 [OFF]
[14:36:33:480] [Thread: 22608784] [Chan 1] - MF Rx << 1 [OFF]
[14:36:33:480] [Thread: 22608784] [Chan 1] - Sending DNIS digit 0
[14:36:33:480] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [ON]
[14:36:33:560] [Thread: 22608784] [Chan 1] - MF Rx << 1 [ON]
[14:36:33:560] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [OFF]
[14:36:33:640] [Thread: 22608784] [Chan 1] - MF Rx << 1 [OFF]
[14:36:33:640] [Thread: 22608784] [Chan 1] - Sending DNIS digit 0
[14:36:33:640] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [ON]
[14:36:33:720] [Thread: 22608784] [Chan 1] - MF Rx << 1 [ON]
[14:36:33:720] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [OFF]
[14:36:33:780] [Thread: 22608784] [Chan 1] - MF Rx << 1 [OFF]
[14:36:33:780] [Thread: 22608784] [Chan 1] - Sending DNIS digit 0
[14:36:33:780] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [ON]
[14:36:33:860] [Thread: 22608784] [Chan 1] - MF Rx << 1 [ON]
[14:36:33:860] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [OFF]
[14:36:33:940] [Thread: 22608784] [Chan 1] - MF Rx << 1 [OFF]
[14:36:33:940] [Thread: 22608784] [Chan 1] - Sending DNIS digit 0
[14:36:33:940] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [ON]
[14:36:35:900] [Thread: 22608784] [Chan 1] - MF Rx << 3 [ON]
[14:36:35:900] [Thread: 22608784] [Chan 1] - MF Tx >> 0 [OFF]
[14:36:35:980] [Thread: 22608784] [Chan 1] - MF Rx << 3 [OFF]
[14:36:35:980] [Thread: 22608784] [Chan 1] - Sending category National Subscriber
[14:36:35:980] [Thread: 22608784] [Chan 1] - MF Tx >> 1 [ON]
[14:36:36:040] [Thread: 22608784] [Chan 1] - MF Rx << 1 [ON]
[14:36:36:040] [Thread: 22608784] [Chan 1] - MF Tx >> 1 [OFF]
[14:36:36:120] [Thread: 22608784] [Chan 1] - MF Rx << 1 [OFF]
[14:36:36:447] [Thread: 22608784] [Chan 1] - Bits changed from 0x0C to 0x04
[14:36:36:447] [Thread: 22608784] [Chan 1] - ABCD Rx << [ANSWER] 0x04
[14:40:25:261] [Thread: 22608784] [Chan 1] - ABCD Tx >> [CLEAR FORWARD] 0x08
[14:40:25:261] [Thread: 22608784] [Chan 1] - ABCD Raw Tx >> 0x09
[14:40:25:439] [Thread: 20302736] [Chan 1] - Bits changed from 0x04 to 0x08
[14:40:25:439] [Thread: 20302736] [Chan 1] - ABCD Rx << [IDLE] 0x08
[14:40:25:439] [Thread: 20302736] [Chan 1] - Call ended


The problem was reduced after the personal intervention of Embratel change settings of the grounding and switched the power source of the radio.


Here is my Zapata.conf:

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]


language=en
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;MFCR2 settings
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
mfcr2_call_files=yes
mfcr2_metering_pulse_timeout=300
mfcr2_allow_collect_calls=yes
mfcr2_forced_release=yes
mfcr2_double_answer=yes
context=from-zaptel
channel => 1-15,17-31


;faxdetect=both
faxdetect=no
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

;group=1

;Include AMP configs
#include zapata_additional.conf


And my zaptel.conf:

# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER)
span=1,1,0,cas,hdb3
# termtype: te
cas=1-15:1101
dchan=16
cas=17-31:1101

# Global data

loadzone        = br
defaultzone     = br

Does anyone have any tips?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20081209/c7155882/attachment-0001.htm 


More information about the asterisk-r2 mailing list