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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100608/f884b766/attachment.htm
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
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.kellens at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100608/bc0e0eff/attachment.htm
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
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. >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100608/31bd5c47/attachment.htm
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.kellens at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100608/80cc7b8c/attachment.htm
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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100608/c78c4065/attachment.htm