<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<div><br></div><div>Now externnotify is called after adding <span style="font-size: 12pt;">mwi_from=asterisk</span></div><div>But now I am having these error in the logs</div><div><div><div>[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</div><div> -- Attempting call on Local/230 for s@main:1 (Retry 1)</div><div>[Sep 28 19:58:44] NOTICE[21374]: chan_local.c:899 local_call: No such extension/context 230@default while calling Local channel</div><div>[Sep 28 19:58:44] NOTICE[21374]: channel.c:5379 __ast_request_and_dial: Unable to call channel Local/230</div><div>[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?)</div></div></div><div><br></div><div><br></div><div>The script:</div><div><div>if [ $3 -gt 0 ]; then</div><div>CALLFILE=$(cat <<-EOF1</div><div>Channel: Local/231$2</div><div>MaxRetries: 1</div><div># Retry in 2 min</div><div>RetryTime: 120</div><div>WaitTime: 45 </div><div>Context: main</div><div>Extension: s</div><div>Priority: 1 </div><div><br></div><div>EOF1)</div><div><br></div><div> echo "$CALLFILE" >> "/var/spool/asterisk/outgoing"/$(date +%Y%mNaVI%M%S)-$1</div><div><br></div><div>else</div><div><br></div><div>CALLFILE=$(cat <<-EOF1</div><div>Channel: Local/230$2</div><div>MaxRetries: 1</div><div># Retry in 2 min</div><div>RetryTime: 120</div><div>WaitTime: 45 </div><div>Context: main</div><div>Extension: s</div><div>Priority: 1 </div><div>EOF1)</div><div> echo "$CALLFILE" >> "/var/spool/asterisk/outgoing"/$(date +%Y%mNaVI%M%S)-$1</div><div><br></div><div>fi</div></div><div><br></div><div><br></div><div>Also I increased the debugging and verbosity to 10, but I can only get warning and notice levels in the logs!</div><div><br></div><div>Thanks. </div><div><br><br><div><hr id="stopSpelling">From: asabatgirl@hotmail.com<br>To: asterisk-users@lists.digium.com<br>Date: Sat, 28 Sep 2013 15:53:53 +0200<br>Subject: [asterisk-users] problem to get MWI working<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hello,<div><br></div><div>I am trying to get MWI working after integrating Asterisk with CCM.</div><div>I have followed the instructions in <a href="http://www.voip-info.org/wiki/view/Asterisk+Cisco+CallManager+Voicemail+Integration" target="_blank" style="font-size:12pt;">http://www.voip-info.org/wiki/view/Asterisk+Cisco+CallManager+Voicemail+Integration</a></div><div>My problem is that I don't see<font face="Times New Roman"> <font size="3">externnotify's script being called at all in the logs, and not sure if I miss something here!</font></font></div><div><font face="Times New Roman"><font size="3"><br></font></font></div><div><font face="Times New Roman"><font size="3">In Voicemail general I added</font></font></div><div><font face="Times New Roman"><font size="3"><div>pollmailboxes = yes</div><div>externnotify=/var/lib/asterisk/scripts/vm.sh</div><div><br></div><div><br></div><div>Thanks.</div></font></font></div> </div>
<br>--
_____________________________________________________________________
-- 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</div></div> </div></body>
</html>