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

2010-03-12 Thread das sandesh
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 = _1NX,n,Set(PRIVACY=${SIP_HEADER(Privacy)})
exten = _1NX,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 sandesh...@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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Regarding - P-Asserted identity

2010-03-05 Thread das sandesh
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
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users