Hola Christian.
Gracias por contestar.
Al parecer si marca, al principio pensaba que era el dialplan por que cuando marcaba a Telmex, (para probar los 01800) no se escuchaba nada ni siquiera el tono de marcado después leyendo un poco por ahí leí que tenia que poner “,60,Tr)” para escuchar el tono ficticio de asterisk algo que por cierto no supe si es normal o no escuchar los tonos normales de Telmex o axtel.
Cuando sacaba la llamada asterisk y estaba llamando, me di cuenta cuando agregue las reglas de marcado para teléfonos normales y celulares y en efecto si marca pero no se escucha.
Incluso cuando marco y agrego “,60,Tr)” no detecta el tono de desconexión etc aunque ya tengo según yo bien configurado el indications según el ejemlpo que existe en mismo archivo (borre todos los países y solo deje México) Esto sirve para Telmex y Axtel verdad? ó ¿ese puede ser el problema?.
Lo extraño es que cuando marco si escucho el audio de bienvenida.
********************* CLI *********************
== Using SIP RTP CoS mark 5
-- Executing [018001232222@2001:1] Dial("SIP/2001-00000001", "DAHDI/g0/018001232222,60,Tr") in new stack
-- Called DAHDI/g0/018001232222
-- Hanging up on 'DAHDI/4-1'
-- Hungup 'DAHDI/4-1'
== Spawn extension (2001, 018001232222, 1) exited non-zero on 'SIP/2001-00000001'
-- Registered SIP '7186' at 189.225.32.97:5113
[May 30 20:44:02] NOTICE: chan_sip.c:23645 handle_response_peerpoke: Peer '7186' is now Reachable. (82ms / 2000ms)
-- Registered SIP '7187' at 189.225.32.97:5062
[May 30 20:44:02] NOTICE: chan_sip.c:23645 handle_response_peerpoke: Peer '7187' is now Reachable. (82ms / 2000ms)
-- Registered SIP '7189' at 189.225.32.97:5066
[May 30 20:44:05] NOTICE: chan_sip.c:23645 handle_response_peerpoke: Peer '7189' is now Reachable. (83ms / 2000ms)
-- Registered SIP '7188' at 189.225.32.97:5064
[May 30 20:44:07] NOTICE: chan_sip.c:23645 handle_response_peerpoke: Peer '7188' is now Reachable. (82ms / 2000ms)
== Using SIP RTP CoS mark 5
-- Executing [0445524101012@2001:1] Dial("SIP/2001-00000002", "DAHDI/g0/0445524101012,60,Tr") in new stack
-- Called DAHDI/g0/0445524101012
-- Hanging up on 'DAHDI/4-1'
-- Hungup 'DAHDI/4-1'
== Spawn extension (2001, 0445524101012, 1) exited non-zero on 'SIP/2001-00000002'
marcos*CLI>
********************* chan_dahdi *********************
;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2014-05-26
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes
busycount=3
hanguponpolarityswitch=yes
progzone=mx
callprogress=yes
;Sangoma AFT-200 [slot:4 bus:4 span:1] <wanpipe1>
context=from-zaptel
group=0
echocancel=yes
signalling = fxs_ks
channel => 1
context=from-zaptel
group=0
echocancel=yes
signalling = fxs_ks
channel => 2
context=from-zaptel
group=0
echocancel=yes
signalling = fxs_ks
channel => 3
context=from-zaptel
group=0
echocancel=yes
signalling = fxs_ks
channel => 4
——
********************* indications*******************
;
; indications.conf
;
; Configuration file for location specific tone indications
;
;
; NOTE:
; When adding countries to this file, please keep them in alphabetical
; order according to the 2-character country codes!
;
; The category is for certain global variables.
; All other categories are interpreted as location specific indications
;
country=mx ; default location
;
; description = string
; The full name of your country, in English.
; ringcadence = num[,num]*
; List of durations the physical bell rings.
; dial = tonelist
; Set of tones to be played when one picks up the hook.
; busy = tonelist
; Set of tones played when the receiving end is busy.
; congestion = tonelist
; Set of tones played when there is some congestion (on the network?)
; callwaiting = tonelist
; Set of tones played when there is a call waiting in the background.
; dialrecall = tonelist
; Not well defined; many phone systems play a recall dial tone after hook
; flash.
; record = tonelist
; Set of tones played when call recording is in progress.
; info = tonelist
; Set of tones played with special information messages (e.g., "number is
; out of service")
; 'name' = tonelist
; Every other variable will be available as a shortcut for the "PlayList" command
; but will not be used automatically by Asterisk.
;
; The tonelist itself is defined by a comma-separated sequence of elements.
; Each element consist of a frequency (f) with an optional duration (in ms)
; attached to it (f/duration). The frequency component may be a mixture of two
; frequencies (f1+f2) or a frequency modulated by another frequency (f1f2).
; The implicit modulation depth is fixed at 90%, though.
; If the list element starts with a !, that element is NOT repeated,
; therefore, only if all elements start with !, the tonelist is time-limited,
; all others will repeat indefinitely.
;
; concisely:
; element = [!]freq[+|freq2]
; tonelist = element[,element]*
;
description = Mexico
ringcadence = 2000,4000
dial = 425
busy = 425/250,0/250
ring = 425/1000,0/4000
congestion = 425/250,0/250
callwaiting = 425/200,0/600,425/200,0/10000
dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
record = 1400/500,0/15000
info = 950/330,0/30,1400/330,0/30,1800/330,0/1000
stutter = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,425
——
********************* extensions *********************
;include => todo
;include => llamadas-a-todos
;include => lineas
include => sangoma
exten => 2001,1,Dial(SIP/2001,20,tr)
;exten => 2001,1,Dial(SIP/2001,20,tTrf) Antes
exten => s,n,Playtones(congestion)
exten => s,n,Congestion(10)
exten => s,n,HangUp
[from-zaptel]
exten => s,1,Answer()
exten => s,2,Playback(intx/tres)
exten => s,3,WaitExten(1)
exten => s,4,Dial(SIP/elvira,20,m(sonidos-bienvenida)tT)
exten => s,5,n,Hangup()
exten => _044XXXXXXXXXX,1,Dial(DAHDI/g0/${EXTEN},60,Tr)
exten => _044XXXXXXXXXX,n,hangup()
exten => _01800XXXXXXX,1,Dial(DAHDI/g0/${EXTEN},60,Tr)
exten => _01800XXXXXXX,n,hangup()
exten => _XXXXXXXX,1,Dial(DAHDI/g0/${EXTEN},60,Tr)
exten => _XXXXXXXX,n,hangup()
;exten => _01800XXXXXXX,1,Dial(DAHDI/g0/${EXTEN:1})
;exten => _XXXXXXXX,2,Dial(DAHDI/g0/${EXTEN:1})
;exten => _01800XXXXXXX,2,Dial(SIP/spa31022/${EXTEN})
;exten => _01800XXXXXXX,3,Dial(SIP/spa31023/${EXTEN})
;exten => _01800XXXXXXX,3,Hangup()
Gracias