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

SetCIDNum() — Sets the Caller ID number for a channel

Synopsis

    SetCIDNum(cnum[,a])

Sets the Caller ID number on the current channel to the number specified by cnum, while preserving the original Caller ID name. This is useful for providing additional information to the called party. The application sets ANI as well if the a flag is used.

Always returns 0.

               exten => 123,1,SetCIDNum(8885551212)

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