GetCPEID() — Gets the CPE ID from an ADSI-capable telephone
Obtains the CPE ID and other information and displays it
on the Asterisk console. This information is often needed in order to
properly set up zapata.conf
for
on-hook operations with ADSI-capable telephones.
Returns -1
on hangup
only.
; use this extension to get the necessary information to set up ADSI
; telephones
exten => 123,1,GetCPEID()