Name

GetCPEID() — Gets the CPE ID from an ADSI-capable telephone

Synopsis

    GetCPEID()

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.