bar top left
bar top right
left curve
right curve
Welcome, Guest

Checking which extension have forwarding enabled.
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Checking which extension have forwarding enabled.
#54396
Checking which extension have forwarding enabled. 1 Year, 7 Months ago 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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
jimikid2002
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#54398
Re:Checking which extension have forwarding enabled. 1 Year, 7 Months ago Karma: 155
From a bash like thingy, console,ssh or the asterisk command line thing:

rasterisk -x 'database show'|grep -r "^/CF"
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
There are other solutions!!
Reply Quote
 
#54402
Re:Checking which extension have forwarding enabled. 1 Year, 7 Months ago 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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
jimikid2002
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#54403
Re:Checking which extension have forwarding enabled. 1 Year, 7 Months ago Karma: 155
rasterisk -x 'database del CFU 456' for example
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2010/06/19 11:56 By dicko.
There are other solutions!!
Reply Quote
 
#54405
Re:Checking which extension have forwarding enabled. 1 Year, 7 Months ago 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.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
jimikid2002
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#54406
Re:Checking which extension have forwarding enabled. 1 Year, 7 Months ago 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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2010/06/19 13:42 By dicko.
There are other solutions!!
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: Bob, jgutierrez