[asterisk-users] Problem receiving calls with Telmex in Mexico...

Carlos Chavez cursor at telecomab.mx
Mon Jan 14 11:41:25 CST 2019


     Hi.  I am having a problem when trying to receive calls via en E1 
from  Telmex using MFC/R2 (MX Variant).  Outgoing calls are fine.  We 
are using a PBXact system with a Digium TE420 (5th Gen) card.  Here is a 
log from the call:

[10:46:37:707] [Thread: 140631230322432] [Chan 1] - Call started at Sat 
Jan 12 10:46:37 2019 on chan 1 [openr2 version 1.3.3, revision (release)]
[10:46:37:707] [Thread: 140631230322432] [Chan 1] - Initialized R2 MF 
detector
[10:46:37:707] [Thread: 140631230322432] [Chan 1] - CAS Tx >> [SEIZE 
ACK] 0x0C
[10:46:37:707] [Thread: 140631230322432] [Chan 1] - CAS Raw Tx >> 0x0D
[10:46:37:781] [Thread: 140631230322432] [Chan 1] - MF Rx << 2 [ON]
[10:46:37:781] [Thread: 140631230322432] [Chan 1] - Attempting to cancel 
timer timer 0
[10:46:37:781] [Thread: 140631230322432] [Chan 1] - Cannot cancel timer 0
[10:46:37:781] [Thread: 140631230322432] [Chan 1] - Getting DNIS digit 2
[10:46:37:781] [Thread: 140631230322432] [Chan 1] - DNIS so far: 2, 
expected length: 4
[10:46:37:781] [Thread: 140631230322432] [Chan 1] - Requesting next DNIS 
with signal 0x31.
[10:46:37:781] [Thread: 140631230322432] [Chan 1] - MF Tx >> 1 [ON]
[10:46:37:781] [Thread: 140631230322432] [Chan 1] - scheduled timer id 2 
(mf_back_cycle)
[10:46:37:861] [Thread: 140631230322432] [Chan 1] - MF Rx << 2 [OFF]
[10:46:37:861] [Thread: 140631230322432] [Chan 1] - MF Tx >> 1 [OFF]
[10:46:37:921] [Thread: 140631230322432] [Chan 1] - MF Rx << 8 [ON]
[10:46:37:921] [Thread: 140631230322432] [Chan 1] - Attempting to cancel 
timer timer 2
[10:46:37:921] [Thread: 140631230322432] [Chan 1] - timer id 2 found, 
cancelling it now
[10:46:37:921] [Thread: 140631230322432] [Chan 1] - Getting DNIS digit 8
[10:46:37:921] [Thread: 140631230322432] [Chan 1] - DNIS so far: 28, 
expected length: 4
[10:46:37:921] [Thread: 140631230322432] [Chan 1] - Requesting next DNIS 
with signal 0x31.
[10:46:37:921] [Thread: 140631230322432] [Chan 1] - MF Tx >> 1 [ON]
[10:46:37:921] [Thread: 140631230322432] [Chan 1] - scheduled timer id 3 
(mf_back_cycle)
[10:46:38:001] [Thread: 140631230322432] [Chan 1] - MF Rx << 8 [OFF]
[10:46:38:001] [Thread: 140631230322432] [Chan 1] - MF Tx >> 1 [OFF]
[10:46:38:061] [Thread: 140631230322432] [Chan 1] - MF Rx << 0 [ON]
[10:46:38:061] [Thread: 140631230322432] [Chan 1] - Attempting to cancel 
timer timer 3
[10:46:38:061] [Thread: 140631230322432] [Chan 1] - timer id 3 found, 
cancelling it now
[10:46:38:061] [Thread: 140631230322432] [Chan 1] - Getting DNIS digit 0
[10:46:38:061] [Thread: 140631230322432] [Chan 1] - DNIS so far: 280, 
expected length: 4
[10:46:38:061] [Thread: 140631230322432] [Chan 1] - Requesting next DNIS 
with signal 0x31.
[10:46:38:061] [Thread: 140631230322432] [Chan 1] - MF Tx >> 1 [ON]
[10:46:38:061] [Thread: 140631230322432] [Chan 1] - scheduled timer id 4 
(mf_back_cycle)
[10:46:38:121] [Thread: 140631230322432] [Chan 1] - MF Rx << 0 [OFF]
[10:46:38:121] [Thread: 140631230322432] [Chan 1] - MF Tx >> 1 [OFF]
[10:46:38:181] [Thread: 140631230322432] [Chan 1] - MF Rx << 0 [ON]
[10:46:38:181] [Thread: 140631230322432] [Chan 1] - Attempting to cancel 
timer timer 4
[10:46:38:181] [Thread: 140631230322432] [Chan 1] - timer id 4 found, 
cancelling it now
[10:46:38:181] [Thread: 140631230322432] [Chan 1] - Getting DNIS digit 0
[10:46:38:181] [Thread: 140631230322432] [Chan 1] - DNIS so far: 2800, 
expected length: 4
[10:46:38:181] [Thread: 140631230322432] [Chan 1] - Done getting DNIS!
[10:46:38:181] [Thread: 140631230322432] [Chan 1] - MF Tx >> 6 [ON]
[10:46:38:181] [Thread: 140631230322432] [Chan 1] - scheduled timer id 5 
(mf_back_cycle)
[10:46:38:261] [Thread: 140631230322432] [Chan 1] - MF Rx << 0 [OFF]
[10:46:38:261] [Thread: 140631230322432] [Chan 1] - MF Tx >> 6 [OFF]
[10:46:38:577] [Thread: 140631230322432] [Chan 1] - Bits changed from 
0x00 to 0x08
[10:46:38:577] [Thread: 140631230322432] [Chan 1] - CAS Rx << [CLEAR 
FORWARD] 0x08
[10:46:38:577] [Thread: 140631230322432] [Chan 1] - Far end 
disconnected. Reason: Normal Clearing
[10:46:38:577] [Thread: 140631230322432] [Chan 1] - Call ended
[10:46:38:577] [Thread: 140631230322432] [Chan 1] - Attempting to cancel 
timer timer 0
[10:46:38:577] [Thread: 140631230322432] [Chan 1] - Cannot cancel timer 0

Basically all I see on the CLI is that a call comes in to Channel 1 and 
hangs up immediately.  Here is the system.conf:

span=1,1,0,CAS,HDB3
span=2,1,0,CAS,HDB3
span=3,1,0,CAS,HDB3
span=4,1,0,CAS,HDB3
cas=1-15,17-31,32-46,48-62,63-77,79-93,94-108,110-124:1101
echocanceller=oslec,1-15,17-31,32-46,48-62,63-77,79-93,94-108,110-124
loadzone=mx

Here is the relevant chan_dahdi.conf (it is auto generated by PBXact so 
it is in several files:

[general]

; generated by module
#include chan_dahdi_general.conf

; for user additions not provided by module
#include chan_dahdi_general_custom.conf

[channels]
language=es
busydetect=yes
busycount=5
usecallerid=no
callwaiting=no
usecallingpres=no
threewaycalling=no
transfer=yes
cancallforward=no
callreturn=no
echocancel=yes
echocancelwhenbridged=no
echotraining=no
immediate=no
faxdetect=no
rxgain=0.0
txgain=0.0
; for user additions not provided by module
#include chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
#include chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf

; [span_1]
signalling=mfcr2
mfcr2_variant=mx
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_priority_subscriber
mfcr2_logdir=span1
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
mfcr2_allow_collect_calls=no
mfcr2_double_answer=no
mfcr2_immediate_accept=no
mfcr2_accept_on_offer=yes
mfcr2_skip_category=no
mfcr2_forced_release=no
mfcr2_charge_calls=no
group=0
context=from-digital
channel=>1-15,17-31

     I have tried changing get_ani_first to yes but then the call hangs 
up after the first 2 DNIS digits are read.  I tried setting usecallerid 
to no because I suspect that the provider has not configured CallerID 
service on the E1.  We are trying to replace a Meridian 1 PBX and we do 
not see callerid info on the receptionists phone.  Any ideas on what 
else I can try to get this to work.  I haven't installed a new E1 in a 
while so I am a little rusty.  I have compared this configration to 
others I used in the past and I do not see anything different.

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161




More information about the asterisk-users mailing list