Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
oza.4h07 at gmail.com
Guest





PostPosted: Thu Jun 09, 2016 11:40 am    Post subject: [asterisk-users] PJSIP: P-Asserted-Identity and Privacy head Reply with quote

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" <[url=sip:anonymous@anonymous.invalid]sip:anonymous@anonymous.invalid[/url]>;tag=438b284694b5b3de

Privacy: id
P-Asserted-Identity: "FooBar" <[url=sip:0320617717@10.20.255.1:5060]sip:0123456789@1.2.3.4:5060[/url]>


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
Back to top
rmudgett at digium.com
Guest





PostPosted: Thu Jun 09, 2016 11:56 am    Post subject: [asterisk-users] PJSIP: P-Asserted-Identity and Privacy head Reply with quote

On Thu, Jun 9, 2016 at 11:40 AM, Olivier <oza.4h07@gmail.com (oza.4h07@gmail.com)> wrote:
Quote:
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" <sip:anonymous@anonymous.invalid>;tag=438b284694b5b3de

Privacy: id
P-Asserted-Identity: "FooBar" <sip:0123456789@1.2.3.4:5060>


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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services