AJ, Banging my head other a similar problem here in US.
What I know so far the callerid function produces the following bitmap flag: 1. CID Private Name 2. CID Private Number 3. CID Unknown Name 4. CID Unknown Number 5. CID Message Waiting 6. CID No Message Waiting For example, Flag=3 means Private Name and Number. If a Number and / or a Name are blocked for whatever reason a Null value is written to the respective returned parameter. What I do not know is how to analyze the flag in a dialplan. The problem with analyzing a Null value as you mentioned in your message is with multiple source causes: * CID recognition failure * CID unknown * CID blocked -Vladimir On 10/11/2011 6:16 AM, A J Stiles wrote: > On a BT line, how do I determine whether the number on an incoming call has > been deliberately withheld (by dialling 141) or is merely unavailable > (e.g. > because it originated from overseas or passed through some ancient switching > equipment) ? > > In the first case, I want the caller to be played a message to the effect > that > we are not at home to anonymous cowards but if their business is important, > they may redial without withholding their number. In the second case, the > call needs to be treated as legitimate since it is not really the caller's > fault that their number is not available. > > Software is Asterisk 1.8.5.0 with DAHDI 2.4.1.2. Hardware is TDM410P with > two > each FXO and FXS modules. >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
