[asterisk-r2] Fwd: Problema con Astribank y E1 R2

Oscar Rocha orochamty at hotmail.com
Thu Jul 24 12:43:54 CDT 2014


Es debido a un problema con el módulo DAHDI de Asterisk, a partir de la versión 2.7 tiene problemas con señalización R2. Lo que debes hacer es bajar de versión el DAHDI a la 2.6.

Date: Thu, 24 Jul 2014 11:01:55 -0500
From: wrioram at gmail.com
To: asterisk-r2 at lists.digium.com
Subject: [asterisk-r2] Fwd: Problema con Astribank y E1 R2

Tengo problemas para conectarme a la central Ericsson del
proveedor de servicios usando un Astribank de XORCOM con dos E1 R2 configurados
con todos los canales bidireccionales.


La PBX y la central pública se conectan y las llamadas entran
y salen pero solo por el canal uno de cada uno de los E1. Si la comunicación en
cualquier dirección se intenta por otro canal que no sea los mencionados la
central y la PBX intercambian señalización pero antes de intercambiar del número
marcado la central publica corta la comunicación.


A continuación los logs de una llamada fallida por el canal 3 de un flujo. Incluyo también algunos ficheros de
configuración.

--- Log de llamada fallida de salida de la PBX:

[10:02:04:529]
[Thread: 3055549328] [Chan 3] - Call started at Tue Jul 15 10:02:04 2014 on
chan 3 [openr2 version 1.3.3, revision (release)]

[10:02:04:529] [Thread: 3055549328] [Chan 3] - Outgoing call proceeding:
ANI=2637120, DNIS=052867339, Category=National Subscriber

[10:02:04:529] [Thread: 3055549328] [Chan 3] - CAS Tx >> [SEIZE]
0x00

[10:02:04:529] [Thread: 3055549328] [Chan 3] - CAS Raw Tx >> 0x01

[10:02:04:529] [Thread: 3055549328] [Chan 3] - scheduled timer id 2
(r2_seize)

[10:02:04:601] [Thread: 3055549328] [Chan 3] - Bits changed from 0x08 to
0x0C

[10:02:04:601] [Thread: 3055549328] [Chan 3] - CAS Rx << [SEIZE ACK]
0x0C

[10:02:04:601] [Thread: 3055549328] [Chan 3] - Attempting to cancel timer timer
2

[10:02:04:601] [Thread: 3055549328] [Chan 3] - timer id 2 found, cancelling it
now

[10:02:04:601] [Thread: 3055549328] [Chan 3] - MFC/R2 call acknowledge!

[10:02:04:601] [Thread: 3055549328] [Chan 3] - Sending DNIS digit 0

[10:02:04:601] [Thread: 3055549328] [Chan 3] - MF Tx >> 0 [ON]

[10:02:46:468] [Thread: 3055549328] [Chan 3] - Bits changed from 0x0C to
0x00

[10:02:46:468] [Thread: 3055549328] [Chan 3] - CAS Rx << [FORCED RELEASE]
0x00

[10:02:46:468] [Thread: 3055549328] [Chan 3] - Disconnection before accept
detected!

[10:02:46:468] [Thread: 3055549328] [Chan 3] - Far end disconnected. Reason:
Forced Release

[10:02:46:469] [Thread: 3055549328] [Chan 3] - Attempting to cancel timer timer
0

[10:02:46:469] [Thread: 3055549328] [Chan 3] - Cannot cancel timer 0

[10:02:46:469] [Thread: 3055549328] [Chan 3] - CAS Tx >> [CLEAR FORWARD]
0x08

[10:02:46:469] [Thread: 3055549328] [Chan 3] - CAS Raw Tx >> 0x09

[10:02:46:500] [Thread: 3067456400] [Chan 3] - Bits changed from 0x00 to
0x08

[10:02:46:500] [Thread: 3067456400] [Chan 3] - CAS Rx << [IDLE]
0x08

[10:02:46:500] [Thread: 3067456400] [Chan 3] - Call ended

[10:02:46:500] [Thread: 3067456400] [Chan 3] - Attempting to cancel timer timer
0

[10:02:46:500] [Thread: 3067456400] [Chan 3] - Cannot cancel timer 0

 


-----Archivos de Configuración.--------



-----system.conf




# This file is parsed by the Dahdi
Configurator, dahdi_cfg

#

# Span 1: XBUS-00/XPD-00 "Xorcom XPD
[usb:X1061826].1: E1" (MASTER) HDB3 ClockSource 

span=1,0,0,cas,hdb3

cas=1-15:1101

cas=17-31:1101

echocanceller=oslec,1-31

 

# Span 2: XBUS-00/XPD-01 "Xorcom XPD
[usb:X1061826].2: E1" HDB3 

span=2,0,0,cas,hdb3

cas=32-46:1101

cas=48-62:1101

echocanceller=oslec,32-62

 

# Span 3: XBUS-01/XPD-00 "Xorcom XPD
[usb:X1061392].1: FXS" 

fxoks=63

echocanceller=oslec,63

fxoks=64

echocanceller=oslec,64

fxoks=65

echocanceller=oslec,65

fxoks=66

echocanceller=oslec,66

fxoks=67

echocanceller=oslec,67

fxoks=68

echocanceller=oslec,68

fxoks=69

echocanceller=oslec,69

fxoks=70

echocanceller=oslec,70

# astbanktype: output

fxoks=71

echocanceller=oslec,71

# astbanktype: output

fxoks=72

echocanceller=oslec,72

# astbanktype: input

fxoks=73

echocanceller=oslec,73

# astbanktype: input

fxoks=74

echocanceller=oslec,74

# astbanktype: input

fxoks=75

echocanceller=oslec,75

# astbanktype: input

fxoks=76

echocanceller=oslec,76

 

# Span 4: XBUS-01/XPD-10 "Xorcom XPD
[usb:X1061392].2: FXO" 

fxsks=77

echocanceller=oslec,77

fxsks=78

echocanceller=oslec,78

fxsks=79

echocanceller=oslec,79

fxsks=80

echocanceller=oslec,80

fxsks=81

echocanceller=oslec,81

fxsks=82

echocanceller=oslec,82

fxsks=83

echocanceller=oslec,83

fxsks=84

echocanceller=oslec,84

 

# Global data

 

loadzone           =
us

defaultzone      =
us

 

--------------

---------chan_dahdi.conf

[trunkgroups]

 

[channels]

context=from-pstn

language=es

usecallerid=yes

usecallingores=yes

callwaiting=yes

callwaitingcallerid=yes

threewaycalling=yes

transfer=yes

canpark=yes

cancallforward=yes

callreturn=yes

echocancelwhenbridged=yes

echotraining=800

relaxdtmf=yes

busydetect=yes

busycount=3

rxgain=0.0

txgain=0.0

inmediate=no

 

;Group for Span1 channels

group=1

context=from-pstn

signalling=mfcr2

mfcr2_variant=itu

mfcr2_get_ani_first=yes

mfcr2_max_ani=10

mfcr2_max_dnis=10

mfcr2_category=national_subscriber

mfcr2_logdir=span1

mfcr2_loggin=all

mfcr2_max_call_files=yes

mfcr2_mfback_timeout=-1

mfcr2_metering_pulse_timeout=-1

echocancel=yes

channel => 1-15,17-31,32-46,48-62

 

#include dahdi-channels.conf

#include chan_dahdi_additional.conf



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-r2 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20140724/11a453b9/attachment-0001.html>


More information about the asterisk-r2 mailing list