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

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

See Also

CALLERID()

Get Asterisk: The Future of Telephony, 2nd Edition 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.