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