Sets caller ID presentation flags.
SetCallerPres(presentation)
Sets caller ID presentation flags for Q.931 PRI (Primary Rate Interface) connections. Similar to CallerPres(), but using words instead of a bitmask.
Valid presentations are:
allowed_not_screened
allowed_passed_screen
allowed_passed_screen
allowed
prohib_not_screened
prohib_passed_screen
prohib_failed_screen
prohib
unavailable
Returns 0.
exten => 123,1,SetCallerPres(allowed_not_screened) exten => 123,n,Dial(Zap/4/18775558190)
You may need to set usecallingpres=yes in
zapata.conf for this to work.
|
|
|
Internal help for this application in Asterisk 1.4: -= Info about application 'SetCallerPres' =-
[Synopsis]
Set CallerID Presentation
[Description]
SetCallerPres(presentation): Set Caller*ID presentation on a call.
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
diff output to internal help in Asterisk 1.2: - none - |