[asterisk-ss7] Cannot block CallerID with libss7

Attila Domjan adomjan at tvnet.hu
Fri Mar 19 04:34:56 CDT 2010


On Fri, 2010-03-19 at 09:49 +0100, enrico mario wrote:
> Hi,
> setting "usecallingpres" to yes in chan_dahdi.conf did solve my
> problem. Now I can see the correct values for  parameters in IAM
> message using my protocol analyzer: Address presentation restricted
> indicator: presentation restricted (1).
> But inside Asterisk I can still see the CallerID using the CLI command
> "core show channels verbose", is it right? I tried dumping some
> variables on the receiving box:

yes, callerid remain the same, callerpres only a param... 
I think, it is not a the topic for this list :)

> 
> 
> exten => 0331,1,Answer()
> exten => 0331,n,NoOp(${CALLERID}) 
> exten => 0331,n,NoOp(${CALLERIDNAME}) 
> exten => 0331,n,NoOp(${CALLERIDNUM}) 
> exten => 0331,n,Playback(demo-congrats)
> 
> 
> but they are all empty (using both CALLERPRES()=prohib or allowed). Am
> I missing something?
> Thank you again!
> 
> 
> Mario
> 
> 
> 
> 
> 
> 
> On Thu, Mar 18, 2010 at 9:19 PM, Domjan Attila <adomjan at tvnet.hu>
> wrote:
>         check this in chan_dahdi.conf:
>         
>         ;
>         ; Whether or not to use the caller ID presentation from the
>         Asterisk
>         channel
>         ; for outgoing calls.
>         ; See dialplan function CALLERID(pres) for more information.
>         ; Only applies to PRI and SS7 channels.
>         ;
>         usecallingpres=yes
>         ;
>         
>         
>         On Thu, 2010-03-18 at 20:25 +0100, enrico mario wrote:
>         
>         
>         > Hello,
>         > I cannot block CallerID with attila's libss7. I've two
>         crossed boxes
>         > with the same software version and specular configuration. I
>         had some
>         > checks with "core show channels verbose" inside Asterisk,
>         and with a
>         > protocol analyzer (showing Calling Party Number with
>         Presentation
>         > Allowed)
>         > My setup:
>         >
>         >
>         > [[[extensions.conf]]]
>         > ...
>         > exten => 03312,1,Set(CALLERPRES()=prohib)
>         > exten => 03312,n,Set(CALLERPRES(num)=prohib)
>         > exten => 03312,n,Set(CALLERPRES(name)=prohib)
>         > exten => 03312,n,Dial(DAHDI/g1/${EXTEN})
>         > ...
>         >
>         >
>         > [[[chan_dahdi.conf]]]
>         > [trunkgroups]
>         >
>         >
>         > [channels]
>         > echocancel=yes
>         > echotraining=no
>         > context = default
>         > signalling = ss7
>         > ss7type = itu
>         > ss7_called_nai=dynamic
>         > ss7_calling_nai=dynamic
>         > usecallerid=yes
>         > hidecallerid=no
>         > callerid=asreceived
>         > group = 1
>         > linkset = 1
>         > pointcode = 10
>         > adjpointcode = 9
>         > defaultdpc = 9
>         > ...
>         >
>         >
>         > Anyone has suggestions? Thank you!
>         >
>         >
>         > Mario
>         
>         
>         > --
>         >
>         _____________________________________________________________________
>         > -- Bandwidth and Colocation Provided by
>         http://www.api-digital.com --
>         >
>         > asterisk-ss7 mailing list
>         > To UNSUBSCRIBE or update options visit:
>         >    http://lists.digium.com/mailman/listinfo/asterisk-ss7
>         
>         
>         
>         --
>         _____________________________________________________________________
>         -- Bandwidth and Colocation Provided by
>         http://www.api-digital.com --
>         
>         asterisk-ss7 mailing list
>         To UNSUBSCRIBE or update options visit:
>           http://lists.digium.com/mailman/listinfo/asterisk-ss7
> 
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-ss7

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-ss7/attachments/20100319/2eeeb8eb/attachment.pgp 


More information about the asterisk-ss7 mailing list