summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 41700828e..75154cb62 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -13375,8 +13375,8 @@ static void initreqprep(struct sip_request *req, struct sip_pvt *p, int sipmetho
} else {
/* Even if we are using RPID, we shouldn't leak information in the From if the user wants
* their callerid restricted */
- l = CALLERID_UNKNOWN;
- n = l;
+ l = "anonymous";
+ n = CALLERID_UNKNOWN;
d = FROMDOMAIN_INVALID;
}
}