llamar de pstn a extension asterisk

yatoben

Joined
Nov 26, 2010
Messages
6
Likes
0
Points
0
#1
Ante todo mis saludos comunidad.

Les comento mi escenario

Tengo un elastix con tarjeta TDM400 a la cual está conectada a una pbx panasonic por FXO, puedo llamar desde mis extensiones sip a la PBX sin problemas, el problema es el siguiente

Tengo un ivr que recibe las llamadas de la pstn, marco 1 y me redirecciona a una extension sip, todo bien, ahora, no funciona cuando necesito marcar una extension especifica, digamos 2345, el ivr tiene marcado la opcion de marcacion directa. acá les dejo el ivr.

de antemano agradesco la ayuda.

[ivr-7]
include => ivr-7-custom
include => from-did-direct-ivr
exten => h,1,Hangup
exten => s,1,Set(MSG=custom/aivr)
exten => s,n,Set(LOOPCOUNT=0)
exten => s,n,Set(__DIR-CONTEXT=)
exten => s,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT})
exten => s,n,Set(_IVR_CONTEXT=${CONTEXT})
exten => s,n,GotoIf($["${CDR(disposition)}" = "ANSWERED"]?begin)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Set(TIMEOUT(digit)=3)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n,Set(__IVR_RETVM=)
exten => s,n,ExecIf($["${MSG}" != ""]?Background(${MSG}))
exten => s,n,WaitExten(,)
exten => hang,1,Playback(vm-goodbye)
exten => hang,n,Hangup
exten => 1,1,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => 1,n,Set(__NODEST=)
exten => 1,n,Goto(from-did-direct,8802,1)
exten => t,1,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => t,n,Set(__NODEST=)
exten => t,n,Goto(app-blackhole,hangup,1)
exten => i,1,Playback(invalid)
exten => i,n,Goto(loop,1)
exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1])
exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1)
exten => loop,n,Goto(ivr-7,s,begin)
exten => return,1,Set(MSG=custom/aivr)
exten => return,n,Set(_IVR_CONTEXT=${CONTEXT})
exten => return,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT_${CONTEXT}})
exten => return,n,Goto(ivr-7,s,begin)
exten => fax,1,Goto(${CUT(FAX_DEST,^,1)},${CUT(FAX_DEST,^,2)},${CUT(FAX_DEST,^,3)})

; end of [ivr-7]
 

yatoben

Joined
Nov 26, 2010
Messages
6
Likes
0
Points
0
#2
Gracias, tema resuelto
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,901
Messages
130,885
Members
17,562
Latest member
colak
Top