Zeeshan Zakaria
2008-Oct-17 06:12 UTC
[asterisk-users] How to add contexts in asterisk realtime?
Hi everybody, How can we add new contexts in asterisk realtime module? All I could figure out after googling is that a new context HAS to be declared in extensions.conf with 'switch => Realtime/@<databasetable>' under the context name declaration. This works fine as long as we are adding extensions only to this one context, but doesn't give the freedom to add new contexts for different users, groups or departments. Can this be accomplised at all in asterisk? Zeeshan A Zakaria -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081017/5314a36a/attachment.htm
Zeeshan Zakaria
2008-Oct-21 17:08 UTC
[asterisk-users] How to add contexts in asterisk realtime?
I haven't got any reply on this question. I did some more googling but still couldn't find what I am looking for. Does anybody know if this is possible at all? Zeeshan On Fri, Oct 17, 2008 at 2:12 AM, Zeeshan Zakaria <zishanov at gmail.com> wrote:> Hi everybody, > > How can we add new contexts in asterisk realtime module? All I could figure > out after googling is that a new context HAS to be declared in > extensions.conf with 'switch => Realtime/@<databasetable>' under the context > name declaration. This works fine as long as we are adding extensions only > to this one context, but doesn't give the freedom to add new contexts for > different users, groups or departments. > > Can this be accomplised at all in asterisk? > > Zeeshan A Zakaria >-- Zeeshan A Zakaria -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081021/e691c5e7/attachment.htm
Terry Wilson
2008-Oct-21 18:18 UTC
[asterisk-users] How to add contexts in asterisk realtime?
> How can we add new contexts in asterisk realtime module? All I could > figure out after googling is that a new context HAS to be declared > in extensions.conf with 'switch => Realtime/@<databasetable>' under > the context name declaration. This works fine as long as we are > adding extensions only to this one context, but doesn't give the > freedom to add new contexts for different users, groups or > departments.I just responded to someone else with the same question: See http://bugs.digium.com/view.php?id=6019 It looks like this will be available in Asterisk 1.6.1. You can try out the beta if you would like: http://downloads.digium.com/pub/asterisk/asterisk-1.6.1-beta1.tar.gz
morteza kashani
2008-Oct-22 05:45 UTC
[asterisk-users] How to add contexts in asterisk realtime?
hi for any context ,you must to open /etc/asterisk/extensions.conf and insert this line : exten =>Realtime/yourcontext at DBtable and (reload) or (restart now) your asterisk ________________________________ From: Zeeshan Zakaria <zishanov at gmail.com> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Sent: Tuesday, October 21, 2008 8:38:22 PM Subject: Re: [asterisk-users] How to add contexts in asterisk realtime? I haven't got any reply on this question. I did some more googling but still couldn't find what I am looking for. Does anybody know if this is possible at all? Zeeshan On Fri, Oct 17, 2008 at 2:12 AM, Zeeshan Zakaria <zishanov at gmail.com> wrote: Hi everybody, How can we add new contexts in asterisk realtime module? All I could figure out after googling is that a new context HAS to be declared in extensions.conf with 'switch => Realtime/@<databasetable>' under the context name declaration. This works fine as long as we are adding extensions only to this one context, but doesn't give the freedom to add new contexts for different users, groups or departments. Can this be accomplised at all in asterisk? Zeeshan A Zakaria -- Zeeshan A Zakaria -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081021/1faad68b/attachment.htm
morteza kashani
2008-Oct-22 05:48 UTC
[asterisk-users] How to add contexts in asterisk realtime?
yes my problem is like your problem but i am tring to : http://bugs.digium.com/view.php?id=6019 http://downloads.digium.com/pub/asterisk/asterisk-1.6.1-beta1.tar.gz ________________________________ From: Terry Wilson <twilson at digium.com> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Sent: Tuesday, October 21, 2008 9:48:27 PM Subject: Re: [asterisk-users] How to add contexts in asterisk realtime?> How can we add new contexts in asterisk realtime module? All I could > figure out after googling is that a new context HAS to be declared > in extensions.conf with 'switch => Realtime/@<databasetable>' under > the context name declaration. This works fine as long as we are > adding extensions only to this one context, but doesn't give the > freedom to add new contexts for different users, groups or > departments.I just responded to someone else with the same question: See http://bugs.digium.com/view.php?id=6019 It looks like this will be available in Asterisk 1.6.1. You can try out the beta if you would like: http://downloads.digium.com/pub/asterisk/asterisk-1.6.1-beta1.tar.gz _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.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/20081021/41b4f207/attachment.htm
JR Richardson
2008-Oct-22 18:37 UTC
[asterisk-users] How to add contexts in asterisk realtime?
> hi > for any context ,you must to open /etc/asterisk/extensions.conf and insert this line : exten =>Realtime/yourcontext at DBtable > and (reload) or (restart now) your asterisk >You don't have to restart asterisk, just a 'dialplan reload' will suffice. So really there is no impact to a running system. JR -- --------------------- JR Richardson Engineering for the Masses