Andre Courchesne - Consultant
2006-Oct-30 13:08 UTC
[asterisk-users] Live creation of trunk groups
Hi, Is there a way to create trunk groups while asterisk is running. For exemple let's say that zapata.conf defines g0 as channels 1-23 I would like (while asterisk is running) define g1 as 1-10 and g1 as 10-23 Any hints appreciated. Andre Courchesne
My advice is to first make some tests to see if a reload is enough for Asterisk to read any group definitions change in zapata.conf, otherwise no on-the-fly change will work Alyed ---------------------------------------- Return-Path: <asterisk-users-bounces@lists.digium.com> Mon Oct 30 13:23:36 2006 Received: from digium-69-16-138-164.phx1.puregig.net [69.16.138.164] by maila11.webcontrolcenter.com with SMTP; Mon, 30 Oct 2006 13:23:36 -0700 Hi, Is there a way to create trunk groups while asterisk is running. For exemple let's say that zapata.conf defines g0 as channels 1-23 I would like (while asterisk is running) define g1 as 1-10 and g1 as 10-23 Any hints appreciated. Andre Courchesne _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- 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/20061030/8b841866/attachment.htm
Andre Courchesne - Consultant
2006-Oct-31 09:55 UTC
[asterisk-users] Live creation of trunk groups
Well it works. If I have group=0 that includes all my channels, I can create group=1 which is a subset and a simple reload makes this g1 available to dial on that subset. Message: 12 Date: Mon, 30 Oct 2006 15:25:06 -0700 From: "Alyed Tzompa" <alyed.tzompa@simitel.com> Subject: re: [asterisk-users] Live creation of trunk groups To: <asterisk-users@lists.digium.com> Message-ID: <c73678acad4b41eebcc812363a2b617b@simitel.com> Content-Type: text/plain; charset="iso-8859-1" My advice is to first make some tests to see if a reload is enough for Asterisk to read any group definitions change in zapata.conf, otherwise no on-the-fly change will work Alyed ---------------------------------------- Return-Path: <asterisk-users-bounces@lists.digium.com> Mon Oct 30 13:23:36 2006 Received: from digium-69-16-138-164.phx1.puregig.net [69.16.138.164] by maila11.webcontrolcenter.com with SMTP; Mon, 30 Oct 2006 13:23:36 -0700 Hi, Is there a way to create trunk groups while asterisk is running. For exemple let's say that zapata.conf defines g0 as channels 1-23 I would like (while asterisk is running) define g1 as 1-10 and g1 as 10-23 Any hints appreciated. Andre Courchesne _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- 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/20061030/8b841866/attachment-0001.htm ------------------------------
On Mon, Oct 30, 2006 at 03:08:39PM -0500, Andre Courchesne - Consultant wrote:> Hi, > > Is there a way to create trunk groups while asterisk is running. > > For exemple let's say that zapata.conf defines g0 as channels 1-23 > > I would like (while asterisk is running) define g1 as 1-10 and g1 as 10-23 > > Any hints appreciated.Edit zapata.conf and from the asterisk cli run 'reload' or 'reload chan_zap.so' . This will apply most changes from apata.conf. Basically anything that doesn't change the "very nature" of the channel. Tat is: you will not be able to create and destory channels that way, or even change their signalling. But you'll be able to change probably all other parameters. -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir