Oh and from dialplan you can do something like this:

exten => 1111,1,NoOp(${SIPCHANINFO(peerip)})
exten => 1111,n,System(/usr/bin/php /var/www/html/aastra/asterisk/on_off.php ${SIPCHANINFO(peerip)} 5 on)
exten => 1111,n,Hangup()

This will turn on the prgkey5 of the phone that dials 1111



Quoting "Juan Sicardi" <[email protected]>:

Hi,

Anybody knows how to programmatically turn on/off the LEDs on an Aastra 57i? The goal is to turn on an LED on phone B when phone A is offhook. Any help and/or sample code would be greatly appreciated.

Thanks,
Juan.




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to