[asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO
omar ivan perez vargas
o_i_p_v at hotmail.com
Wed Feb 22 06:40:22 CST 2012
Q mas...y puedes llamar de la PBX a un softphone?y puedes llamar de la TELCO a un softphone?Si es asi me imagino q dentro del asterisk para cada uno tienes creado una TRONCAL y ademas has de tener para cada uno una ruta de entrada.tambien has de tener una ruta de salida a cada uno, evidentemente cada uno a de manejar extensiones con numeraciones diferentes...Ej TELCO con numeracion 2XXXPBX con numeracion 3XXX en la ruta de salida le dices q las marcaciones a: TELCO las permita solo a 2XXXPBX las permita solo a 3XXX
Hasta aca los softphone pueden llamar Ahora dentro del elastix tienes q crear en la opion Misc DestinationDescription:
2XXX
Dial:
2XXX
despues le das sumit lo mismo para la TELCOMisc DestinationDescription:3XXXDial:3XXXdespues le das sumit Esa seria la forma grafica, porq tambien lo puedes hacer por comandos en el archivo extension_customcolocando algo como:
exten=>_2XXX,1,Dial(TRONCAL-TELCO/${EXTEN})exten=>_2XXX,N,Hangup
exten=>_3XXX,1,Dial(TRONCAL-PBX/${EXTEN})exten=>_3XXX,N,Hangup OP Date: Wed, 22 Feb 2012 09:16:49 -0300
From: carlos.rav at gmail.com
To: asterisk-r2 at lists.digium.com
Subject: [asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO
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=escontext=entradasignalling=fxs_ksrxwink=300 ; Atlas seems to use long (250ms) winksusecallerid=yes
hidecallerid=nocallerid=asreceivedcallwaiting=yesusecallingpres=yescallwaitingcallerid=yesthreewaycalling=yestransfer=yescanpark=yes
cancallforward=yescallreturn=yesechocancel=yesechocancelwhenbridged=nofaxdetect=incomingechotraining=800rxgain=0.0txgain=0.0callgroup=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=1context=entrada;switchtype = euroisdnsignalling =mfcr2mfcr2_variant=itu
mfcr2_get_ani_first=nomfcr2_max_ani=10mfcr2_max_dnis=4mfcr2_category=national_subscribermfcr2_logdir=span1mfcr2_call_files=yesmfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1mfcr2_allow_collect_calls=yesmfcr2_double_answer=nomfcr2_forced_release=nomfcr2_charge_calls=yeschannel => 1-15,17-31
context = default
; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"mfcr2_skip_category=yesgroup=2;switchtype = euroisdnsignalling =mfcr2
mfcr2_variant=itumfcr2_get_ani_first=nomfcr2_max_ani=4mfcr2_max_dnis=7callerid=asreceivedmfcr2_category=national_priority_subscribemfcr2_logdir=span1
mfcr2_call_files=yesmfcr2_logging=allmfcr2_mfback_timeout=-1mfcr2_metering_pulse_timeout=-1mfcr2_allow_collect_calls=nomfcr2_double_answer=nomfcr2_forced_release=no
mfcr2_charge_calls=yesmfcr2_skip_category=nocallerid=asreceivedcontext=salidachannel => 32-46,48-62
extensions.conf
[salida]exten => .,1,Answerexten => .,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,Answerexten => _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 sipphoneexten => _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 390109cat 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
--
_____________________________________________________________________
-- 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/20120222/5d829f34/attachment-0001.htm>
More information about the asterisk-r2
mailing list