Hi Again, This seems to be working for me: [custom-queuelogmeon] exten => s,1,Answer() exten => s,n,AddQueueMember(500|Local/3...@from-internal/n) exten => s,n,Playback(agent-loginok) exten => s,n,Hangup() Where 500 is the Queue number and 343 is the extension. Keeing the format Local/3...@from-internal/n just because it works and I don't know why :) However, this is a custom context and I don't want to make one context for each extension. When I try this it fails: exten => s,n,AddQueueMember(500|Local/$[ext...@from-internal/n) Notice that I changed 343 to $[EXTEN]. This won't login or logoff. Any suggestions please? Thanks, Bruce
________________________________ > From: [email protected] > To: [email protected] > CC: [email protected] > Subject: RE: [on-asterisk] How to run a shell script from Aastra keys > Date: Tue, 3 Mar 2009 16:04:36 -0500 > > > > > > > > > Thanks Andre, Jim, and Dave for the great input. Amazing suggestion. This > works. But I am getting greedy now. How can I indicate to the user that Queue > has been logged in? can I somehow turn the LED beside the soft key to ON > after member is added? I know that a playback can be added but how about the > LED? > > > > exten => 111,1,Answer() > exten => 111,n,AddQueueMember(techsupport|SIP/3000) > exten => 111,n,Playback(LoggedIN) > > exten => 111,n,Hangup() > > > > Thanks > >> Date: Tue, 3 Mar 2009 15:53:17 -0500 >> From: [email protected] >> To: [email protected] >> CC: [email protected] >> Subject: Re: [on-asterisk] How to run a shell script from Aastra keys >> >> Why not do a speeddial that dials a special extension like this: >> >> exten => 111,1,Answer() >> exten => 111,n,AddQueueMember(techsupport|SIP/3000) >> exten => 111,n,Hangup() >> >> Andre Courchesne >> Concepteur Logiciel - Software Developer >> [email protected] >> >> PrivalODC Inc. >> 9955 ave Catania, local 145 >> Brossard, QC >> J4Z 3V5 >> >> Web.: http://www.prival.ca >> Tel.: (450) 761-9973 poste 635 >> 1-866-761-9973 >> Fax.: (450) 761-9842 >> >> Ce message électronique ainsi que tous les documents annexés s’adressent >> exclusivement à la personne ou à l’entité inscrit dans la rubrique >> destinataire ; il peut contenir des renseignements de nature confidentielle >> ou privilégiée aux termes des lois applicables. Nulle autre personne ne >> doit y avoir accès. Si vous n’êtes pas le destinataire convenu, nous vous >> avisons par la présente qu'il est strictement interdit d'en divulguer le >> contenu, de le distribuer, le copier ou l’ utiliser. Veuillez aviser >> l’expéditeur immédiatement par retour de courrier électronique et supprimer >> ce message de votre système. Toute diffusion ou reproduction de ce document >> ainsi que tout mesure prise à l’égard de la présente est formellement >> interdite. >> >> Merci de penser à l'environnement avant d'imprimer ce courriel. >> >> >> Bruce N wrote: >>> Hi Guys, >>> >>> >>> >>> Looking to run a simple one line file through Aastra 53i programable keys: >>> >>> >>> >>> asterisk -rx AddQueueMember(techsupport|SIP/3000) >>> >>> >>> >>> What is the simplest way to go about this? >>> >>> >>> >>> Also, does anyone know why the first two keys on Aastra 53i are reserverd >>> for Save and Delete and can't be change via the Phone Web GUI? >>> >>> >>> >>> Thanks, >>> >>> Bruce >>> >>> >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________ >>> Experience all of the new features, and Reconnect with your life. >>> http://go.microsoft.com/?linkid=9650730 >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > ________________________________ > Make your Messenger window look the way you want. Express Yourself! _________________________________________________________________ Reinvent how you stay in touch with the new Windows Live Messenger. http://go.microsoft.com/?linkid=9650731 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
