Re: privacy headers ignored?
The telco is Gamma (a UK operator)
The calls are dialled by users on the PSTN, who have used the prefix (141) in the UK to indicate that their number should not be released to the person they are calling. Calling any other PSTN line, or a mobile, would show 'private number' or 'withheld' or some similar message.
The PBX should act in the same manner; if a caller has chosen to withhold their number, then the only people who should be able to obtain it are the police or other appropriate authorities, surely.
While other providers change the number in the SIP headers to 'anonymous', Gamma seem to be using the 'privacy' flag instead.
The result is that anyone who choses to call me, when using 3CX with Gamma's SIP trunk, no longer has the option of withholding their number. If the privacy flag is set to 'full' on an incoming call it seems to me it would be logical (and in accordance with the wishes of the original caller) for 3CX to act on that, and discard the incoming number.
Here's an incoming call, where the PSTN caller has withheld their number (last six digits of number replaced by x)
INVITE sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP 83.245.6.81:5060;branch=z9hG4bKfb8a39a6567f3ffb0473dcf68bf8b521
Max-Forwards: 69
Contact: <sip:
[email protected]:5060>
To: <sip:
[email protected]:5060>
From: <sip:
[email protected]>;tag=3483458609-959590
Call-ID:
[email protected]
CSeq: 1 INVITE
Expires: 180
Session-Expires: 3600;refresher=uac
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Call-Info: <sip:83.245.6.81>;method="NOTIFY;Event=telephone-event;Duration=1000"
Supported: timer, 100rel
Allow-Events: telephone-event
Content-Length: 0
Remote-Party-ID: <sip:
[email protected]>;party=calling;screen=yes;privacy=full
Where a caller hasn't chosen to withhold their number, the incoming request is identical, save for the RPID, which looks like this:
Remote-Party-ID: <sip:
[email protected]>;party=calling;screen=yes;privacy=off