Re: [asterisk-users] Realtime pjsip issues

2017-09-15 Thread Bryant Zimmerman
 
  Original Message 
> From: "Joshua Colp" 
> Sent: Friday, September 15, 2017 11:31 AM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] Realtime pjsip issues
>
> On Fri, Sep 15, 2017, at 12:18 PM, Bryant Zimmerman wrote:
> > Joshua
> >
> > We are using MariaDB as the database storage.
> > We have recreated the database tables with alembic.
> >
> > Test 1:
> > We enable tables for aors, auths and endpoints only. With cache turned
> > off the end point registers successfully We have no way to get any
> > feed
> > back as pjsip show/list returns no objects found. pjsip send notify
> > cmd
> > endpoint -- does not work as it says there is no endpoint. endpoint
> > can
> > send a call as it appears to be registered, we have no way to confirm
> > this
> > form the console but calls come in.
>
> 
>
> The show and list commands are supposed to work, even without caching
> being enabled. Your problem is therefore at the realtime level. Calls
> coming in should appear on the console, and the endpoint name will be in
> the channel name. Enabling caching just masks it some because things
> exist in the cache for a bit.
>
> >
> > I can offer the following:
> > A dump of the database schema that alembic is creating.
> > extconfig.config
> > sorcery.conf
>
> Feel free to provide these and me (or another individual) may pick out
> what is wrong.
>
> --
> 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
>
  
 I have linked to a zip file containing a dump of my sql schema (MySQL), 
extconfig.conf, sorcery.conf
  
 dumps.zip
  
 Hopefully someone can see what might be causing our issues with the pjsip 
realtime system. 
  
 Thanks 
 Bryant
 



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Realtime pjsip issues

2017-09-15 Thread Joshua Colp
On Fri, Sep 15, 2017, at 12:18 PM, Bryant Zimmerman wrote:
> Joshua
>   
>  We are using MariaDB as the database storage. 
>  We have recreated the database tables with alembic. 
>   
>  Test 1:
>   We enable tables for aors, auths and endpoints only.With cache 
> turned 
> off the end point registers successfullyWe have no way to get any
> feed 
> back as pjsip show/list returns no objects found.   pjsip send notify
> cmd 
> endpoint -- does not work as it says there is no endpoint.  endpoint
> can 
> send a call as it appears to be registered, we have no way to confirm
> this 
> form the console but calls come in.  



The show and list commands are supposed to work, even without caching
being enabled. Your problem is therefore at the realtime level. Calls
coming in should appear on the console, and the endpoint name will be in
the channel name. Enabling caching just masks it some because things
exist in the cache for a bit.

>   
>  I can offer the following:
>  A dump of the database schema that alembic is creating.
>  extconfig.config
>  sorcery.conf

Feel free to provide these and me (or another individual) may pick out
what is wrong.

-- 
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Realtime pjsip issues

2017-09-15 Thread Marcelo Terres
Hello.

Did you ps_contacts table has all columns listed here?

INSERT INTO ps_contacts (id, via_addr, qualify_timeout, call_id,
reg_server, path, endpoint, via_port, authenticate_qualify, uri,
qualify_frequency, user_agent, expiration_time, outbound_proxy) VALUES
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

Regards,
Marcelo H. Terres 
IM: mhter...@jabber.mundoopensource.com.br
https://www.mundoopensource.com.br
https://twitter.com/mhterres
https://linkedin.com/in/marceloterres


On 15 September 2017 at 16:18, Bryant Zimmerman  wrote:
> Joshua
>
> We are using MariaDB as the database storage.
> We have recreated the database tables with alembic.
>
> Test 1:
>
> We enable tables for aors, auths and endpoints only.
> With cache turned off the end point registers successfully
> We have no way to get any feed back as pjsip show/list returns no objects
> found.
> pjsip send notify cmd endpoint -- does not work as it says there is no
> endpoint.
> endpoint can send a call as it appears to be registered, we have no way to
> confirm this form the console but calls come in.
>
>
> Test 2:
>
> We enable cache on the endpoints, auth and aors in the sorcery.conf
>
> endpoint/cache =
> memory_cache,object_lifetime_stale=600,object_lifetime_maximum=1800,expire_on_reload=yes,full_backend_cache=yes
> auth/cache=memory_cache,expire_on_reload=yes
> aor/cache =
> memory_cache,object_lifetime_stale=1500,object_lifetime_maximum=1800,expire_on_reload=yes,full_backend_cache=yes
>
> We now get an error:
>
> [2017-09-15 11:02:04] WARNING[3375]: res_pjsip_registrar.c:744
> registrar_on_rx_request: AOR '6162480909-300' has no configured
> max_contacts. Endpoint '6162480909-300' unable to register
> The aors entry has the max_contacts set to 1 but the error still occurs.
>
> pjsip show/list shows the endpoint shows endpoints, aors, auths  but
> registration fails
>
>
> Test 3:
>
> We enable cache on the endpoints, auth and aors in the sorcery.conf
>
> endpoint/cache =
> memory_cache,object_lifetime_stale=600,object_lifetime_maximum=1800,expire_on_reload=yes
> auth/cache=memory_cache,expire_on_reload=yes
> aor/cache =
> memory_cache,object_lifetime_stale=1500,object_lifetime_maximum=1800,expire_on_reload=yes
>
> Endpoint registers
> pjsip show/list endpoints works the first time and fails there after.
>
> UBNTU-ROSSI-GUEST*CLI> pjsip show endpoints
>  Endpoint:  
>   
> I/OAuth:
> 
> Aor:  
> 
>   Contact:   
>  
>   Transport:
> 
>Identify:
> 
> Match:  
> Channel:  
>   
> Exten:   CLCID: 
> ==
>  Endpoint:  6162480909-300   Not in use
> 0 of inf
>  InAuth:  6162480909-300/6162480909-300
> Aor:  6162480909-300 1
>   Contact:  6162480909-300/sip:6162480909-300@192.168. 0475d46ff2
> Unknown nan
>   Transport:  udp-nat   udp  0  0  0.0.0.0:5060
>
> Objects found: 1
> UBNTU-ROSSI-GUEST*CLI> pjsip show endpoints
> No objects found.
>
> pjsip show/list shows the endpoint fails ever time after the first.
>
> Test 4:
>
> Test 1: with the addition of the contacts entry as realtime in sorcery.conf
> We get error on registration attempt:
>
> [2017-09-15 11:16:07] WARNING[3591]: res_config_odbc.c:120 custom_prepare:
> SQL Prepare failed! [INSERT INTO ps_contacts (id, via_addr, qualify_timeout,
> call_id, reg_server, path, endpoint, via_port, authenticate_qualify, uri,
> qualify_frequency, user_agent, expiration_time, outbound_proxy) VALUES (?,
> ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
> [2017-09-15 11:16:07] ERROR[3591]: res_pjsip_registrar.c:432
> register_aor_core: Unable to bind contact
> 'sip:6162480909-300@192.168.201.105:59758' to AOR '6162480909-300'
>
> Registration has failed at this point.
>
>
> I can offer the following:
> A dump of the database schema that alembic is creating.
> extconfig.config
> sorcery.conf
>
> Thanks
> Bryant
>
> 
> From: "Joshua Colp" 
> Sent: Friday, September 15, 2017 9:56 AM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] Realtime pjsip issues
>
> On Fri, Sep 15, 2017, at 10:37 AM, Bryant Zimmerman wrote:
>> Joshua
>>
>> That is the interesting part of it. We took our configs and database
>> tables from our working 13.12.2 deployments and tried to use them with
>> our
>> new 13.17.1 deployments and we are having issues where the tables are not
>> wor

Re: [asterisk-users] Realtime pjsip issues

2017-09-15 Thread Bryant Zimmerman
Joshua
  
 We are using MariaDB as the database storage. 
 We have recreated the database tables with alembic. 
  
 Test 1:
We enable tables for aors, auths and endpoints only.With cache 
turned 
off the end point registers successfullyWe have no way to get any feed 
back as pjsip show/list returns no objects found.   pjsip send notify cmd 
endpoint -- does not work as it says there is no endpoint.  endpoint can 
send a call as it appears to be registered, we have no way to confirm this 
form the console but calls come in.  
  
 Test 2: 
We enable cache on the endpoints, auth and aors in the sorcery.conf 
 
endpoint/cache = 
memory_cache,object_lifetime_stale=600,object_lifetime_maximum=1800,expire_o
n_reload=yes,full_backend_cache=yes 
auth/cache=memory_cache,expire_on_reload=yes
aor/cache = 
memory_cache,object_lifetime_stale=1500,object_lifetime_maximum=1800,expire_
on_reload=yes,full_backend_cache=yes
We now get an error:[2017-09-15 
11:02:04] WARNING[3375]: 
res_pjsip_registrar.c:744 registrar_on_rx_request: AOR '6162480909-300' has 
no configured max_contacts. Endpoint '6162480909-300' unable to register 
The aors entry has the max_contacts set to 1 but the error 
still occurs.  

pjsip show/list shows the endpoint shows endpoints, aors, 
auths  but 
registration fails 
  
  Test 3: 
We enable cache on the endpoints, auth and aors in the sorcery.conf 
 
endpoint/cache = 
memory_cache,object_lifetime_stale=600,object_lifetime_maximum=1800,expire_o
n_reload=yesauth/cache=memory_cache,expire_on_reload=yes
aor/cache = 
memory_cache,object_lifetime_stale=1500,object_lifetime_maximum=1800,expire_
on_reload=yes   
Endpoint registers  pjsip show/list endpoints works the 
first time and 
fails there after.  UBNTU-ROSSI-GUEST*CLI> pjsip 
show endpoints
 Endpoint:
  
I/OAuth:  


Aor:

  Contact:
 
  Transport:  

   Identify:  


Match:  
Channel:
  
Exten:   CLCID: 


===
===
 Endpoint:  6162480909-300   Not in 
use0 of inf
 InAuth:  6162480909-300/6162480909-300
Aor:  6162480909-300 1
  Contact:  6162480909-300/sip:6162480909-300@192.168. 0475d46ff2 
Unknown nan
  Transport:  udp-nat   udp  0  0  0.0.0.0:5060

Objects found: 1
UBNTU-ROSSI-GUEST*CLI> pjsip show endpoints
No objects found.

pjsip show/list shows the endpoint fails ever time after the 
first. 

 Test 4: 
Test 1: with the addition of the contacts entry as realtime in 
sorcery.confWe get error on registration attempt:   
[2017-09-15 
11:16:07] WARNING[3591]: res_config_odbc.c:120 custom_prepare: SQL Prepare 
failed! [INSERT INTO ps_contacts (id, via_addr, qualify_timeout, call_id, 
reg_server, path, endpoint, via_port, authenticate_qualify, uri, 
qualify_frequency, user_agent, expiration_time, outbound_proxy) VALUES (?, 
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)] [2017-09-15 11:16:07] 
ERROR[3591]: res_pjsip_registrar.c:432 register_aor_core: Unable to bind 
contact 'sip:6162480909-300@192.168.201.105:59758' to AOR '6162480909-300' 

Registration has failed at this point.  
  
 I can offer the following:
 A dump of the database schema that alembic is creating.
 extconfig.config
 sorcery.conf
  
 Thanks
 Bryant
  


 From: "Joshua Colp" 
Sent: Friday, September 15, 2017 9:56 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Realtime pjsip issues   
On Fri, Sep 15, 2017, at 10:37 AM, Bryant Zimmerman wrote:
> Joshua
>
> That is the interesting part of it. We took our configs and database
> tables from our working 13.12.2 deployments and tried to use them with
> our
> new 13.17.1 deployments and we are having issues where the tables are 
not
> working. On the new server asterisk keeps saying it can't find the AORS
> entries when we purge the sorcery memory cache it starts finding the 
aors
> but then it says it cant find the auths.
>
> The wired thing is when it says it can't find the aors and auths entries
> it does not show it is looking for the values in the aors and auth 
fields
> from the endpoints tables. It keeps putting the value from the endpoints
> id
> field as the entries it can't find.
>

Re: [asterisk-users] Realtime pjsip issues

2017-09-15 Thread Ryan, Travis
Any weirdness with realtime has almost always gone back to schema issue for me. 
Just my experience…


On 9/15/17, 10:48 AM, "asterisk-users-boun...@lists.digium.com on behalf of 
Joshua Colp"  wrote:

On Fri, Sep 15, 2017, at 11:38 AM, Bryant Zimmerman wrote:
> Joshua
>   
>  We have completed more testing this morning and when we remove the 
> realtime cache options from the sorcery file the endpoints complete 
> registration, but we pjsip show/list does not offer any feed back at all, 
> We also can't send any pjsip send notify commands as they say they don't 
> have an endpoint there. Something has changed in the cache part of the 
> system that is breaking the system in some manner for us with the current 
> version and we are out of ideas. 

You're still confusing me here. If you've removed the cache, then it's
not being used anymore so I don't see how it can be a problem. If the
commands aren't listing things when you have no cache even in use then
that would point to realtime, not the cache. You'd need to do as I said
with debug to see what queries are being done to confirm things. You
need to do troubleshooting and isolate things to determine the cause of
the problem. You also did not answer my questions about the database
schema.

-- 
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: 
https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Realtime pjsip issues

2017-09-15 Thread Joshua Colp
On Fri, Sep 15, 2017, at 11:38 AM, Bryant Zimmerman wrote:
> Joshua
>   
>  We have completed more testing this morning and when we remove the 
> realtime cache options from the sorcery file the endpoints complete 
> registration, but we pjsip show/list does not offer any feed back at all, 
> We also can't send any pjsip send notify commands as they say they don't 
> have an endpoint there. Something has changed in the cache part of the 
> system that is breaking the system in some manner for us with the current 
> version and we are out of ideas. 

You're still confusing me here. If you've removed the cache, then it's
not being used anymore so I don't see how it can be a problem. If the
commands aren't listing things when you have no cache even in use then
that would point to realtime, not the cache. You'd need to do as I said
with debug to see what queries are being done to confirm things. You
need to do troubleshooting and isolate things to determine the cause of
the problem. You also did not answer my questions about the database
schema.

-- 
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Realtime pjsip issues

2017-09-15 Thread Bryant Zimmerman
Joshua
  
 We have completed more testing this morning and when we remove the 
realtime cache options from the sorcery file the endpoints complete 
registration, but we pjsip show/list does not offer any feed back at all, 
We also can't send any pjsip send notify commands as they say they don't 
have an endpoint there. Something has changed in the cache part of the 
system that is breaking the system in some manner for us with the current 
version and we are out of ideas. 
  
 Thanks
 Bryant
  
  
  
  
  Joshua
  
 That is the interesting part of it. We took our configs and database 
tables from our working 13.12.2 deployments and tried to use them with our 
new 13.17.1 deployments and we are having issues where the tables are not 
working. On the new server asterisk keeps saying it can't find the AORS 
entries when we purge the sorcery memory cache it starts finding the aors 
but then it says it cant find the auths. 
  
 The wired thing is when it says it can't find the aors and auths entries 
it does not show it is looking for the values in the aors and auth fields 
from the endpoints tables. It keeps putting the value from the endpoints id 
field as the entries it can't find. 
  
 One point of note the tables we used and created for pjsip back when we 
setup the 13.12.2 version are not what is currently being created when we 
run alembic now.. Also the contact table from alembic creation process does 
not work we get insert errors inside of asterisk when contact entry 
attempts are being crated. It shows a number of fields that are not there 
in the created tables. 
  
 This is the foundation of my issues. I really have to resolve them in some 
manner so I can mover forward with getting these new systems into 
production. 
 Any assistance is appreciated. 
  
 Thanks
 Bryant
  


 From: "Joshua Colp" 
Sent: Thursday, September 14, 2017 4:34 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Realtime pjsip issues
 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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: 
https://community.asterisk.org/

New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Realtime pjsip issues

2017-09-15 Thread Joshua Colp
On Fri, Sep 15, 2017, at 10:37 AM, Bryant Zimmerman wrote:
> Joshua
>   
>  That is the interesting part of it. We took our configs and database 
> tables from our working 13.12.2 deployments and tried to use them with
> our 
> new 13.17.1 deployments and we are having issues where the tables are not 
> working. On the new server asterisk keeps saying it can't find the AORS 
> entries when we purge the sorcery memory cache it starts finding the aors 
> but then it says it cant find the auths. 
>   
>  The wired thing is when it says it can't find the aors and auths entries 
> it does not show it is looking for the values in the aors and auth fields 
> from the endpoints tables. It keeps putting the value from the endpoints
> id 
> field as the entries it can't find. 
>   
>  One point of note the tables we used and created for pjsip back when we 
> setup the 13.12.2 version are not what is currently being created when we 
> run alembic now.. Also the contact table from alembic creation process
> does 
> not work we get insert errors inside of asterisk when contact entry 
> attempts are being crated. It shows a number of fields that are not there 
> in the created tables. 
>   
>  This is the foundation of my issues. I really have to resolve them in
>  some 
> manner so I can mover forward with getting these new systems into 
> production. 
>  Any assistance is appreciated. 

You're really throwing a lot of things in here. Please try to simplify
this first and remove the caching. After that what exactly does it say
it can't find when trying to add a contact? What database is in use? Did
you create the tables fresh from alembic? Upgrade existing? If you
enable debug (debug to console in logger.conf and core set debug 5) does
it show it doing database queries?

As it is right now things haven't been narrowed down enough for me to
give any concrete answer or help.

-- 
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Realtime pjsip issues

2017-09-15 Thread Bryant Zimmerman
Joshua
  
 That is the interesting part of it. We took our configs and database 
tables from our working 13.12.2 deployments and tried to use them with our 
new 13.17.1 deployments and we are having issues where the tables are not 
working. On the new server asterisk keeps saying it can't find the AORS 
entries when we purge the sorcery memory cache it starts finding the aors 
but then it says it cant find the auths. 
  
 The wired thing is when it says it can't find the aors and auths entries 
it does not show it is looking for the values in the aors and auth fields 
from the endpoints tables. It keeps putting the value from the endpoints id 
field as the entries it can't find. 
  
 One point of note the tables we used and created for pjsip back when we 
setup the 13.12.2 version are not what is currently being created when we 
run alembic now.. Also the contact table from alembic creation process does 
not work we get insert errors inside of asterisk when contact entry 
attempts are being crated. It shows a number of fields that are not there 
in the created tables. 
  
 This is the foundation of my issues. I really have to resolve them in some 
manner so I can mover forward with getting these new systems into 
production. 
 Any assistance is appreciated. 
  
 Thanks
 Bryant
  


 From: "Joshua Colp" 
Sent: Thursday, September 14, 2017 4:34 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Realtime pjsip issues   
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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: 
https://community.asterisk.org/

New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Realtime pjsip issues

2017-09-14 Thread Joshua Colp
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Realtime pjsip issues

2017-09-14 Thread Bryant Zimmerman
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" 
Sent: Thursday, September 14, 2017 2:43 PM
To: asterisk-users@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


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Realtime pjsip issues

2017-09-14 Thread Bryant Zimmerman
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users