Hello Castillo, I don't change caller ID to "anonymous" for inbound calls and calls to PSTN. I've a problem with one of my international termination provider. They ask me to set caller ID as "Anonymous" before I send them to. I don't know why's that.(I also couldn't find any good reason)
Thank you! On Sun, Aug 29, 2010 at 9:25 PM, Iñaki Baz Castillo <i...@aliax.net> wrote: > 2010/8/29 Sujeev <suppo...@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 > <i...@aliax.net> > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Sujeev
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users