From: The C. K. <eld...@ya...> - 2019-04-22 11:39:40
|
13.24.1 is broken in more than one way.. I did a test run emulating one of my 2000 line production systems and found that as the mailbixes get lazier and lazier so does the dialplan.. call processing slows down.. Macros and gosubs seem to get slower and slower as the number of calls get processed and voicemails get left.. (the production sites are still running on old 11.20.6) a while back I built a box i call WOPR which uses a series of VMs on a rather large server to emulate stations registering and placing calls on the "subject".. (a physical i7 4770k with 8 gigs ram).. scripts on aastra(mitel) 68xx series physical phones make the phones answer, place calls on hold, transfer, etc.. since audio files play, they also can leave Voicemails.. the WOPR box estensions.. answer , play RTP, hang up, xfer etc. its the best emulation of a hotel environment I could create without 100s of FXO ports wired to 100s of FXS ports. it seems to me the more voicemails that get left on a system running 13.24.1 the slower it gets to send out MWI notifies regardless of the pollmailboxes settings.. I also run an externnotify script and some users get VM2email.. the email process is offloaded.. so the email command is simply a catcher for the email data. when I put the bleeding edge 16 on the "subject" machine it seems the issues went away.. im not ready to put 16 on a 2000 line production yet but seems like maybe the big is "fixed"... when I put 11.20.6 back on the subject all my issues went away (well other than the RTP port leaks and occasional chan_sip freezes that 11.20.6 had anyway on high volume systems) granted my tests arent with astlinux as I outgrew it some time ago for production but does give some insight into asterisk itself.. my asterisk installations are "beat down".. I only compile the modules I need to use and none more.. my normal load is about 50 modules.. -Christopher On Monday, April 22, 2019, 6:53:43 AM EDT, Michael Knill <mic...@ip...> wrote: Ok Triple Grrr. Asterisk 13.24.1 is actually broken for mailbox polling. It worked ok initially but it eventually becomes sporadic and takes ages to change. Sorry for all the hassle with this. I will go 1.3.6 -13SE when available. Regards Michael Knill On 22/4/19, 2:08 pm, "Michael Knill" <mic...@ip...> wrote: Double Grrr. Polling does work fine on Asterisk 13.24.1. It must have been something else we were doing that broke it. Really sorry all for the hassle. I think I will still go to the SE version though on my next release. Regards Michael Knill On 22/4/19, 1:53 pm, "Michael Knill" <mic...@ip...> wrote: Ok you have concerned me enough to test on Asterisk 13.23.1. Mailbox polling works great and 10 seconds is a good number. On an APU1 there was about a 0.1% increase in CPU for a 5 extension system. Yes I'm getting too concerned about resource usage, especially considering the grunty boxes we are installing now. PS just for fun I changed it to 1 second and frankly I didn't see much difference in CPU usage. Regards Michael Knill On 22/4/19, 1:08 pm, "Lonnie Abelbeck" <li...@lo...> wrote: Michael, I would suggest not doing a 'voicemail reload' and rely on pollmailboxes/pollfreq, IMO. There may be other (bad) side-effects performing a 'voicemail reload' at random times. Lonnie > On Apr 21, 2019, at 10:02 PM, Michael Knill <mic...@ip...> wrote: > > No I didn't actually try that but I have a sneaking suspicion it will. > I would actually rather do a 'voicemail reload' when I needed to with immediate status change rather than polling every 10 seconds unnecessarily though anyway. > > Regards > Michael Knill > > On 22/4/19, 12:46 pm, "Lonnie Abelbeck" <li...@lo...> wrote: > > Michael, > > Doesn't this work in 13.23.1 ? > -- voicemail.conf -- > pollmailboxes = yes > pollfreq = 10 > -- > > You should not have to mess with other refresh methods, unless you are manually moving VM files around. > > Lonnie > > >> On Apr 21, 2019, at 9:36 PM, Michael Knill <mic...@ip...> wrote: >> >> Thanks Lonnie >> >> Well never having used AMI: VoicemailRefresh, I don't know if it ever worked or used for something else e.g. external MWI. >> I basically want to be able to perform an MWI refresh for a specific mailbox and it seems to be more difficult than it should be. >> I would rather not turn on FOP to do this (although that didn't seem to work for me either). Quite annoying. >> >> Were you just using the UserEvent: FOP2RELOADVOICEMAIL? >> >> As it currently stands, I will be implementing 1.3.6-13se when released and doing a 'voicemail reload'. >> PS I do like the concept of an SE variant now actually. >> >> Thanks >> >> Regards >> Michael Knill >> >> On 22/4/19, 12:20 pm, "Lonnie Abelbeck" <li...@lo...> wrote: >> >> Hi Michael, >> >> Good work, fortunately Asterisk 13.23.1 (13se) does not have this (28340) bug. Are you saying VM MWI still has issue in 13.23.1 (13se) ? >> >> This (28340) bug has been fixed in 13.26.0 and 16.3.0, but only available in the current Pre-Release. >> >>> Does this seem reasonable? >> >> We need to understand this VM MWI issue(s) more. >> >> I have tested Asterisk 13.23.1 and found a seeming obscure bug, but in general no issues. >> >> Lonnie >> >> >> >>> On Apr 21, 2019, at 8:15 PM, Michael Knill <mic...@ip...> wrote: >>> >>> DoH! I posted this on the forum and Josh responded saying it was a bug fixed in the latest release. >>> Looks like it is bug 28340 which I assume will be fixed in 13.25.1? >>> Is this bad enough to defer or note for 1.3.5.2? >>> >>> In Asterisk 13.23.1 however, AMI: VoicemailRefresh still does not work still but doing a voicemail reload does refresh the status. Although this is still not great, its far more tolerable than a sip reload. >>> >>> So it looks like my new release will be either 1.3.4 or 1.3.6 - 13se (preferred). >>> >>> Does this seem reasonable? >>> >>> Regards >>> Michael Knill >>> >>> On 21/4/19, 11:21 pm, "Lonnie Abelbeck" <li...@lo...> wrote: >>> >>> Hi Michael, >>> >>> Are you saying MWI eventually works (say in 30 seconds) or does it seemingly never work ? >>> >>> Is this Voicemail Portal basically pure AstLinux, if so you could quickly try the latest 13se pre-release with Asterisk 13.23.1 . >>> >>> https://www.astlinux-project.org/dev.html >>> >>> As it turns out Asterisk 13.24.0 had changes that caused issues with VM MWI, Michael Keuter and I spent a lot of time tracking the issue, reported to Digium and "fixed" in 13.24.1 . As such a lot of extra testing was spent wrt VM MWI before the release of Astlinux 1.3.5.2 ... it should work for you. >>> >>> Michael, when loading the voicemail module, are there any errors or warnings ? >>> >>> Look for typos, make sure pollmailboxes and pollfreq are in the [general] section of voicemail.conf . Try pollfreq=20 instead. >>> >>> Lonnie >>> >>> >>> >>> >>>> On Apr 21, 2019, at 6:38 AM, Michael Knill <mic...@ip...> wrote: >>>> >>>> We have built a separate Voicemail Portal but frankly I cant even get the standard Astlinux Voicemail Tab refreshing the status of MWI in any reasonable amount of time. >>>> I don't know if its something funny in Asterisk 13.24.1 (Astlinux 1.3.5.2). >>>> >>>> I have tried to use the AMI: VoicemailRefresh which does nothing and also setting pollmailboxes=yes and pollfreq=10 and still it does not change the MWI status on the phone for ages. I have also tried the UserEvent: FOP2RELOADVOICEMAIL and I still cant get that to work. >>>> >>>> Any ideas where the problem could be or what I can try next? >>>> The only thing that seems to work is a module reload chan_sip.so but I really dont want to be doing that every time someone uses my voicemail app. >>>> >>>> Regards >>>> Michael Knill >>>> _______________________________________________ >>>> Astlinux-devel mailing list >>>> Ast...@li... >>>> https://lists.sourceforge.net/lists/listinfo/astlinux-devel >>> >>> >>> >>> _______________________________________________ >>> Astlinux-devel mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/astlinux-devel >>> >>> >>> >>> _______________________________________________ >>> Astlinux-devel mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/astlinux-devel >> >> >> >> _______________________________________________ >> Astlinux-devel mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/astlinux-devel >> >> >> >> _______________________________________________ >> Astlinux-devel mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/astlinux-devel > > > > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-devel > > > > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-devel _______________________________________________ Astlinux-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-devel _______________________________________________ Astlinux-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-devel _______________________________________________ Astlinux-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-devel _______________________________________________ Astlinux-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-devel |