search for: eof1

Displaying 5 results from an estimated 5 matches for "eof1".

Did you mean: eof
2009 Jan 30
5
Question about Shell Script.
Hi all CentOS users, I have writing shell script for check oracle processes in real time and alert with e-mail. I read script like below NUMBEROFPRO=/oracle/10.2.0/db_1/bin/sqlplus / as sysdba <<EOF1 |grep processes|awk '{print $2}' SELECT resource_name,current_utilization,limit_value FROM V\$RESOURCE_LIMIT WHERE RESOURCE_NAME IN ('processes','sessions'); quit EOF1 if [ $NUMBEROFPRO > 150 ] then /bin/mail -s "Processes number bigger then 150 !!" myemailadre...
2005 Oct 07
0
Asterisk to CCM Message Waiting Indicator
...n => _2817XXX,1,SetCallerID(${EXTEN:3}) exten => _2817XXX,2,Dial(SIP/28889@65.202.115.240) exten => _2817XXX,3,Answer exten => _2817XXX,4,Wait,1 exten => _2817XXX,5,Hangup I also have the vm.sh file in /var/lib/asterisk/scripts/vm.sh: if [ $3 -gt 0 ]; then CALLFILE=$(cat <<-EOF1 Channel: Local/281$2 MaxRetries: 1 # Retry in 2 min RetryTime: 120 WaitTime: 45 Context: ccm Extension: s Priority: 1 EOF1) echo "$CALLFILE" >> "/var/spool/asterisk/outgoing"/$(date +%Y%mNaVI%M%S)-$1 else CALLFILE=$(cat <<-EOF1 Channel: Local/280$2 MaxRetri...
2005 Jun 02
0
Call Manager & Asterisk for VM - MWI not working
...phone, it rings, rolls to the correct VM on ASterisk and asterisk emails the voicemail and I can check the voicemail, but I cannot get MWI to work at all. I'm using Shaun's script below: root@Claven /etc/asterisk# more vm.sh if [ $3 -gt 0 ]; then # TURN LITE ON CALLFILE=$(cat <<-EOF1 Channel: Local/11$2 MaxRetries: 1 # Retry in 2 min RetryTime: 120 WaitTime: 45 Context: default Extension: s Priority: 1 EOF1) echo "$CALLFILE" >> "/var/spool/asterisk/outgoing"/$(date +%Y%mNaVI%M%S)-$1 else # TURN LITE OFF CALLFILE=$(cat <<-EOF1 Channel: Local/00$2...
2006 May 24
1
Placing call files in/var/spool/asterisk/outgoing/ does not work
> you should mv the file (and in the same filesystem, so 'rename' is used) > You might want to chmod or even chown the file first as well. I wrote a little script that does all of this before the .call file is mv'd into the outgoing directory: cp /tmp/test3.call /tmp/test1.call chmod 666 /tmp/test1.call chgrp asterisk /tmp/test1.call chown asterisk /tmp/test1.call mv
2013 Sep 28
1
problem to get MWI working
Hello, I am trying to get MWI working after integrating Asterisk with CCM.I have followed the instructions in http://www.voip-info.org/wiki/view/Asterisk+Cisco+CallManager+Voicemail+IntegrationMy problem is that I don't see externnotify's script being called at all in the logs, and not sure if I miss something here! In Voicemail general I addedpollmailboxes =