bar top left
bar top right
left curve
right curve
Bienvenido, Invitado

Checking which extension have forwarding enabled.
(1 viendo) (1) Invitado
Abajo
Publicar respuesta
Publicar nuevo tema
Página: 1
TEMA: Checking which extension have forwarding enabled.
#54396
Checking which extension have forwarding enabled. hace 1 Año, 7 Meses Karma: 0
Hello,

Few days back I shown to users how to setup call forward on their extensions. Now, many of them set it up to forward their calls to their cell phones and never turned it off. Few of them telling they disables/canceled the feature but still getting calls on their cell phone. Most of the trunk lines are remain busy due to this forwarding frenzy. I want to see/check which extension are having forwarding enabled. How and where to check???

Please help


Regards
Jimi
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
jimikid2002
Fresh Boarder
Mensajes: 18
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#54398
Re:Checking which extension have forwarding enabled. hace 1 Año, 7 Meses Karma: 155
From a bash like thingy, console,ssh or the asterisk command line thing:

rasterisk -x 'database show'|grep -r "^/CF"
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Mensajes: 4101
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Not available Cumpleaños: 01/21
There are other solutions!!
Reply Quote
 
#54402
Re:Checking which extension have forwarding enabled. hace 1 Año, 7 Meses Karma: 0
Thank you sir. You are a life saver.......... How to disable forwarding (I am getting greedy!).... from server, without pressing keys on 21/22 extensions?


Regards
Jimi
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
jimikid2002
Fresh Boarder
Mensajes: 18
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#54403
Re:Checking which extension have forwarding enabled. hace 1 Año, 7 Meses Karma: 155
rasterisk -x 'database del CFU 456' for example
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Mensajes: 4101
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Not available Cumpleaños: 01/21
Última edición: 19/06/2010 11:56 por dicko.
There are other solutions!!
Reply Quote
 
#54405
Re:Checking which extension have forwarding enabled. hace 1 Año, 7 Meses Karma: 0
Thanks Dicko, I found it and have done it. For anyone who may come to this thread for help following is the process


asterisk -rvvvv
database del CFU "extension number"


This will disable forwarding for the given extension.


Sir, please correct me if I am wrong.
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
jimikid2002
Fresh Boarder
Mensajes: 18
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#54406
Re:Checking which extension have forwarding enabled. hace 1 Año, 7 Meses Karma: 155
That will work, it is essentially the same solution I suggested, but it's a slow plodding way, and doesn't take care of CFB and CF (always)

an automated "turn them all off" might be a oneliner:-

rasterisk -x 'database show'|grep -r "^/CF"|cut -d ":" -f1|awk -F/ '{print "rasterisk -x \" database del " $2 " " $3 "\"" }' > sh.tmp;sh sh.tmp;rm sh.tmp

add another grep <extension> pipe before the > redirection for just one extension.

modify ingredients to suit, maybe turn it into a shell script or cron job, but I'm glad you are fixed now.

dicko
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Mensajes: 4101
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Not available Cumpleaños: 01/21
Última edición: 19/06/2010 13:42 por dicko.
There are other solutions!!
Reply Quote
 
Arriba
Publicar respuesta
Publicar nuevo tema
Página: 1
Moderadores: Bob, jgutierrez