[asterisk-users] reloading realtime sip peers

2010-06-08 Thread Jonas Kellens

Hello,

I noticed that changes to realtime sip peers are not applied until a 
'reload'. A 'sip reload' does not make any changes to realtime sip peers.


When changing for instance the mailbox-parameter in the realtime 
sip_buddies table, the change is not applied with a 'sip reload'.


For every change there is a complete 'reload' necessary.

Why does a 'sip reload' only checks the following files :

[Jun  8 17:31:16]   == Parsing '/etc/asterisk/sip.conf': [Jun  8 
17:31:16] Found
[Jun  8 17:31:16]   == Parsing '/etc/asterisk/users.conf': [Jun  8 
17:31:16] Found
[Jun  8 17:31:16]   == Parsing '/etc/asterisk/sip_notify.conf': [Jun  8 
17:31:16] Found


While a 'reload' checks :

[Jun  8 17:32:01]   == Binding sipusers to mysql/mydatabase/sip_buddies
[Jun  8 17:32:01]   == Binding sippeers to mysql/mydatabase/sip_buddies

Could a sip reload also check the realtime bindings ??


Jonas.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] reloading realtime sip peers

2010-06-08 Thread Steve Howes
On 8 Jun 2010, at 16:40, Jonas Kellens wrote:
 I noticed that changes to realtime sip peers are not applied until a 
 'reload'. A 'sip reload' does not make any changes to realtime sip peers.

sip prune ?

S
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] reloading realtime sip peers

2010-06-08 Thread Zeeshan Zakaria
On my asterisk 1.4.22-4 sip reload works just fine, and occasionally I have
to use it when sip secrets are updated. What version are you using?

Zeeshan A Zakaria

--
Sent from my Android phone with K-9 Mail.

On 2010-06-08 11:46 AM, Jonas Kellens jonas.kell...@telenet.be wrote:

 Hello,

I noticed that changes to realtime sip peers are not applied until a
'reload'. A 'sip reload' does not make any changes to realtime sip peers.

When changing for instance the mailbox-parameter in the realtime sip_buddies
table, the change is not applied with a 'sip reload'.

For every change there is a complete 'reload' necessary.

Why does a 'sip reload' only checks the following files :

[Jun  8 17:31:16]   == Parsing '/etc/asterisk/sip.conf': [Jun  8 17:31:16]
Found
[Jun  8 17:31:16]   == Parsing '/etc/asterisk/users.conf': [Jun  8 17:31:16]
Found
[Jun  8 17:31:16]   == Parsing '/etc/asterisk/sip_notify.conf': [Jun  8
17:31:16] Found

While a 'reload' checks :

[Jun  8 17:32:01]   == Binding sipusers to mysql/mydatabase/sip_buddies
[Jun  8 17:32:01]   == Binding sippeers to mysql/mydatabase/sip_buddies

Could a sip reload also check the realtime bindings ??


Jonas.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] reloading realtime sip peers

2010-06-08 Thread Tilghman Lesher
On Tuesday 08 June 2010 10:40:44 Jonas Kellens wrote:
 Why does a 'sip reload' only checks the following files :

 [Jun  8 17:31:16]   == Parsing '/etc/asterisk/sip.conf': [Jun  8
 17:31:16] Found
 [Jun  8 17:31:16]   == Parsing '/etc/asterisk/users.conf': [Jun  8
 17:31:16] Found
 [Jun  8 17:31:16]   == Parsing '/etc/asterisk/sip_notify.conf': [Jun  8
 17:31:16] Found

 While a 'reload' checks :

 [Jun  8 17:32:01]   == Binding sipusers to mysql/mydatabase/sip_buddies
 [Jun  8 17:32:01]   == Binding sippeers to mysql/mydatabase/sip_buddies

 Could a sip reload also check the realtime bindings ??

Different module.  Individually, that's 'module reload extconfig'.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] reloading realtime sip peers

2010-06-08 Thread Jonas Kellens

Using 1.4.30

Jonas.

On 06/08/2010 05:53 PM, Zeeshan Zakaria wrote:


On my asterisk 1.4.22-4 sip reload works just fine, and occasionally I 
have to use it when sip secrets are updated. What version are you using?


Zeeshan A Zakaria

--
Sent from my Android phone with K-9 Mail.



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] reloading realtime sip peers

2010-06-08 Thread Zeeshan Zakaria
Do you have rtcachefriends=yes in your sip.conf?

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-06-08 1:30 PM, Jonas Kellens jonas.kell...@telenet.be wrote:

 Using 1.4.30

Jonas.


On 06/08/2010 05:53 PM, Zeeshan Zakaria wrote:

 On my asterisk 1.4.22-4 sip reload works just fi...

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] reloading realtime sip peers

2010-06-08 Thread Jonas Kellens

Off course...

Jonas.

On 06/08/2010 07:44 PM, Zeeshan Zakaria wrote:


Do you have rtcachefriends=yes in your sip.conf?

Zeeshan A Zakaria



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] reloading realtime sip peers

2010-06-08 Thread Zeeshan Zakaria
Can't think of anything else at the moment.

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-06-08 2:17 PM, Jonas Kellens jonas.kell...@telenet.be wrote:

 Off course...

Jonas.


On 06/08/2010 07:44 PM, Zeeshan Zakaria wrote:

 Do you have rtcachefriends=yes in your sip.con...

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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