We are having an issue where on the latest version of asterisk when configuration pjsip via realtime. we do a pjsip list endpoints it shows our endpoints but lists them as invalid. When we do the pjsip list endpoints again it shows no objects. This applies to pjsip list aors as well. We did not have this issue on our older asterisk 13 installs. My guess is something has changed with pjsip and realtime. Anyone have any ideas where I can start. We have tried a number of things already and would love some suggestions. Thanks zktech -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170914/8bbf97cb/attachment.html>
This appears to be some kind of cache issue. We have been doing caching with earlier versions of asterisk 13 on the pjsip realtime, but now for some reason The items only show up the first time we use pjsip list/show and then they are wiped. I see a new full cache option and that appears to make a difference, but it is unclear what is going on. In effect it appears that items loaded from a database for pjsip must be fully cached or you can't look up any data. Why has a change of this magnitude been put into an LTS? What is the best practices. I see in some of the wikis cache suggestions. What are others really seeing? Thanks Bryant Zimmerman (ZK Tech Inc.) 616-855-1030 Ext. 2003 ---------------------------------------- From: "Bryant Zimmerman" <BryantZ at zktech.com> Sent: Thursday, September 14, 2017 2:43 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Realtime pjsip issues We are having an issue where on the latest version of asterisk when configuration pjsip via realtime. we do a pjsip list endpoints it shows our endpoints but lists them as invalid. When we do the pjsip list endpoints again it shows no objects. This applies to pjsip list aors as well. We did not have this issue on our older asterisk 13 installs. My guess is something has changed with pjsip and realtime. Anyone have any ideas where I can start. We have tried a number of things already and would love some suggestions. Thanks zktech -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170914/f884b6c1/attachment.html>
On Thu, Sep 14, 2017, at 05:27 PM, Bryant Zimmerman wrote:> This appears to be some kind of cache issue. > We have been doing caching with earlier versions of asterisk 13 on the > pjsip realtime, but now for some reason > The items only show up the first time we use pjsip list/show and then > they > are wiped. I see a new full cache option and that appears to make a > difference, but it is unclear what is going on. In effect it appears that > items loaded from a database for pjsip must be fully cached or you can't > look up any data. > > Why has a change of this magnitude been put into an LTS? > What is the best practices. I see in some of the wikis cache > suggestions. > What are others really seeing?There haven't been any changes made except for bug fixes to the sorcery memory cache, certainly no behavior changes. In fact the implementation is the same between 13 and 14 except for a single line addition. What is your sorcery.conf for both? -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org