could always put a text message on the screen.
-----Original Message----- From: David Cook [mailto:[email protected]] Sent: Tuesday, March 03, 2009 5:41 PM To: 'Andre Courchesne - Prival'; 'Bruce N' Cc: 'asterisk Mailing' Subject: RE: [on-asterisk] How to run a shell script from Aastra keys Answering my own post ... Damn, looks like my 9133i is a paperweight when it comes to LEDs :-( Looks to be v2.xx firmware and the following phones: Keys supported on a 9143i . prgkey1 to prgkey7 Keys supported on a 9480i/9480iCT . None Keys supported on a 53i . prgkey1 to prgkey6 Keys supported on a 55i . prgkey1 to prgkey6 . softkey1 to softkey20 Keys supported on a 57i/57i CT . topsoftkey1 to topsoftkey10 . softkey1 to softkey20 Keys supported on an expansion module (53i/55i/57i/57iCT) . 536M: expmodX key1 to expmodX key36 . 560M: expmodX key1 to expmodX key60 . Where X is the expansion module number (1 to 3) - dbc. -----Original Message----- From: David Cook [mailto:[email protected]] Sent: March-03-09 5:12 PM To: 'Andre Courchesne - Prival'; 'Bruce N' Cc: 'asterisk Mailing' Subject: RE: [on-asterisk] How to run a shell script from Aastra keys Which Aastra phone models will this work on and which SW level? I am already pushing XML to my test phone (9133i firmware 1.4.2.3000) which works fine. This code for the led however does not work. Thanks, dbc -----Original Message----- From: Andre Courchesne - Prival [mailto:[email protected]] Sent: March-03-09 4:10 PM To: Bruce N Cc: asterisk Mailing Subject: Re: [on-asterisk] How to run a shell script from Aastra keys Here is a php code that will light prgkey3 on a phone: <?php # function push2phone($server,$phone,$data) { $xml = "xml=".$data; $post= "POST / HTTP/1.1\r\n"; $post.= "Host: $phone\r\n"; $post.= "Referer: $server\r\n"; $post.= "Connection: Keep-Alive\r\n"; $post.= "Content-Type: text/xml\r\n"; $post .= "Content-Length: ".strlen($xml)."\r\n\r\n"; $fp = @fsockopen ( $phone, 80, $errno, $errstr, 5); if($fp) { fputs($fp, $post.$xml); flush(); fclose($fp); } } ############################## $xml="<AastraIPPhoneExecute triggerDestroyOnExit=\"yes\">"; $xml.="<ExecuteItem URI=\"Led: prgkey3=on\"/>"; $xml.="</AastraIPPhoneExecute>"; push2phone("192.168.2.20","192.168.2.150",$xml); ?> 192.168.2.20 is the pbx ip address 192.168.2.150 if the phone ip address 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: > 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] >> > > _________________________________________________________________ > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
