Name

SetCallerPres() — Sets Caller ID presentation flags

Synopsis

    SetCallerPres(presentation)

Sets the Caller ID presentation flags on a Q931 PRI connection.

Valid presentations are:

allowed_not_screened

Presentation Allowed, Not Screened

allowed_passed_screen

Presentation Allowed, Passed Screen

allowed_failed_screen

Presentation Allowed, Failed Screen

allowed

Presentation Allowed, Network Number

prohib_not_screened

Presentation Prohibited, Not Screened

prohib_passed_screen

Presentation Prohibited, Passed Screen

prohib_failed_screen

Presentation Prohibited, Failed Screen

prohib

Presentation Prohibited, Network Number

unavailable

Number Unavailable

Always returns 0.

               exten => 123,1,SetCallerPres(allowed_not_screened)
    exten => 123,2,Dial(Zap/g1/8885551212)

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.