[asterisk-users] Regarding - P-Asserted identity and Privacy - SOLVED

das sandesh sandesh440 at gmail.com
Fri Mar 12 08:54:05 CST 2010


Hi All,

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:

exten => _1NXXXXXXXXX,n,Set(PRIVACY=${SIP_HEADER(Privacy)})
exten => _1NXXXXXXXXX,n,ExecIf($["${PRIVACY}" = "id"]|SetCallerPres|prohib)

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.

Thank you
Sandesh


On Fri, Mar 5, 2010 at 11:18 AM, das sandesh <sandesh440 at gmail.com> wrote:

> Hi All,
>
> 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: P-Asserted-Identity Header, 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?
>
> Server details:asterisk: 1.4.26.2
> dahdi: 2.2.0.2
> libpri: 1.4.10.1
>
> Thanks for your help.
>
> Regards
> Sandesh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100312/2de1d049/attachment.htm 


More information about the asterisk-users mailing list