[asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO

Carlos Rodriguez Alcala carlos.rav at gmail.com
Wed Feb 22 06:16:49 CST 2012


Hola/Hi all,

I´m tryng to configure this : TELCO(named COPACO from
Paraguay)---asterisk(elastix)--- PBX(Nortel)

I can make calls:
 - from TELCO to PBX
 - from a sipphone to TELCO (through E1)
 - from a sipphone to PBX (through de second E1)


My problem:

- I can´t make call from PBX to TELCO  :(

Can someone help me?

Thanks in advance
(I really look at google or the before writte here!!!)


mis config files son:
#####################
chan_dahdi.conf
; Auto-generated by /usr/sbin/hardware_detector
[trunkgroups]
[channels]
language=es
context=entrada
signalling=fxs_ks
rxwink=300              ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callerid=asreceived
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

#include dahdi-channels.conf
#include chan_dahdi_additional.conf

#################
dahdi-channels.conf
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
group=1
context=entrada
;switchtype = euroisdn
signalling =mfcr2
mfcr2_variant=itu
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
mfcr2_allow_collect_calls=yes
mfcr2_double_answer=no
mfcr2_forced_release=no
mfcr2_charge_calls=yes
channel => 1-15,17-31
context = default

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
mfcr2_skip_category=yes
group=2
;switchtype = euroisdn
signalling =mfcr2
mfcr2_variant=itu
mfcr2_get_ani_first=no
mfcr2_max_ani=4
mfcr2_max_dnis=7
callerid=asreceived
mfcr2_category=national_priority_subscribe
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_forced_release=no
mfcr2_charge_calls=yes
mfcr2_skip_category=no
callerid=asreceived
context=salida
channel => 32-46,48-62


extensions.conf
[salida]
exten => .,1,Answer
exten => .,2,set(calltime=${STRFTIME(${EPOCH},,%C%y-%m-%d--%H\:%M\:%S)})
exten => .,3,MixMonitor(E_${calltime}_from_${CALLERID(num)}to__${EXTEN}.wav)
exten => .,n,Dial(DAHDI/g1/${EXTEN})
exten => h,1,Hangup

[entrada]
exten =>  _XXX,1,Answer
exten =>  _XXX,n,set(calltime=${STRFTIME(${EPOCH},,%C%y-%m-%d--%H\:%M\:%S)})
exten =>
 _XXX,n,MixMonitor(E_${calltime}_from_${CALLERID(num)}to__${EXTEN}.wav)
exten =>  _XXX,n,Dial(DAHDI/g2/${EXTEN})
;para sipphone
exten => _9.,1,Answer
exten => _9.,2,set(calltime=${STRFTIME(${EPOCH},,%C%y-%m-%d--%H\:%M\:%S)})
exten
=>_9.,3,MixMonitor(E_${calltime}_from_${CALLERID(num)}to__${EXTEN}.wav)
exten => _9.,n,Dial(DAHDI/g1/${EXTEN:1})


Tambien adjunto un log de una llamada al numero de seis digitos 390109
cat chan-33-backward-0-20120221222123.call
[22:21:23:536] [Thread: 3073817488] [Chan 33] - Call started at Tue Feb 21
22:21:23 2012 on chan 33 [openr2 version 1.3.1, revision exported]
[22:21:23:536] [Thread: 3073817488] [Chan 33] - Initialized R2 MF detector
[22:21:23:536] [Thread: 3073817488] [Chan 33] - CAS Tx >> [SEIZE ACK] 0x0C
[22:21:23:536] [Thread: 3073817488] [Chan 33] - CAS Raw Tx >> 0x0D
[22:21:23:779] [Thread: 3073817488] [Chan 33] - MF Rx << 3 [ON]
[22:21:23:779] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer
timer 0
[22:21:23:779] [Thread: 3073817488] [Chan 33] - Cannot cancel timer 0
[22:21:23:779] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 3
[22:21:23:779] [Thread: 3073817488] [Chan 33] - DNIS so far: 3, expected
length: 7
[22:21:23:779] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with
signal 0x31.
[22:21:23:779] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]
[22:21:23:779] [Thread: 3073817488] [Chan 33] - scheduled timer id 2
(mf_back_cycle)
[22:21:23:839] [Thread: 3073817488] [Chan 33] - MF Rx << 3 [OFF]
[22:21:23:839] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]
[22:21:23:919] [Thread: 3073817488] [Chan 33] - MF Rx << 9 [ON]
[22:21:23:919] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer
timer 2
[22:21:23:919] [Thread: 3073817488] [Chan 33] - timer id 2 found,
cancelling it now
[22:21:23:919] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 9
[22:21:23:919] [Thread: 3073817488] [Chan 33] - DNIS so far: 39, expected
length: 7
[22:21:23:919] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with
signal 0x31.
[22:21:23:919] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]
[22:21:23:919] [Thread: 3073817488] [Chan 33] - scheduled timer id 3
(mf_back_cycle)
[22:21:23:999] [Thread: 3073817488] [Chan 33] - MF Rx << 9 [OFF]
[22:21:23:999] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]
[22:21:24:079] [Thread: 3073817488] [Chan 33] - MF Rx << 0 [ON]
[22:21:24:079] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer
timer 3
[22:21:24:079] [Thread: 3073817488] [Chan 33] - timer id 3 found,
cancelling it now
[22:21:24:079] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 0
[22:21:24:079] [Thread: 3073817488] [Chan 33] - DNIS so far: 390, expected
length: 7
[22:21:24:079] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with
signal 0x31.
[22:21:24:079] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]
[22:21:24:079] [Thread: 3073817488] [Chan 33] - scheduled timer id 4
(mf_back_cycle)
[22:21:24:159] [Thread: 3073817488] [Chan 33] - MF Rx << 0 [OFF]
[22:21:24:159] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]
[22:21:24:239] [Thread: 3073817488] [Chan 33] - MF Rx << 1 [ON]
[22:21:24:239] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer
timer 4
[22:21:24:239] [Thread: 3073817488] [Chan 33] - timer id 4 found,
cancelling it now
[22:21:24:239] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 1
[22:21:24:239] [Thread: 3073817488] [Chan 33] - DNIS so far: 3901, expected
length: 7
[22:21:24:239] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with
signal 0x31.
[22:21:24:239] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]
[22:21:24:239] [Thread: 3073817488] [Chan 33] - scheduled timer id 5
(mf_back_cycle)
[22:21:24:319] [Thread: 3073817488] [Chan 33] - MF Rx << 1 [OFF]
[22:21:24:319] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]
[22:21:24:399] [Thread: 3073817488] [Chan 33] - MF Rx << 0 [ON]
[22:21:24:399] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer
timer 5
[22:21:24:399] [Thread: 3073817488] [Chan 33] - timer id 5 found,
cancelling it now
[22:21:24:399] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 0
[22:21:24:399] [Thread: 3073817488] [Chan 33] - DNIS so far: 39010,
expected length: 7
[22:21:24:399] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with
signal 0x31.
[22:21:24:399] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]
[22:21:24:399] [Thread: 3073817488] [Chan 33] - scheduled timer id 6
(mf_back_cycle)
[22:21:24:479] [Thread: 3073817488] [Chan 33] - MF Rx << 0 [OFF]
[22:21:24:479] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]
[22:21:24:559] [Thread: 3073817488] [Chan 33] - MF Rx << 9 [ON]
[22:21:24:559] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer
timer 6
[22:21:24:559] [Thread: 3073817488] [Chan 33] - timer id 6 found,
cancelling it now
[22:21:24:559] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 9
[22:21:24:559] [Thread: 3073817488] [Chan 33] - DNIS so far: 390109,
expected length: 7
[22:21:24:559] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with
signal 0x31.
[22:21:24:559] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]
[22:21:24:559] [Thread: 3073817488] [Chan 33] - scheduled timer id 7
(mf_back_cycle)
[22:21:24:639] [Thread: 3073817488] [Chan 33] - MF Rx << 9 [OFF]
[22:21:24:639] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]
[22:21:29:559] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer
timer 7
[22:21:29:559] [Thread: 3073817488] [Chan 33] - timer id 7 found,
cancelling it now
[22:21:29:559] [Thread: 3073817488] [Chan 33] - calling timer 7
(mf_back_cycle) callback
[22:21:29:559] [Thread: 3073817488] [Chan 33] - MF back cycle timed out!
[22:21:29:559] [Thread: 3073817488] [Chan 33] - Protocol error. Reason =
Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF state =
DNIS Request Transmitted, MF Group = Backward Group A, CAS = 0x00
DNIS = 390109, ANI = , MF = 0x20
[22:21:29:559] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer
timer 0
[22:21:29:559] [Thread: 3073817488] [Chan 33] - Cannot cancel timer 0

-- 
Atentamente,

Carlos Rodríguez Alcalá Villagra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20120222/3ba6360f/attachment-0001.htm>


More information about the asterisk-r2 mailing list