How about the setting in version 1.0.0? As found that remove_hf
function is only available in devel version.
unplug
For the remove_hf
On 2/21/06, Wolfgang Hottgenroth <[EMAIL PROTECTED]> wrote:
> I've done it this way:
>
> if (search("^Remote-Party-ID:.*<sip:.*?>.*?;privacy=full.*?")) {
> xlog("L_NOTICE", "*** full privacy requested\n");
> remove_hf("Remote-Party-ID");
> append_hf("Remote-Party-ID:\
> <sip:[EMAIL PROTECTED]>;party=calling;screen=yes;privacy=full\n");
> uac_replace_from("anonymous", "sip:[EMAIL PROTECTED]");
>
> avp_printf("contacthelp", "$hdr(contact)");
> # xlog("L_NOTICE", "*** contact: $avp(contacthelp)\n");
> avp_subst("contacthelp", "/<sip:(.*)@(.*)>/<sip:\2>/");
> # xlog("L_NOTICE", "*** contact substituted: $avp(contacthelp)\n");
> remove_hf("Contact");
> avp_pushto("$Contact", "s:contacthelp");
> }
>
> More interesting than disabling the callees phone from displaying the
> number is to remove it completely from the SIP messages, since the
> black-hat callee could run tcpdump in front of his phone.
>
>
> What do other ones think about my approach? In my setup it works fine,
> as it seems.
>
>
> Wolfgang
>
>
>
>
>
>
> unplug wrote:
> > In the situation below, a call made from PSTN to openser.
> >
> > PSTN -----> openser ---------> UA1
> >
> > How can I remove the caller such that UA1 can't show the caller number
> > in her display?
> >
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > http://openser.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users