Hi All,

In my dialplan and standard asterisk CLI logging i see that i am able to 
restrict the callerid when dialing out with asterisk.
however, on the receiving phone, the callerid is still displayed.

When i increment the logging of the pri with "pri set debug on span 1" on the 
CLI i also get the lower level debugging info from the pri.
>From here it looks like the SET CALLERPRES()=prohib  is not working as 
>expected... we see:  "Presentation: Presentation permitted"

We use asterisk 1.6 with DAHDI and a PRI ISDN 30 line in the Netherlands.

Can anyone help me sorting out this issue?? Thanks in advance!


    -- Executing [...@macro-transfer:25] NoOp("SIP/joostkuif-00000003", 
"geheim") in new stack
    -- Executing [...@macro-transfer:26] NoOp("SIP/joostkuif-00000003", "voor 
de SET CALLERPRES() = allowed_not_screened") in new stack
    -- Executing [...@macro-transfer:27] NoOp("SIP/joostkuif-00000003", 
"CALLINGPRES = 0") in new stack
    -- Executing [...@macro-transfer:28] Set("SIP/joostkuif-00000003", 
"CALLERPRES()=prohib") in new stack
    -- Executing [...@macro-transfer:29] NoOp("SIP/joostkuif-00000003", "na de 
SET CALLERPRES() = prohib") in new stack
    -- Executing [...@macro-transfer:30] NoOp("SIP/joostkuif-00000003", 
"CALLINGPRES is nu = 35") in new stack
    -- Executing [...@macro-transfer:31] Goto("SIP/joostkuif-00000003", "dial") 
in new stack
    -- Goto (macro-transfer,s,36)
    -- Executing [...@macro-transfer:36] NoOp("SIP/joostkuif-00000003", "dial") 
in new stack
    -- Executing [...@macro-transfer:37] Dial("SIP/joostkuif-00000003", 
"DAHDI/g1/003164616****,10") in new stack
-- Making new call for cref 32772
    -- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8)  len=45
> TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent from originator)
> Message Type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: 
> Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode 
> (16)
>                                User information layer 1: A-Law (35)
> [18 03 a1 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  
> Preferred  Dchan: 0
>                       ChanSel: As indicated in following octets
>                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
>                       Ext: 1  Channel: 1 Type: CPE]
> [6c 0b 21 81 36 34 36 31 36 30 35 39 30]
> Calling Number (len=13) [ Ext: 0  TON: National Number (2)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number 
> passed network screening (1)  '64616****' ]
> [70 0e 80 30 30 33 31 36 34 36 31 36 30 35 39 30]
> Called Number (len=16) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown 
> Number Plan (0)  '003164616****' ]
> [a1]
> Sending Complete (len= 1)
q931.c:4877 q931_setup: Call 32772 enters state 1 (Call Initiated).  Hold 
state: Idle
    -- Called g1/003164616****
< Protocol Discriminator: Q.931 (8)  len=10
< TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent to originator)
< Message Type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  
Exclusive  Dchan: 0
<                       ChanSel: As indicated in following octets
<                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
<                       Ext: 1  Channel: 1 Type: CPE]
Received message for call 0x2aaaac4e93f0 on 0xbead2a0 TEI/SAPI 0/0, call->pri 
is 0xbead2a0 TEI/SAPI 0/0
-- Processing IE 24 (cs0, Channel Identification)
q931.c:6916 post_handle_q931_message: Call 32772 enters state 3 (Outgoing Call 
Proceeding).  Hold state: Idle
    -- DAHDI/1-1 is proceeding passing it to SIP/joostkuif-00000003
< Protocol Discriminator: Q.931 (8)  len=9
< TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent to originator)
< Message Type: ALERTING (1)
< [1e 02 84 88]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  
Location: Public network serving the remote user (4)
<                               Ext: 1  Progress Description: Inband 
information or appropriate pattern now available. (8) ]
Received message for call 0x2aaaac4e93f0 on 0xbead2a0 TEI/SAPI 0/0, call->pri 
is 0xbead2a0 TEI/SAPI 0/0
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:6806 post_handle_q931_message: Call 32772 enters state 4 (Call 
Delivered).  Hold state: Idle
    -- DAHDI/1-1 is ringing
-- 
_____________________________________________________________________
-- 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

Reply via email to