<div dir="ltr">And Thank you very much Richard for your help.<br><div class="gmail_extra"><br><div class="gmail_quote">2016-06-10 9:10 GMT+02:00 Olivier <span dir="ltr"><<a href="mailto:oza.4h07@gmail.com" target="_blank">oza.4h07@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>My trunk was configured with:<br> trust_id_inbound : false<br> trust_id_outbound : false<br><br></div>Setting both values to yes in endpoint's config made both Privacy and P-Asserted-Identity headers appear in first outbound INVITE.<br><br></div>(My ITSP still declines my anonymous call but that's another story).<br><div><div><div><br><div class="gmail_extra"><br><div class="gmail_quote">2016-06-09 18:55 GMT+02:00 Richard Mudgett <span dir="ltr"><<a href="mailto:rmudgett@digium.com" target="_blank">rmudgett@digium.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Thu, Jun 9, 2016 at 11:40 AM, Olivier <span dir="ltr"><<a href="mailto:oza.4h07@gmail.com" target="_blank">oza.4h07@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,<br><br>My ITSP provides me with a SIP trunk which requires a CallerID value for any outbound call.<br></div><div>Though a CallerID is required, anonymous calls are allowed.<br>See extracts from a successfull anonymous call:<br><span style="font-size:9pt;font-family:"Courier New""><br>From: "Anonymous" <<a style="color:rgb(149,79,114);text-decoration:underline">sip:anonymous@anonymous.invalid</a>>;tag=438b284694b5b3de</span></div><div><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:15px;font-family:Calibri,sans-serif;color:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:9pt;font-family:"Courier New"">Privacy: id</span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:15px;font-family:Calibri,sans-serif;color:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:9pt;font-family:"Courier New"">P-Asserted-Identity: "FooBar" <<a style="color:rgb(149,79,114);text-decoration:underline">sip:0123456789@1.2.3.4:5060</a>></span></p></div><div><br></div><div>I'm trying to mimic this on a 13.8.0-enabled system.<br><br></div><div>Whenever I set CALLERID(num-pres)=prohib in my dialplan, it seems P-Asserted-Identity not not present in outbound INVITE.<br><br></div><div>I would expect to see it there along with a "Privacy: id" header.<br></div><div><br>Do you agree with my expectation ?<br></div><div>How can I work around this, keeping PJSIP stack ?<br></div></div></blockquote><div><br></div></span><div>Do you have the following options enabled in pjsip.conf?<br>;trust_id_inbound=no ; Accept identification information received from this<br> ; endpoint (default: "no")<br>;trust_id_outbound=no ; Send private identification details to the endpoint<br> ; (default: "no")<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div>Richard<br></div></font></span></div><br></div></div><span class="HOEnZb"><font color="#888888">
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></font></span></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div></div>