Hi
Is there any way (special module, or something like that) to implement RFC 3323 in Kamailio. Or do I have to do it manually, by changing the header fields that require privacy and change them for something like ("Anonymous" sip:anonymous@anonymous.invalid) and keep the relation of this new URI with the original one, in a separate table of my database?. How can I do this in a more easy way?.
David Cespedes
ingdavidcespedes@cable.net.co writes:
Is there any way (special module, or something like that) to implement RFC 3323 in Kamailio. Or do I have to do it manually, by changing the header fields that require privacy and change them for something like ("Anonymous" sip:anonymous@anonymous.invalid) and keep the relation of this new URI with the original one, in a separate table of my database?. How can I do this in a more easy way?.
if caller needs privacy, then it is up to the UA to send anonymous from header together with p-p-i and privacy headers.
-- juha
El Viernes, 5 de Diciembre de 2008, Juha Heinanen escribió:
if caller needs privacy, then it is up to the UA to send anonymous from header together with p-p-i and privacy headers.
That would be so cool... Unfortunatelly I just know a SIP phone implementing it: Twinkle.
Other phones (as Linksys) when the user enables privacy during a call, just set the From Display-Name with "Anonymous" value, while the From username remains the real :(
Iñaki Baz Castillo writes:
That would be so cool... Unfortunatelly I just know a SIP phone implementing it: Twinkle.
nokia sip phones implement p-p-i/identity based privacy.
Other phones (as Linksys) when the user enables privacy during a call, just set the From Display-Name with "Anonymous" value, while the From username remains the real :(
linksys phones do also many other things that are against standards.
-- juha
Iñaki Baz Castillo пишет:
El Viernes, 5 de Diciembre de 2008, Juha Heinanen escribió:
if caller needs privacy, then it is up to the UA to send anonymous from header together with p-p-i and privacy headers.
That would be so cool... Unfortunatelly I just know a SIP phone implementing it: Twinkle.
Other phones (as Linksys) when the user enables privacy during a call, just set the From Display-Name with "Anonymous" value, while the From username remains the real :(
Yep, some UAC set "Anonymous" only in Display Name. But u can fix it using this code:
$var(url) = $fu; if(is_present_hf("Privacy") && ($hdr(Privacy)=="id" || $hdr(Privacy)=="user") && search("(From|f):\s*"?anonymous")) { uac_replace_from("Anonymous","sip:anonymous@anonymous.invalid"); if(!is_present_hf("P-Asserted-Identity")) { append_hf("P-Asserted-Identity: <$var(url)>\r\n"); }; }
With best regards,