Already doing that. It would nice to use the LEDs in the way most (phone) people assume they should work.
-dbc. -----Original Message----- From: Dave Bour [mailto:[email protected]]=20 Sent: March-03-09 6:01 PM To: David Cook; 'Andre Courchesne - Prival'; 'Bruce N' Cc: 'asterisk Mailing' Subject: RE: [on-asterisk] How to run a shell script from Aastra keys could always put a text message on the screen. -----Original Message----- From: David Cook [mailto:[email protected]]=20 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]]=20 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]]=20 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 =3D "xml=3D".$data; $post=3D "POST / HTTP/1.1\r\n"; $post.=3D "Host: $phone\r\n"; $post.=3D "Referer: $server\r\n"; $post.=3D "Connection: Keep-Alive\r\n"; $post.=3D "Content-Type: text/xml\r\n"; $post .=3D "Content-Length: ".strlen($xml)."\r\n\r\n"; $fp =3D @fsockopen ( $phone, 80, $errno, $errstr, 5); if($fp) { fputs($fp, $post.$xml); flush(); fclose($fp); } } ############################## $xml=3D"<AastraIPPhoneExecute triggerDestroyOnExit=3D\"yes\">"; $xml.=3D"<ExecuteItem URI=3D\"Led: prgkey3=3Don\"/>"; $xml.=3D"</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 =E9lectronique ainsi que tous les documents annex=E9s = s'adressent exclusivement =E0 la personne ou =E0 l'entit=E9 inscrit dans la rubrique destinataire ; il peut contenir des renseignements de nature = confidentielle ou privil=E9gi=E9e aux termes des lois applicables. Nulle autre = personne ne doit y avoir acc=E8s. Si vous n'=EAtes pas le destinataire convenu, = nous vous avisons par la pr=E9sente qu'il est strictement interdit d'en divulguer = le contenu, de le distribuer, le copier ou l' utiliser. Veuillez aviser l'exp=E9diteur imm=E9diatement par retour de courrier =E9lectronique et = supprimer ce message de votre syst=E8me. Toute diffusion ou reproduction de ce = document ainsi que tout mesure prise =E0 l'=E9gard de la pr=E9sente est = formellement interdite. Merci de penser =E0 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? >=20 >=20 >=20 > exten =3D> 111,1,Answer() > exten =3D> 111,n,AddQueueMember(techsupport|SIP/3000) > exten =3D> 111,n,Playback(LoggedIN) >=20 > exten =3D> 111,n,Hangup() >=20 >=20 >=20 > Thanks >=20 >> 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 =3D> 111,1,Answer() >> exten =3D> 111,n,AddQueueMember(techsupport|SIP/3000) >> exten =3D> 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 =E9lectronique ainsi que tous les documents annex=E9s = s'adressent >> exclusivement =E0 la personne ou =E0 l'entit=E9 inscrit dans la = rubrique >> destinataire ; il peut contenir des renseignements de nature confidentielle >> ou privil=E9gi=E9e aux termes des lois applicables. Nulle autre = personne ne >> doit y avoir acc=E8s. Si vous n'=EAtes pas le destinataire convenu, = nous vous >> avisons par la pr=E9sente qu'il est strictement interdit d'en = divulguer le >> contenu, de le distribuer, le copier ou l' utiliser. Veuillez aviser >> l'exp=E9diteur imm=E9diatement par retour de courrier =E9lectronique >> = et supprimer >> ce message de votre syst=E8me. Toute diffusion ou reproduction de ce document >> ainsi que tout mesure prise =E0 l'=E9gard de la pr=E9sente est = formellement >> interdite. >> >> Merci de penser =E0 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=3D9650730 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] For additional >> commands, e-mail: [email protected] >> >=20 > _________________________________________________________________ > Experience all of the new features, and Reconnect with your life. > http://go.microsoft.com/?linkid=3D9650730 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected]
