2010/8/29 Sujeev <[email protected]>:
> 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
<[email protected]>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to