Chris A. Icide
2004-Nov-21 01:08 UTC
[Asterisk-Users] Using CallingPres to set up CallerID blocking
From the Wiki: Presentation indicator (octet 3a) Bits 7 6 Meaning 0 0 Presentation allowed 0 1 Presentation restricted 1 0 Number not available due to interworking 1 1 Reserved Screening indicator (octet 3a) Bits 2 1 Meaning 0 0 User-provided, not screened 0 1 User-provided, verified and passed 1 0 User-provided, verified and failed 1 1 Network provided How do these bits fit into "number" where CallingPres(number)? Is number is binary field or a decimal field? It is 8 bits long (the word octet sure seems to indicate that)? What would number be if you wanted to block Presentation on the far end (when placing a call through a Q.931 PRI) if you wanted to present Anonymous or Unavailable? What would number be if you wanted to present a full callerid as User-provided, verified, and passed? -Chris
Chris A. Icide
2004-Nov-21 02:10 UTC
[Asterisk-Users] Using CallingPres to set up CallerID blocking
On 12:08 AM 11/21/2004, Chris A. Icide wrote: Okay, ignore the previous question, I figured it out. for anyone else who may also not completely grasp the wiki explanation: number is a octet, and the only bits you need worry about are bits 1,2,6 and 7 bits 1 and 2 define the screening indicator, and bits 6 and 7 define the Presentation indicator. The placement of the Bits and Meaning Header messed me up a little bit, as did the '(octet 3a)' as I was wondering what importance the 3a had. So some general settings: Presentation Allowed, Network Provided: 3 (00000011) Presentation Restricted, User-provided, verified, and passed: 33 (00100001) Presentation Restricted, Network Provided: 35 (00100011) -Chris