Re: [asterisk-users] Realtime changes not reflected realtime

2010-04-23 Thread Jonas Kellens
What read/write rights do I need to issue this sip prune realtime peer command in manager.conf ?? Jonas. Jonathan Thurman wrote: If you have a web interface for updating information you could always use AMI to issue the prune/reload after committing the changes. -Jonathan --

Re: [asterisk-users] Realtime changes not reflected realtime

2010-04-18 Thread Jonas Kellens
Jonathan, 'sip show peers' works just fine... asterisk*CLI sip show peers Name/username Host Dyn Nat ACL Port Status Realtime testcorp4 (Unspecified) D N 0 UNREACHABLE Cached RT testcorp3/testcorp3 192.168.1.100 D N 5061 OK (25 ms) Cached RT Only you see the 'Realtime'-column, and the

Re: [asterisk-users] Realtime changes not reflected realtime

2010-04-18 Thread Jonathan Thurman
On Sun, Apr 18, 2010 at 12:30 AM, Jonas Kellens jonas.kell...@telenet.be wrote: Jonathan, 'sip show peers' works just fine... Sorry, I wasn't clear. It has been my experience in 1.6.1.x that 'sip show peers' does not work without rtcachefriends=yes for realtime implementations. asterisk*CLI

[asterisk-users] Realtime changes not reflected realtime

2010-04-17 Thread Jonas Kellens
Hello list, Using Asterisk 1.4.25.1 Using realtime sip_buddies I notice that when changing the sip_buddie name (field 'name' and 'username') or secret, this is not implemented until a sip reload. When changing the secret, the old secret is still the one to use until a sip reload. When

Re: [asterisk-users] Realtime changes not reflected realtime

2010-04-17 Thread Steve Howes
On 17 Apr 2010, at 10:25, Jonas Kellens wrote: When changing the secret, the old secret is still the one to use until a sip reload. When changing the name, the old name is still the one to use for registrations until a sip reload. So it's being cached? Does 'sip prune realtime all' clear

Re: [asterisk-users] Realtime changes not reflected realtime

2010-04-17 Thread Jonas Kellens
Hello Steve, I don't really understand what you mean. Do I need to 'sip prune realtime all' after every change ?? Is rtcachefriends=yes a wrong setting ?? Kind regards, Jonas. Steve Howes wrote: On 17 Apr 2010, at 10:25, Jonas Kellens wrote: When changing the secret, the

Re: [asterisk-users] Realtime changes not reflected realtime

2010-04-17 Thread Jonathan Thurman
On Sat, Apr 17, 2010 at 4:42 AM, Jonas Kellens jonas.kell...@telenet.be wrote: Do I need to 'sip prune realtime all' after every change ?? If you change a sip peer and you have caching enabled, then you need to prune that peer for the change to take effect. On 1.6.1 I issue the following: sip

Re: [asterisk-users] Realtime changes not reflected realtime

2010-04-17 Thread Jonas Kellens
Is rtcachefriends=yes a wrong setting ?? No, not if you want caching enabled. I enable sip realtime caching on all of my systems. What if I do not enable caching ? What would be the effect on my realtime configuration with sip_buddies in my mysql-DB ? Kind regards,

Re: [asterisk-users] Realtime changes not reflected realtime

2010-04-17 Thread Jonathan Thurman
On Sat, Apr 17, 2010 at 11:14 AM, Jonas Kellens jonas.kell...@telenet.be wrote: Is rtcachefriends=yes a wrong setting ?? No, not if you want caching enabled. I enable sip realtime caching on all of my systems. What if I do not enable caching ? What would be the effect on my realtime