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()

See Also

ADSIProg(), adsi.conf, zapata.conf

Get Asterisk: The Future of Telephony now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.