B.112. SetCallerPres()

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
Presentation allowed, not screened.
allowed_passed_screen
Presentation allowed, passed screen.
allowed_passed_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.
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.

Note

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 -