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

SetCallerID() — Sets the Caller ID for the channel

Synopsis

    SetCallerID(clid[,a])

Sets the Caller ID on the channel to a specified value. If the a argument is passed, ANI is also set to the specified value.

Always returns 0.

    ; set both the Caller ID and ANI
    exten => 123,1,SetCallerID("John Q. Public <8885551212>",a)

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