Here's an idea. Set up static queues that go to named extensions using the Local channel, at a specified context.
In this context, specify your mappings using the global variables Ie. ; Queue member => Local/[EMAIL PROTECTED] ;Extensions.conf [globals] TECHSUPPORT=SIP/5101 SALES=SIP/5102 [support-people] exten => techsupport,1,Dial(${TECHSUPPORT}|20t) exten => techsupport,2,Voicemail(${TECHSUPPORT}|su) exten => sales,1,Dial(${SALES}|20t) exten => sales,2,Voicemail(${SALES}|su) This sets all the variables within extensions.conf, and uses the local channel to translate the placeholders. I haven't tried it, but it should work in theory. On September 1, 2006 17:52, Gary G. Hendershot wrote: > what I would like to do is set some global variables in EXTENSIONS.CONF > then read the contents of these to use as "members" of a QUEUE in > QUEUES.CONF ... > > example: (from [global] section of extensions.conf) > > TECH-SUPPORT=SIP/5000 ; set value of TECH-SUPORT to be SIP/5000 > > example: (from [tech-support] queues.conf] > > member => ${TECH-SUPPORT} > > > my intent here is have a central location where I can easily assign/change > members of the queue. > > Should this work ??? I have tried it and it dont seem too but then I have > done something stupid in my syntax. I have confrmed that the > ${TECH-SUPPORT} variable is assigned properly, is available and works as > expected within EXTENSIONS.CONF, but it seems it cant be used in > QUEUE.CONF. > > The agents scenario will not work for my application as it is a small 5 > person shop where everyone wears 5 hats. There really are no dedicated > agents and my users would object to having to logon/logoff and so on. > > I can of course "hard wire" the QUEUES.CONF with the values, have tried > this and it works fine! I was just looking for lazy way to manage it. Any > ideas on this would be appreciated. > > Regards > > G.Hendershot -- Tim St. Pierre IP telephony specialist sip://[EMAIL PROTECTED] Toronto: 647 722 6930 Toll-Free 1 888 488 6940 [EMAIL PROTECTED]
pgp9ruaYbaS82.pgp
Description: PGP signature
_______________________________________________ --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