simonp22 0 Report post Posted January 22, 2020 For full outbound caller privacy the carrier Im using requires this: From: "Anonymous" <sip:anonymous@anonymous.invalid> P-Asserted-Identity: "447700900123" <sip:447700900123@realm> Privacy: id How do I configure Kazoo to do this when I set an account to: "caller_id_options": { "outbound_privacy": "full" }, Quote Share this post Link to post Share on other sites
simonp22 0 Report post Posted August 25, 2020 Still trying to find a solution for this, Even after setting "default_asserted_identity" to true in system_config/callflow.resources kazoo still sends RPID, rather than PAI. Has anyone had this problem before? Quote Share this post Link to post Share on other sites
fmateo05 41 Report post Posted August 25, 2020 check out this link https://github.com/2600hz/kazoo/blob/master/core/kazoo_endpoint/doc/formatters.md Quote Share this post Link to post Share on other sites
simonp22 0 Report post Posted August 26, 2020 Based on that link, it doesn't seem like I could do the following: If the From header matches a regex expression e.g. ^\\*67(\\d{10})$ - Add Privacy: id header - Add P-Asserted-Identity: "{FromCaptureGroup}" <sip:{FromCaptureGroup}@realm> Or am I wrong? and if so, how could you do this? Quote Share this post Link to post Share on other sites
fmateo05 41 Report post Posted August 26, 2020 Ok, there is another way to make it work on the custom_sip_headers section (resources) you can use P-Preferred-Identity Header, it will override the default one (P-Asserted-Identity). Quote Share this post Link to post Share on other sites
simonp22 0 Report post Posted August 26, 2020 Thanks, I dont see how this would work for only when *67 is dialled though? Quote Share this post Link to post Share on other sites
zabagar 0 Report post Posted April 1 Hello! I'm curious as to whether or not you worked this out? I found this thread doing a google search, because I'm looking to do the exact same thing you were. If you figured it out, please post! Thanks!! -Bob Quote Share this post Link to post Share on other sites