NO PUEDO REALIZAR LLAMADAS

ckinoto

Joined
Mar 13, 2009
Messages
10
Likes
0
Points
0
#1
reinstale por completo la version 1.5.9
tengo un digium con 2 fxo y 2 puertos libres
utilizo el fxo en el channel 1 y 3
cada canal tiene una linea que redirige las llamadas a la recepcion correspondiente
2000 y 3000

las llamadas entre los internos funciona bien
lo que no puedo es realizar las llamadas a traves de la pstn
mi configuracion es la siguiente:

los codecs:
INT BINARY HEX TYPE NAME DESC
--------------------------------------------------------------------------------
1 (1 << 0) (0x1) audio g723 (G.723.1)
2 (1 << 1) (0x2) audio gsm (GSM)
4 (1 << 2) (0x4) audio ulaw (G.711 u-law)
8 (1 << 3) (0x8) audio alaw (G.711 A-law)
16 (1 << 4) (0x10) audio g726aal2 (G.726 AAL2)
32 (1 << 5) (0x20) audio adpcm (ADPCM)
64 (1 << 6) (0x40) audio slin (16 bit Signed Linear PCM)
128 (1 << 7) (0x80) audio lpc10 (LPC10)
256 (1 << 8) (0x100) audio g729 (G.729A)
512 (1 << 9) (0x200) audio speex (SpeeX)
1024 (1 << 10) (0x400) audio ilbc (iLBC)
2048 (1 << 11) (0x800) audio g726 (G.726 RFC3551)
4096 (1 << 12) (0x1000) audio g722 (G722)
65536 (1 << 16) (0x10000) image jpeg (JPEG image)
131072 (1 << 17) (0x20000) image png (PNG image)
262144 (1 << 18) (0x40000) video h261 (H.261 Video)
524288 (1 << 19) (0x80000) video h263 (H.263 Video)
1048576 (1 << 20) (0x100000) video h263p (H.263+ Video)
2097152 (1 << 21) (0x200000) video h264 (H.264 Video)


dahdi-channels.conf

; Autogenerated by /usr/sbin/dahdi_genconf on Mon Apr 6 07:43:43 2009 -- do not hand edit
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
;;; line="1 WCTDM/0/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

;;; line="3 WCTDM/0/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default

chan_dahdi.conf

[trunkgroups]

[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
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

;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=6


immediate=yes

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


asterisk.conf


[directories]
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
astdatadir => /var/lib/asterisk

[options]
transmit_silence_during_record = yes
languageprefix=yes
execincludes=yes


EXTENSIONES:

# RMD <2000>
# VICTOR DUBARRY <2001>
# GERMAN MATUS <2002>
# LUCAS DUARTE <2003>
# RAYINI MAUDSLAY <2004>
# RTA <3000>
# ESTELA ARAUJO <3001>
# NORA TIEMANN <3002>
# GABY <3003>

En Zap Channels DIDS tengo
ma y ta como nombres
y el numero telefonico como para poder identificar las llamadas entrantes
Canal 1 y 3 que coresponden a ma y ta


en rutas entrantes tengo dos
que coinciden con los DIDS y reenvia al interno suena el telefono
pero no se escucha nada

RUTAS SALIENTES:
ZAP 1 CON DIAL
8|.

ZAP 3
9|.

MARCO EL NUMERO 9 U 8 SI QUIERO SALIR CON UNA U OTRA LINEA
MARCO 0985XXXXXX PARA DESTINO UN CELULAR

INDICATIONS
[general]
country=ve



[ve]
; Tone definition source for ve found on
; Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf
ringcadence = 1000,4000
dial = 425
busy = 425/500,0/500
ring = 425/1000,0/4000
congestion = 425/250,0/250
callwaiting = 400+450/300,0/6000
dialrecall = 425
record = 1400/500,0/15000
info = !950/330,!1440/330,!1800/330,0/1000



toque la configuracion para que coincida con Paraguay
muy parecidos son



Los telefonos son comunes con adaptadores pap2 solo se usa la linea 1

Este es el dial tone
350@-19,440@-19;10(*/0/1+2)
dial tone 2
420@-19,520@-19;10(*/0/1+2)
tono de ocupado
480@-19,620@-19;10(.5/.5/1+2)
Call 1 Encoder: G711a Call 2 Encoder:
Call 1 Decoder: G711a
Yo no se si es problemas de codec o que pero no sale la lamada lo mas raro que si utilzo
el panel del operador y tiro la linea zap1 al interno da tono de discado y se puede realizar la llamada

las llamadas entrastes como dije suenan pero al contestar no se escucha nada.

Alguna recomendacion estoy desesperador!!

si alguien se ofrece en ayudarme le voy a agradecer


les paso el log del asterisk




Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-outbound-callerid:8] Set("SIP/2000-09208fa8", "TRUNKOUTCID=071720350") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: Set

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2000-09208fa8", "1?trunkcid") in new stack

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Goto (macro-outbound-callerid,s,12)

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: GotoIf

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/2000-09208fa8", "1|Set|CALLERID(all)=071720350") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: ExecIf

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Last app: Set|CALLERID(all)=071720350

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/2000-09208fa8", "1?exit") in new stack

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Goto (macro-outbound-callerid,s,11)

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: GotoIf

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-outbound-callerid:11] MacroExit("SIP/2000-09208fa8", "") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: Macro

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/2000-09208fa8", "0|AGI|fixlocalprefix") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: ExecIf

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-dialout-trunk:13] Set("SIP/2000-09208fa8", "OUTNUM=0985795001") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: Set

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-dialout-trunk:14] Set("SIP/2000-09208fa8", "custom=DAHDI/g0") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: Set

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/2000-09208fa8", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: ExecIf

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-dialout-trunk:16] Macro("SIP/2000-09208fa8", "dialout-trunk-predial-hook|") in new stack

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2000-09208fa8", "") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: Macro

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/2000-09208fa8", "0?bypass|1") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: GotoIf

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2000-09208fa8", "0?customtrunk") in new stack

Apr 6 13:33:46 DEBUG [6956] app_macro.c:

Executed application: GotoIf

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Executing [s@macro-dialout-trunk:19] Dial("SIP/2000-09208fa8", "DAHDI/g0/0985795001|300|") in new stack

Apr 6 13:33:46 NOTICE [6956] app_dial.c:

Hey! chan SIP/2000-09208fa8's context='macro-dialout-trunk', and exten='s'



Apr 6 13:33:46 DEBUG [6956] chan_dahdi.c:

Dialing '0985795001'

Apr 6 13:33:46 DEBUG [6956] chan_dahdi.c:

Deferring dialing...

Apr 6 13:33:46 VERBOSE [6956] logger.c:

-- Called g0/0985795001

Apr 6 13:33:46 DEBUG [6956] chan_dahdi.c:

Sent deferred digit string: T098579500

Apr 6 13:33:48 DEBUG [6956] chan_dahdi.c:

Engaged echo training on channel 1

Apr 6 13:33:50 DEBUG [6956] chan_dahdi.c:

Echo cancellation already on

Apr 6 13:33:50 VERBOSE [6956] logger.c:

-- DAHDI/1-1 answered SIP/2000-09208fa8

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Executing [h@macro-dialout-trunk:1] Macro("SIP/2000-09208fa8", "hangupcall|") in new stack

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/2000-09208fa8", "w") in new stack

Apr 6 13:34:40 DEBUG [6956] app_macro.c:

Executed application: ResetCDR

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Executing [s@macro-hangupcall:2] NoCDR("SIP/2000-09208fa8", "") in new stack

Apr 6 13:34:40 DEBUG [6956] app_macro.c:

Executed application: NoCDR

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Executing [s@macro-hangupcall:3] GotoIf("SIP/2000-09208fa8", "1?skiprg") in new stack

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Goto (macro-hangupcall,s,6)

Apr 6 13:34:40 DEBUG [6956] app_macro.c:

Executed application: GotoIf

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Executing [s@macro-hangupcall:6] GotoIf("SIP/2000-09208fa8", "1?skipblkvm") in new stack

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Goto (macro-hangupcall,s,9)

Apr 6 13:34:40 DEBUG [6956] app_macro.c:

Executed application: GotoIf

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Executing [s@macro-hangupcall:9] GotoIf("SIP/2000-09208fa8", "1?theend") in new stack

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Goto (macro-hangupcall,s,11)

Apr 6 13:34:40 DEBUG [6956] app_macro.c:

Executed application: GotoIf

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Executing [s@macro-hangupcall:11] Hangup("SIP/2000-09208fa8", "") in new stack

Apr 6 13:34:40 VERBOSE [6956] logger.c:

== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2000-09208fa8' in macro 'hangupcall'

Apr 6 13:34:40 VERBOSE [6956] logger.c:

== Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/2000-09208fa8'

Apr 6 13:34:40 VERBOSE [6956] logger.c:

-- Hungup 'DAHDI/1-1'

Apr 6 13:34:40 VERBOSE [6956] logger.c:

== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/2000-09208fa8' in macro 'dialout-trunk'

Apr 6 13:34:40 VERBOSE [6956] logger.c:

== Spawn extension (from-internal, 90985795001, 4) exited non-zero on 'SIP/2000-09208fa8'

Apr 6 13:35:01 VERBOSE [6900] logger.c:

-- Remote UNIX connection

Apr 6 13:35:02 VERBOSE [6961] logger.c:

-- Remote UNIX connection disconnected
 

ckinoto

Joined
Mar 13, 2009
Messages
10
Likes
0
Points
0
#2
SOlucione completamente cambiando a la ultima version de TIRXBOX instale y funciono sin problemas configurando no se porq siendo que configure de la misma manera el elastix
 

marivera

Joined
Nov 20, 2007
Messages
253
Likes
0
Points
0
#3
Perdona que aprobeche tu pregunta para hacerte otra
¿como rediriges las llamadas de los puertos fx a las operadoras?
 

ckinoto

Joined
Mar 13, 2009
Messages
10
Likes
0
Points
0
#4
creas un troncal
creas una salida con dial patern 9|. a puntando al troncal creado
de esa manera antecedes al numero nueve al numero a discar
y ya esta
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top