RE: [asterisk-users] Cisco remote reboot
I know that part, I am looking for a way to do it directly from asterisk. Lets say you change a value in the XML configuration of one unit, then from the asterisk box send the signal and reboot only the affected unit. I guess we can always script the telnet process and reboot like that if nothing else. Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of cb Sent: Sunday, May 27, 2007 5:48 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Cisco remote reboot On May 27, 2007, at 5:29 PM, Paul Aviles wrote: > Is there a way to remote reboot a Cisco 7940 or 7960 phone via some > kind of command? The idea is to force a reboot automatically after > changing one of the configuration files. As long as you have telnet access turned on in the config file, you can telnet to them and issue a reboot from there. -chris ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Cisco remote reboot
Is there a way to remote reboot a Cisco 7940 or 7960 phone via some kind of command? The idea is to force a reboot automatically after changing one of the configuration files. Regards, Paul ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] vmoutcall]
Doug, thanks, can you send me vm-callout.sh as I cannot find it using google. Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lytle Sent: Thursday, May 24, 2007 9:38 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] vmoutcall] --> Perhaps someone can share how? First you need to give them the option of turning the feature on and off. I do it with the following: [callback-activate] ; *** ; Callback activate/deactivate. If this function ; is enabled and there is a call file in the form ; of ${EXTEN}.call, then Asterisk will call the ; phone number contained within the .call file 150 ; seconds after a voicemail has been left. ; *** exten => 80*,1,Set(CALLBACK=${DB(vmcallback/${CALLERIDNUM})}) exten => 80*,2,GotoIf($["${CALLBACK}" = "YES"]?80*,3:80*,101) exten => 80*,3,Set(DB(vmcallback/${CALLERIDNUM})=NO) exten => 80*,4,Playback(local/stutter) exten => 80*,5,Playback(de-activated) exten => 80*,6,Hangup() exten => 80*,101,Set(DB(vmcallback/${CALLERIDNUM})=YES) exten => 80*,102,Playback(local/stutter) exten => 80*,103,Playback(activated) exten => 80*,104,Hangup() Then you need to do a database look up every place in your dial plan where voice mail may be left, I do it as such: [macro-sip.extensions] exten => s,1,Set(CALLBACK=${DB(vmcallback/${ARG1})}) exten => s,n,SetMusicOnHold(cd) exten => s,n,Dial(SIP/${ARG1},28,tWw) exten => s,n,NoOP(Dial Status: ${DIALSTATUS}) exten => s,n,NoOP(Hangup Cause: ${HANGUPCAUSE}) exten => s,n,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,GotoIf($["${CALLBACK}" = "YES"]?s-NOANSWER,2:s-NOANSWER,3) exten => s-NOANSWER,2,System(/usr/local/bin/vm-callout.sh ${ARG1}) exten => s-NOANSWER,3,Voicemail([EMAIL PROTECTED]) If CALLBACK=YES, then run the script that copies the call file into the outgoing directory. It uses touch to set the date on the file 150 seconds into the future. This prevents the system calling the user while voice mail is still being left. The call file links into the dial plan that loops the message 4 times waiting for acknowledgment by pressing 1 to collect voice mail. [voice-mail-callback] ; ; Set timeouts ; exten => s,1,Set(TIMEOUT(response)=6) exten => s,2,Set(TIMEOUT(digit)=3) exten => s,3,Wait(1) exten => s,4,Set(COUNT=0) ; *** ; Play, your attention is required, press 1 to ; collect voice mail ; *** exten => s,5,Background(attention-required) exten => s,6,Background(press-1) exten => s,7,Background(to-collect-voicemail) ; * ; If 1 is pressed, then play transfer and ; then jump to voice-mail context. ; * exten => 1,1,Playback(pbx-transfer) exten => 1,2,Goto(voice-mail,s,1) ; ; Setup a variable to count the number of ; times the message has been played, when ; $COUNT reaches > 3, play you've taken ; to long to dial and hangup. ; exten => t,1,Set(COUNT=$[${COUNT} + 1]) exten => t,2,NoOP(${COUNT}) exten => t,3,GotoIf($[ ${COUNT} > 3 ]?103) exten => t,4,Goto(voice-mail-callback,s,5) exten => t,103,Playback(local/tolong-todial) exten => t,104,Playback(goodbye) exten => t,105,Hangup() exten => i,1,Playback(local/sorry-invalid-choice) exten => i,2,Set(COUNT=$[${COUNT} + 1]) exten => i,3,NoOP(${COUNT}) exten => i,4,Goto(voice-mail-callback,s,5) exten => h,1,NoOP(Hungup) Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] vmoutcall
Perhaps someone can share how? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lytle Sent: Thursday, May 24, 2007 3:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] vmoutcall Paul Aviles wrote: > Hello guys, > > I have been looking for a way to call a cell phone after someone has > left a > This can easily be done with database lookups and .call files > to accomplishing this? Most analog pbx's have this feature and I am > amazed Asterisk does not natively. > It can be done natively; within the dial plan. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Login log out support
is there a way to support login and logout functionality in a phone? We are using Cisco 7940 and 7960 phones and have 2 shift. We want to be able to use the same phone using like 2 different extensions. The phone will then "remember" your settings if possible, if anyone has left you a voice mail etc. Is this possible? Regards, Paul ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] vmoutcall
Hello guys, I have been looking for a way to call a cell phone after someone has left a voice mail and allow the user to enter the mailbox password to listen to it and found a very old entry of vmoutcall. I tried unsuccessfully to get it to work with 1.4 and is beyond me. Has anyone gotten this to work or has a way to accomplishing this? Most analog pbx's have this feature and I am amazed Asterisk does not natively. Any thoughts on getting similar functionality into the main code too? Regards, Paul Aviles ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users