Re: [asterisk-users] Realtime vs Static Files

2013-01-26 Thread Dan Journo
It is really unbelievable ... I was thinking: Asterisk uses an internal database to maintain states of peers. It is usually located in /var/lib/asterisk/astdb and it is a berkely db, but other database backends seem available. Are you sharing also this database between the two servers? It

Re: [asterisk-users] Realtime vs Static Files

2013-01-26 Thread Leandro Dardini
It is a shame we were unable to find the solution to your problem. Do you want to setup a test system like the good one and let me access it to check what is going on? I am really really curious. Leandro Il giorno 26/gen/2013 19:49, Dan Journo d...@keshercommunications.com ha scritto: It is

Re: [asterisk-users] Realtime vs Static Files

2013-01-25 Thread Dan Journo
Upgrading to the latest version didn't help. After about 30 minutes, Asterisk2 tries to send out OPTIONS keepalive packets to peers listed as Registered on Asterisk1. It is something really amazing... Can you run sip show peers on each one of the servers and post the response? You said

Re: [asterisk-users] Realtime vs Static Files

2013-01-25 Thread Leandro Dardini
2013/1/25 Dan Journo d...@keshercommunications.com Upgrading to the latest version didn't help. After about 30 minutes, Asterisk2 tries to send out OPTIONS keepalive packets to peers listed as Registered on Asterisk1. It is something really amazing... Can you run sip show peers on each

Re: [asterisk-users] Realtime vs Static Files

2013-01-24 Thread Dan Journo
I am curious, is your version of asterisk correctly compiling the regserver field? Each server needs to have a distinct server name. Upgrading to the latest version didn't help. After about 30 minutes, Asterisk2 tries to send out OPTIONS keepalive packets to peers listed as Registered on

Re: [asterisk-users] Realtime vs Static Files

2013-01-24 Thread Leandro Dardini
2013/1/24 Dan Journo d...@keshercommunications.com I am curious, is your version of asterisk correctly compiling the regserver field? Each server needs to have a distinct server name. ** ** Upgrading to the latest version didn't help. After about 30 minutes, Asterisk2 tries to send

[asterisk-users] Realtime vs Static Files

2013-01-23 Thread Dan Journo
Hi, We're trying to decide whether to switch back to a static file for sip.conf. Currently we use mysql realtime but can't see any real benefit. Why would someone choose realtime sip over static files? Thanks Dan Journo Kesher Communications (UK) Business Phone

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Leandro Dardini
2013/1/23 Dan Journo d...@keshercommunications.com Hi, ** ** We're trying to decide whether to switch back to a static file for sip.conf. Currently we use mysql realtime but can't see any real benefit.* *** ** ** Why would someone choose realtime sip over static files? ** **

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Dan Journo
All depends by the number of sip peers and the number of addition/deletion you make. If you have static files, you have to sip reload every time you add/remove a peer. With realtime is all realtime. I have switched to realtime peers some times ago with great benefit. However, there are

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Ishfaq Malik
On Wed, 2013-01-23 at 05:53 -0500, Dan Journo wrote: For example, I've noticed that if two asterisk servers share the database, often they both think that the peer is registered. Also the issues with MWI and Qualify= We have never experienced that and use realtime with multiple asterisk

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Dan Journo
We have never experienced that and use realtime with multiple asterisk servers. We've only recently started seeing the problem. To simplify the issue, assuming we have two servers, Asterisk1 and Asterisk2... Asterisk1 is a primary server and Asterisk2 is a backup and used as a failover.

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Leandro Dardini
2013/1/23 Dan Journo d...@keshercommunications.com We have never experienced that and use realtime with multiple asterisk servers. We've only recently started seeing the problem. To simplify the issue, assuming we have two servers, Asterisk1 and Asterisk2... Asterisk1 is a primary

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Dan Journo
Maybe you are lacking some of the configuration. These is the relevant part. rtcachefriends=yes rtsavesysname=yes rtupdate=yes rtautoclear=yes We have rtcachefriends=yes rtsavesysname=yes and these we don't have but they are set to YES by default rtupdate=yes rtautoclear=yes Its

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Leandro Dardini
2013/1/23 Dan Journo d...@keshercommunications.com Maybe you are lacking some of the configuration. These is the relevant part. ** ** rtcachefriends=yes rtsavesysname=yes rtupdate=yes rtautoclear=yes ** ** We have rtcachefriends=yes

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Paul Belanger
On 13-01-23 04:41 AM, Dan Journo wrote: Hi, We're trying to decide whether to switch back to a static file for sip.conf. Currently we use mysql realtime but can't see any real benefit. Why would someone choose realtime sip over static files? Thanks I'm interested in the feedback too. For

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Dan Journo
Its probably an issue with the version of Asterisk we are using because I haven't had this problem in the past. I am running the latest 1.8 version. Which version are you running? 1.8.15.0. I'll upgrade it to 1.8.20.1 when I can and see if it makes a difference. --

Re: [asterisk-users] Realtime vs Static Files

2013-01-23 Thread Leandro Dardini
2013/1/24 Dan Journo d...@keshercommunications.com Its probably an issue with the version of Asterisk we are using because I haven't had this problem in the past. I am running the latest 1.8 version. Which version are you running? ** ** ** ** 1.8.15.0. I'll upgrade it to