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

2017-03-24 Thread Olivier
Hello,

2017-03-17 15:05 GMT+01:00 Olivier :

> 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
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

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

2017-03-17 Thread Olivier
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)})

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
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users