<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000'>Hi Brad,<br><br>I did notice that bug in the bug tracker. That's different from the behavior I am seeing. I don't get multiple values in the "Mailbox". I just upgraded to 1.6.2.14 and it's still there. <br><br>By the way, the quantity of SIP NOTIFY's generated is significant. It appears to be way more that the number of peers I have (3) times a handful of duplicates per peer. I've been doing a Wireshark capture, and it appears as though any time there is a new message in the ODBC voicemail store for a mailbox that has been subscribed to, Asterisk continually generates as many of the messages as possible. At one point I noticed my CPU jump from 0% to ~50% just by moving one message from an mailbox that hadn't been subscribed to to a mailbox that was subscribed to by the 3 peers. It only came back to ~0-1% by moving the message back to an unsubscribed user. <br><br>When I set <font size="3"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">rtcachefriends = yes</span></font> in sip.conf, I get the following for each peer:<br><br><font size="2"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">ast01*CLI&gt; sip show peer 412</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; * Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 412</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Realtime peer: Yes, cached</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Secret&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : &lt;Set&gt;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; MD5Secret&nbsp;&nbsp;&nbsp; : &lt;Not set&gt;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Remote Secret: &lt;Not set&gt;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Context&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : sipphones</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Subscr.Cont. : blf_subscriptions</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Language&nbsp;&nbsp;&nbsp;&nbsp; : en</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; AMA flags&nbsp;&nbsp;&nbsp; : Unknown</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Transfer mode: open</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; CallingPres&nbsp; : Presentation Allowed, Not Screened</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Callgroup&nbsp;&nbsp;&nbsp; :</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Pickupgroup&nbsp; :</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Mailbox&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : vm_bob@default</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; VM Extension : asterisk</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; LastMsgsSent : 32767/65535</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Call limit&nbsp;&nbsp; : 0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Dynamic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Callerid&nbsp;&nbsp;&nbsp;&nbsp; : "" &lt;&gt;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; MaxCallBR&nbsp;&nbsp;&nbsp; : 384 kbps</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Expire&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 69</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Insecure&nbsp;&nbsp;&nbsp;&nbsp; : no</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Nat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : RFC3581</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; ACL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; T.38 support : No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; T.38 EC mode : Unknown</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; T.38 MaxDtgrm: -1</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; DirectMedia&nbsp; : Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; PromiscRedir : No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; User=Phone&nbsp;&nbsp; : No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Video Support: No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Text Support : No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Ign SDP ver&nbsp; : No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Trust RPID&nbsp;&nbsp; : No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Send RPID&nbsp;&nbsp;&nbsp; : No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Subscriptions: Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Overlap dial : Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Forward Loop : Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; DTMFmode&nbsp;&nbsp;&nbsp;&nbsp; : rfc2833</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Timer T1&nbsp;&nbsp;&nbsp;&nbsp; : 500</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Timer B&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 32000</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; ToHost&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Addr-&gt;IP&nbsp;&nbsp;&nbsp;&nbsp; : 10.20.1.225 Port 5064</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Defaddr-&gt;IP&nbsp; : 0.0.0.0 Port 5060</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Prim.Transp. : UDP</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Allowed.Trsp : UDP</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Def. Username: 412</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; SIP Options&nbsp; : (none)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Codecs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0x1004 (ulaw|g722)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Codec Order&nbsp; : (g722:20,ulaw:20)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Auto-Framing :&nbsp; No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; 100 on REG&nbsp;&nbsp; : Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Unmonitored</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Useragent&nbsp;&nbsp;&nbsp; : Yealink SIP-T28P 2.50.0.52</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Reg. Contact : sip:412@10.20.1.225:5064</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Qualify Freq : 120000 ms</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Sess-Timers&nbsp; : Accept</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Sess-Refresh : uas</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Sess-Expires : 1800 secs</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Min-Sess&nbsp;&nbsp;&nbsp;&nbsp; : 90 secs</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; Parkinglot&nbsp;&nbsp; :</span></font><br><br>This is Asterisk 1.6.2.14 using the ODBC store for voicemail and ODBC for sip_peers.<br><br><div><span style="font-family: arial,helvetica,sans-serif;">Brett Woollum</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Brett@Woollum.com</span><br></div><br><br>----- Original Message -----<br>From: "Bradley Watkins" &lt;Bradley.Watkins@compuware.com&gt;<br>To: "Asterisk Users Mailing List - Non-Commercial Discussion" &lt;asterisk-users@lists.digium.com&gt;<br>Sent: Friday, November 12, 2010 5:14:49 AM GMT -08:00 US/Canada Pacific<br>Subject: Re: [asterisk-users] Official Documentation for Asterisk 1.6 Realtime ODBC Tables<br><br>&nbsp;<br><br>&gt;-----Original Message-----<br>&gt;From: asterisk-users-bounces@lists.digium.com <br>&gt;[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of <br>&gt;Paul Belanger<br>&gt;Sent: Friday, November 12, 2010 7:58 AM<br>&gt;To: Asterisk Users Mailing List - Non-Commercial Discussion<br>&gt;Subject: Re: [asterisk-users] Official Documentation for <br>&gt;Asterisk 1.6 Realtime ODBC Tables<br>&gt;<br>&gt;On Fri, Nov 12, 2010 at 6:07 AM, Brett Woollum <br>&gt;&lt;brett@woollum.com&gt; wrote:<br>&gt;&gt; I'm having an issue where Asterisk continuously sends out a <br>&gt;GAZILLION <br>&gt;&gt; "SIP NOTIFY" messages when a user has a voice message in <br>&gt;their INBOX. <br>&gt;&gt; This issue is only present when my SIP users and peers are <br>&gt;configured <br>&gt;&gt; from my ODBC backend (MySQL). A static configuration of users in <br>&gt;&gt; sip.conf resolves this and everything works fine.<br>&gt;&gt;<br>&gt;What version of 1.6? &nbsp;I _think_ this may have been a bug, that <br>&gt;was fixed.<br>&gt;<br>&gt;Don't hold me to that.<br><br>I agree with Paul, this sounds like a bugs that's been fixed.<br><br>What does the 'Mailbox :' line look like when you do a 'sip show peers'?<br><br>My guess is that there will be multiple entries of the same mailbox, and<br>that's why you're receiving a bunch of NOTIFY messages.<br><br>- Brad<br><br>-- <br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://www.asterisk.org/hello<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; http://lists.digium.com/mailman/listinfo/asterisk-users<br></div></body></html>