O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required