[Freeswitch-users] SIP Privacy on outbound calls (FS 1.2.13)

Martyn Davies martyn at magiccow.co.uk
Wed Nov 13 18:46:05 MSK 2013


Does anyone have any silver bullets for me?

Regards,
Martyn



On 9 November 2013 17:35, Martyn Davies <martyn at 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 at anonymous.invalid
> ',origination_caller_id_number=631,sip_cid_type=pid,origination_privacy=screen+hide_number+hide_name}sofia/external/
> sip:447540xxxxxx at 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 at 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 at 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
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131113/475ce408/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list