Re: [asterisk-users] PJSIP: P-Asserted-Identity and Privacy headers are missing when CALLERID(num)=prohib [SOLVED]

2016-06-10 Thread Olivier
And Thank you very much Richard for your help.

2016-06-10 9:10 GMT+02:00 Olivier :

> My trunk was configured with:
>  trust_id_inbound  : false
>  trust_id_outbound : false
>
> Setting both values to yes in endpoint's config made both Privacy and
> P-Asserted-Identity headers appear in first outbound INVITE.
>
> (My ITSP still declines my anonymous call but that's another story).
>
>
> 2016-06-09 18:55 GMT+02:00 Richard Mudgett :
>
>>
>>
>> On Thu, Jun 9, 2016 at 11:40 AM, Olivier  wrote:
>>
>>> Hello,
>>>
>>> My ITSP provides me with a SIP trunk which requires a CallerID value for
>>> any outbound call.
>>> Though a CallerID is required, anonymous calls are allowed.
>>> See extracts from a successfull anonymous call:
>>>
>>> From: "Anonymous" ;tag=438b284694b5b3de
>>>
>>> Privacy: id
>>>
>>> P-Asserted-Identity: "FooBar" 
>>>
>>> I'm trying to mimic this on a 13.8.0-enabled system.
>>>
>>> Whenever I set CALLERID(num-pres)=prohib in my dialplan, it seems
>>> P-Asserted-Identity not not present in outbound INVITE.
>>>
>>> I would expect to see it there along with a "Privacy: id" header.
>>>
>>> Do you agree with my expectation ?
>>> How can I work around this, keeping PJSIP stack ?
>>>
>>
>> Do you have the following options enabled in pjsip.conf?
>> ;trust_id_inbound=no; Accept identification information received from
>> this
>> ; endpoint (default: "no")
>> ;trust_id_outbound=no   ; Send private identification details to the
>> endpoint
>> ; (default: "no")
>>
>> Richard
>>
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] PJSIP: P-Asserted-Identity and Privacy headers are missing when CALLERID(num)=prohib [SOLVED]

2016-06-10 Thread Olivier
My trunk was configured with:
 trust_id_inbound  : false
 trust_id_outbound : false

Setting both values to yes in endpoint's config made both Privacy and
P-Asserted-Identity headers appear in first outbound INVITE.

(My ITSP still declines my anonymous call but that's another story).


2016-06-09 18:55 GMT+02:00 Richard Mudgett :

>
>
> On Thu, Jun 9, 2016 at 11:40 AM, Olivier  wrote:
>
>> Hello,
>>
>> My ITSP provides me with a SIP trunk which requires a CallerID value for
>> any outbound call.
>> Though a CallerID is required, anonymous calls are allowed.
>> See extracts from a successfull anonymous call:
>>
>> From: "Anonymous" ;tag=438b284694b5b3de
>>
>> Privacy: id
>>
>> P-Asserted-Identity: "FooBar" 
>>
>> I'm trying to mimic this on a 13.8.0-enabled system.
>>
>> Whenever I set CALLERID(num-pres)=prohib in my dialplan, it seems
>> P-Asserted-Identity not not present in outbound INVITE.
>>
>> I would expect to see it there along with a "Privacy: id" header.
>>
>> Do you agree with my expectation ?
>> How can I work around this, keeping PJSIP stack ?
>>
>
> Do you have the following options enabled in pjsip.conf?
> ;trust_id_inbound=no; Accept identification information received from
> this
> ; endpoint (default: "no")
> ;trust_id_outbound=no   ; Send private identification details to the
> endpoint
> ; (default: "no")
>
> Richard
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] PJSIP: P-Asserted-Identity and Privacy headers are missing when CALLERID(num)=prohib

2016-06-09 Thread Richard Mudgett
On Thu, Jun 9, 2016 at 11:40 AM, Olivier  wrote:

> Hello,
>
> My ITSP provides me with a SIP trunk which requires a CallerID value for
> any outbound call.
> Though a CallerID is required, anonymous calls are allowed.
> See extracts from a successfull anonymous call:
>
> From: "Anonymous" ;tag=438b284694b5b3de
>
> Privacy: id
>
> P-Asserted-Identity: "FooBar" 
>
> I'm trying to mimic this on a 13.8.0-enabled system.
>
> Whenever I set CALLERID(num-pres)=prohib in my dialplan, it seems
> P-Asserted-Identity not not present in outbound INVITE.
>
> I would expect to see it there along with a "Privacy: id" header.
>
> Do you agree with my expectation ?
> How can I work around this, keeping PJSIP stack ?
>

Do you have the following options enabled in pjsip.conf?
;trust_id_inbound=no; Accept identification information received from
this
; endpoint (default: "no")
;trust_id_outbound=no   ; Send private identification details to the
endpoint
; (default: "no")

Richard
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] PJSIP: P-Asserted-Identity and Privacy headers are missing when CALLERID(num)=prohib

2016-06-09 Thread Olivier
Hello,

My ITSP provides me with a SIP trunk which requires a CallerID value for
any outbound call.
Though a CallerID is required, anonymous calls are allowed.
See extracts from a successfull anonymous call:

From: "Anonymous" ;tag=438b284694b5b3de

Privacy: id

P-Asserted-Identity: "FooBar" >

I'm trying to mimic this on a 13.8.0-enabled system.

Whenever I set CALLERID(num-pres)=prohib in my dialplan, it seems
P-Asserted-Identity not not present in outbound INVITE.

I would expect to see it there along with a "Privacy: id" header.

Do you agree with my expectation ?
How can I work around this, keeping PJSIP stack ?

Best regards
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users