B.46. GetCPEID()

Retrieve the CPE-ID (Customer Premises Equipment ID) of an ADSI-capable telephone.
GetCPEID()
Retrieves the CPE-ID and additional information, displaying it on the Asterisk CLI. This information is often needed to properly configure zapata.conf to support ADSI features.
Returns -1 on hang-up.
exten => 123,1,GetCPEID()

Note

Internal help for this application in Asterisk 1.4:
  -= Info about application 'GetCPEID' =- 

[Synopsis]
Get ADSI CPE ID

[Description]
  GetCPEID: Obtains and displays ADSI CPE ID and other information in order
to properly setup zapata.conf for on-hook operations.
diff output to internal help in Asterisk 1.2:
- none - 
See also
Section B.2, “ADSIProg(), adsi.conf, zapata.conf