Does anyone have any silver bullets for me?

Regards,
Martyn



On 9 November 2013 17:35, Martyn Davies <martyn@magiccow.co.uk> wrote:
Hello all,

I'm experimenting with SIP privacy and trying to emulate the message format used by an operator I'm working with.  My originate command (from FS_CLI) looks like this:

originate {origination_caller_id_name='anonymous@anonymous.invalid',origination_caller_id_number=631,sip_cid_type=pid,origination_privacy=screen+hide_number+hide_name}sofia/external/sip:447540xxxxxx@sip.xxxx.com & conference('martyn')

Which very nearly works.  The receiving mobile says "Unknown" for the caller-id, which is the desired result, but at the SIP level there are a couple of differences from the operator's own format that I wanted to get exactly right.

The 'From:' field contains:
  "anonymous" <sip:631@10.1.1.1>

My P-Asserted-Identity field is also the same.

A couple of things:

(1) Is is possible for the name to get reported as "anonymous@anonymous.invalid" as the caller name, just as I specified, instead of truncated at the @ ?

(2) I'm happy with the P-Asserted-Identity field containing the caller number, but can this be removed from the "From" field?  When I receive calls from the operator, there is the anonymous name, but the caller number is missing.


Regards,
Martyn