[asterisk-users] Asterisk 13: is CALLERID(num-pres) readable ? [SOLVED]

Olivier oza.4h07 at gmail.com
Fri Mar 24 04:33:39 CDT 2017


Hello,

2017-03-17 15:05 GMT+01:00 Olivier <oza.4h07 at gmail.com>:

> Hello,
>
> From a 13.14.0 system:
>
> same = n,Verbose(0,1-CALLERID(num-pres) is ${CALLERID(num-pres)})
> same = n,Set(CALLERID(num-pres)=prohib)
> same = n,Verbose(0,2-CALLERID(num-pres) is now ${CALLERID(num-pres)})
>


Replying to myself, moving above statements before a Ringing statement
triggered printing of expected values:
1-CALLERID(num-pres) is allowed_not_screened
2-CALLERID(num-pres) is now prohib

I hope this could help others.

Cheers



>
> I would expect to read "2-CALLERID(num-pres) is now prohib" but I get
> "2-CALLERID(num-pres) is ".
>
> I also get "1-CALLERID(num-pres) is ".
>
> 1. Am I missing something ?
> 2. What is the more efficient way to detect a caller requested to be kept
> anonymous ?
>
>
>
> Slts
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170324/87c4a241/attachment.html>


More information about the asterisk-users mailing list