I've been using realtime for sip users information. I noticed that when you are doing this, if you do a 'reload' or restart asterisk, the information in a 'sip show peers' goes away. When I do this, MWI stops working. I always though MWI used the astdb file ('database show') to determine where to send MWI but it must be using 'sip show peers' because when this is cleared, it stops working. When I stop using realtime and instead provision users in sip.conf, a reload or restart DOES NOT clear 'sip show peers'. It must be populating this list from the astdb file in that case. I'm going to scoot over to bugs.digium.com and report this as a bug, because this is a real show stopper, and completely nullifies Realtime's use for us. Doug
Douglas Garstang wrote:> I've been using realtime for sip users information. > > I noticed that when you are doing this, if you do a 'reload' or restart asterisk, the information in a 'sip show peers' goes away. When I do this, MWI stops working. I always though MWI used the astdb file ('database show') to determine where to send MWI but it must be using 'sip show peers' because when this is cleared, it stops working. > > When I stop using realtime and instead provision users in sip.conf, a reload or restart DOES NOT clear 'sip show peers'. It must be populating this list from the astdb file in that case. > > I'm going to scoot over to bugs.digium.com and report this as a bug, because this is a real show stopper, and completely nullifies Realtime's use for us. >Doug, I think this is documented behaviour. With realtime the peers do not show up under sip show peers, and MWI does not happen. I think though if you use rtcachefriends=yes in your [general] section of sip.conf that it will work as you desire. Hope this helps. -- -Barry Flanagan
Try googling the archives using the keywords "rtcachefriends" & "mwi". You should find more info about this. regards, David
I do have rtcachefriends=yes in sip.conf, and my astdb file is full of sip contacts. That's not the problem.> -----Original Message----- > From: Barry Flanagan [mailto:barryf-lists@flanagan.ie] > Sent: Tuesday, March 21, 2006 12:12 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Realtime SIP Persistency > > > Douglas Garstang wrote: > > I've been using realtime for sip users information. > > > > I noticed that when you are doing this, if you do a > 'reload' or restart asterisk, the information in a 'sip show > peers' goes away. When I do this, MWI stops working. I always > though MWI used the astdb file ('database show') to determine > where to send MWI but it must be using 'sip show peers' > because when this is cleared, it stops working. > > > > When I stop using realtime and instead provision users in > sip.conf, a reload or restart DOES NOT clear 'sip show > peers'. It must be populating this list from the astdb file > in that case. > > > > I'm going to scoot over to bugs.digium.com and report this > as a bug, because this is a real show stopper, and completely > nullifies Realtime's use for us. > > > > Doug, > > I think this is documented behaviour. With realtime the peers do not > show up under sip show peers, and MWI does not happen. I > think though if > you use rtcachefriends=yes in your [general] section of > sip.conf that it > will work as you desire. > > Hope this helps. > > -- > > -Barry Flanagan > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
I have rtcachefriends=yes in sip.conf. It is caching friends because as I said in my post, astdb has all the contacts, ie they're cached. It's the behaviour of 'sip show peers' that's not working.> -----Original Message----- > From: David Thomas [mailto:punknow@gmail.com] > Sent: Tuesday, March 21, 2006 12:21 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Realtime SIP Persistency > > > Try googling the archives using the keywords "rtcachefriends" & "mwi". > You should find more info about this. > > regards, > David > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >