Cannot block CallerID with libss7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Enrico,

1 - Incoming/Outgoing channels have their differences
2 - Use core show channel <channel id>, example: core show channel
SIP/2722228118-00000144
3 - I currently don't have any TDM spans, so I won't even try to send
you an example output
4 - Also for every call there's an incoming and an outgoing channel,
with some difference in channel attributes, you'd better look at both sides

Regards,

Marcelo
PS: I don't answer to direct e-mails

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:
>
> 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
> <mailto: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
>
>




[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux