Hi All,<br><br>I got this figured out, when the privacy is ON at the other end of the server and when we get the Invite message to the server connected to PRI's, just take the details from the invite message in the Dial plan and send the calls as anonymous:<br>
<br>exten => _1NXXXXXXXXX,n,Set(PRIVACY=${SIP_HEADER(Privacy)})<br>exten => _1NXXXXXXXXX,n,ExecIf($["${PRIVACY}" = "id"]|SetCallerPres|prohib)<br><br>This makes the calls with privay ON sent as anonymous at the other end. One more thing is to make sure you enable usecallingpres=yes in chan_dahdi.conf.<br>
<br>Thank you<br>Sandesh<br><br><br><div class="gmail_quote">On Fri, Mar 5, 2010 at 11:18 AM, das sandesh <span dir="ltr"><<a href="mailto:sandesh440@gmail.com">sandesh440@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<div><br></div><div>We have two servers, one server (SIP asterisk server) sending calls to the second server(has PRI) which goes our through the PRI's (using TE 412p). When the pprivacy is enabled: <span style="font-family: arial,sans-serif;">P-Asserted-Identity Header</span>, privacy "id" are sent in the header of SIP invite packet to the second server, how can we identify this privacy and block the callerid as the call goes to the second server which has the PRI cards (TDM circuit)? I tried setCallerPres(prob) but it prohibits all calls, is there any way of identifying the calls with the privacy ON coming from the first server and then block only those calls?</div>
<div><br></div><div>Server details:asterisk: 1.4.26.2</div><div>dahdi: 2.2.0.2</div><div>libpri: 1.4.10.1</div><div><br></div><div>Thanks for your help.</div><div><br></div><div>Regards</div><div>Sandesh</div>
</blockquote></div><br>