[Spce-user] Anonymous calls
agranig at sipwise.com
Tue May 8 06:08:26 EDT 2012
On 05/08/2012 11:14 AM, Sylvester Nielsen wrote:
> Our carriers send a p-asserted identity header which contains the number
> and a privacy header like this:
> Privacy: user;id;critical
The SPCE only understands a header "Privacy: id", so you'd need to do
some extra matching to catch "user;id;critical". To do so, copy
modify the customtt file accordingly.
Search for the line:
is_present_hf("Privacy") && $hdr(Privacy) == "id"
and change it to something like this:
is_present_hf("Privacy") && $hdr(Privacy) =~ "(^|;)id(;|$)"
Not sure if the proxy recognizes this regex, so you might need to
experiment a bit with it, or just set it to
is_present_hf("Privacy") && $hdr(Privacy) == "user;id;critical"
if you're 100% certain that it will always look like this (which I
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 900 bytes
Desc: OpenPGP digital signature
More information about the Spce-user