Llamadas Salientes

jcastellanos

Joined
Feb 10, 2009
Messages
2,404
Likes
0
Points
0
#1
Hola a todos...

hoy tengo un problema, tengo dos troncales, Zap 01 y Zap 02, y tengo 2 extenciones 100 y 200, lo que quiero hacer que que la extencion 100 solo saque llamadas del Zap 01 y la extencion 200 solo saque las llamadas del Zap 02.

yo se que poniendo parametros funciona, osea en el dial poner 001|x. y en Zap 2 poner 002|x., pero me quiero evitar poner eses prefijos, ya que si de la extencion 100 se digita 002|x. la llamada saldra por ese canal, lo cual es lo que no quiero, hay manera de hacerlo???

gracias
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#2
Se me ocurre lo siguiente:

1. En la interfaz web define dos rutas salientes, donde la primera sólo utiliza el zap1 y la segunda el zap2

2. Ingresa al siguiente archivo: extensions_additional.conf

3. Busca la siguiente sección:
[outbound-allroutes]
include => outbound-allroutes-custom
include => outrt-001-linea1
include => outrt-002-linea2

donde linea1 es el nombre que le pusiste a la primera ruta saliente (outrt-001- lo agrega freepbx)
donde linea2 es el nombre que le pusiste a la segunda ruta saliente (outrt-002- lo agrega freepbx)

4. En extensions_custom.conf define los siguientes contextos:
Code:
[interno]
include => ext-meetme
include => app-callwaiting-cwoff
include => app-callwaiting-cwon
include => app-dnd-off
include => app-dnd-on
include => app-dictate-record
include => app-dictate-send
include => ext-queues
include => app-recordings
include => app-dialvm
include => app-vmmain
include => app-speeddial
include => app-calltrace
include => app-directory
include => app-echo-test
include => app-speakextennum
include => app-speakingclock
include => ext-group
include => grps
include => app-pbdirectory
include => ext-findmefollow
include => fmgrps
include => app-cf-busy-off
include => app-cf-busy-off-any
include => app-cf-busy-on
include => app-cf-off
include => app-cf-off-any
include => app-cf-on
include => app-cf-unavailable-off
include => app-cf-unavailable-on
include => app-userlogonoff
include => app-pickup
include => app-zapbarge
include => app-chanspy
include => ext-test
include => ext-local
include => park-dial
include => parkedcalls
exten => h,1,Hangup

[linea1]
include => interno
include => outrt-001-linea1

[linea2]
include => interno
include => outrt-002-linea2
5. Edita tu extensión 100 desde la interfaz web, y en el campo que dice context, le borras el from-internal y le pones linea1

6. Edita tu extensión 200 desde la interfaz web, y en el campo que dice context, le borras el from-internal y le pones linea2
 

jcastellanos

Joined
Feb 10, 2009
Messages
2,404
Likes
0
Points
0
#3
correcto, una solucion muy rapida, y facil, pero GENIAL, ¡¡Gracias!!, ha quedado hasta ahora sin problemas.
 

nightduke

Joined
Apr 25, 2009
Messages
235
Likes
0
Points
0
#4
De nuevo gracias
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,594
Latest member
knethardsolutions
Top