CALLERPRES()
Synopsis
Gets or sets Caller*ID presentation on the channel.
Description
Gets or sets Caller*ID presentation on the channel. This function is deprecated in favor of CALLERID(num-pres) and CALLERID(name-pres). The following values are valid:
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.
Syntax
CALLERPRES()
Arguments
See Also
Import Version
This documentation was imported from Asterisk Version Unknown
Comments:
Unfortunately, CALLERPRES() do nothing with Queues. IMHO, it's a very important feature to not mess up the CDR by change the CALLERID(num), hiding this to the agent. ![]() |
Sorry? Meaning that calls whose presentation is blocked are not properly changed in presentation value if the call is passed to a Queue, but are set properly if passed directly to a SIP phone? ![]() |
Yep. exten => 775,1,Set(CALLERPRES()=unavailable) exten => 776,1,Set(CALLERPRES()=unavailable) Queue 'test' have SIP/1000 as a static member. This patch:
https://issues.asterisk.org/view.php?id=17909 ![]() |
Anyone else out there needing to make use of this functionality? There's not a lot of commentary on the issue tracker or on the mailing lists that I see about it. ![]() |
Malcom, We have a lot of customers with agents that answers both external inbound calls Today, we change the CID name and number but this mess up the CDR and queue log. ![]() |
Okay, it's in the queue, but it's currently unscheduled - we haven't been able to put anyone on addressing it yet. ![]() |