[OpenSIPS-Users] How can I change/set Caller ID to "anonymous" and alter caller ID

Iñaki Baz Castillo ibc at aliax.net
Sun Aug 29 16:25:21 CEST 2010


2010/8/29 Sujeev <support1 at meewadaya.com>:
> if ($avp(s:did)) {
> if(is_present_hf("Remote-Party-ID"))
> {
> remove_hf("Remote-Party-ID");
> }
> if(is_present_hf("Privacy"))
> {
> remove_hf("Privacy");
> }
> uac_replace_from("$avp(s:did)","");
> avp_delete("$avp(s:did)");
> };

I hope you also add the P-Asserted-Identity containining a valid
originating PSTN number, and the optional "Privacy: id" header to
request privacy to the PSTN gateway.

To clarify, in PSTN world sending a anonymous call means *requesting*
privacy to the intermediary PSTN gateways rather than hidding the CLI
in the first hop (which is illegal in most of the countries).

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Users mailing list