Hello,
Now externnotify is called after adding mwi_from=asteriskBut now I am having 
these error in the logs[Sep 28 19:58:44] WARNING[21156]: pbx_spool.c:278 
safe_append: Unable to set utime on 
/var/spool/asterisk/outgoing/201309NaVI5844-: Operation not permitted    -- 
Attempting call on Local/230 for s@main:1 (Retry 1)[Sep 28 19:58:44] 
NOTICE[21374]: chan_local.c:899 local_call: No such extension/context 
230@default while calling Local channel[Sep 28 19:58:44] NOTICE[21374]: 
channel.c:5379 __ast_request_and_dial: Unable to call channel Local/230[Sep 28 
19:58:44] NOTICE[21374]: pbx_spool.c:353 attempt_thread: Call failed to go 
through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit 
busy or down?)

The script:if [ $3 -gt 0 ]; thenCALLFILE=$(cat <<-EOF1Channel: 
Local/231$2MaxRetries: 1# Retry in 2 minRetryTime: 120WaitTime: 45 Context: 
mainExtension: sPriority: 1 
EOF1)
 echo "$CALLFILE" >> "/var/spool/asterisk/outgoing"/$(date +%Y%mNaVI%M%S)-$1
else
CALLFILE=$(cat <<-EOF1Channel: Local/230$2MaxRetries: 1# Retry in 2 
minRetryTime: 120WaitTime: 45 Context: mainExtension: sPriority: 1 EOF1) echo 
"$CALLFILE" >> "/var/spool/asterisk/outgoing"/$(date +%Y%mNaVI%M%S)-$1
fi

Also I increased the debugging and verbosity to 10, but I can only get warning 
and notice levels in the logs!
Thanks. 

From: [email protected]
To: [email protected]
Date: Sat, 28 Sep 2013 15:53:53 +0200
Subject: [asterisk-users] 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 = 
yesexternnotify=/var/lib/asterisk/scripts/vm.sh

Thanks.                                           

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users                      
                  
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to