<br><br><div class="gmail_quote">2009/8/5 Mike <span dir="ltr">&lt;<a href="mailto:asterisk-users@norgie.net">asterisk-users@norgie.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Aug 04, 2009 at 03:35:22PM -0500, Doug Bailey wrote:<br>
&gt;<br>
&gt; This code is designed to handle Message Waiting Indication (MWI) incoming on FXO<br>
&gt; line.  This data could very well be embedded in your CID spill as part of an<br>
&gt; MDMF message that also contains the caller id information.  (See main/callerid.c<br>
&gt; in the callerid_feed function.)<br>
&gt;<br>
&gt; If your incoming line has a mailbox associated with it, the MWI information will<br>
&gt; be pushed to that mailbox.  You may want to look at how your mailboxes are defined<br>
&gt; and the channels to which they are associated.<br>
&gt;<br>
&gt; Doug<br>
<br>
</div>Doug,<br>
<br>
Thanks, that pointed me in the right direction.  I found the problem in<br>
chan_dadhi.conf, I just don&#39;t totally understand it.<br>
<br>
signalling=fxo_ks<br>
echocancel=yes<br>
pulsedial=yes<br>
;group=1<br>
channel=1<br>
;mailbox=3203<br>
<br>
signalling=fxs_ks<br>
;group=1<br>
usecallerid=no<br>
faxdetect=none<br>
signalling=fxs_ks<br>
rxgain=4<br>
txgain=4<br>
;callerid=1234<br>
channel=3<br>
<br>
signalling=fxs_ks<br>
;callerid=1234<br>
echocancel=yes<br>
;group=2<br>
channel=4<br>
<br>
Forgive the messy config, it&#39;s been a bit butchered in my efforts to get<br>
it working.  The MWI problem was solved when I commented out the<br>
mailbox=3203 for chan 1.  This is a phone that is dailed, along with the<br>
SIP phone, when the FXO lines ring.  The SIP phone is tied against the<br>
same mailbox in the sip.conf.<br>
<br>
What I don&#39;t understand is, I thought the mailbox= in chan_dahdi.conf<br>
was there to do a stutter dialtone on the FXS port when there was a<br>
message in that mailbox?  Why should commenting it out help?<br>
<br>
I assume that what happens is that the FXO line rings, so Asterisk rings<br>
the FXS phone as per the extensions.conf, this creates a MWI event which<br>
goes to the voicemail system, which then passes a MWI event to the SIP<br>
phone (as per sip.conf)?  Or I could just be talk rubbish!<br>
</blockquote></div><br>The problem is that your mailbox line was below channel=1, as such, it applied to the next channel, channel=3 not channel=1...<br><br>d<br>