<p dir="ltr">Isn&#39;t it better to do that in the gateway?</p>
<div class="gmail_quote">Le 13 nov. 2015 9:08 AM, &quot;Alexander Haugg&quot; &lt;<a href="mailto:Alexander.Haugg@c4b.de">Alexander.Haugg@c4b.de</a>&gt; a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Hi All,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;">This is a copy of my dialplan section.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;">I try to force that the p-asserted-identity header is set in the leg B INVITE
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">&lt;action application=&quot;set&quot; data=&quot;privacy=yes&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">&lt;action application=&quot;privacy&quot; data=&quot;yes&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=&#39;servus&#39;&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=1234&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">&lt;action application=&quot;bridge&quot; data=&quot;{sip_cid_type=pid,origination_privacy=screen+hide_name+hide_number}sofia/gateway/${gw_name}/${callee_number}&quot; /&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I have every time the remote-party-id in the SIP header<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Remote-Party-ID: &quot;CallerName&quot; &lt;sip:CallerNumber@PBX IP&gt;;party=calling;screen=yes;privacy=off<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I had found following links<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://wiki.freeswitch.org/wiki/Variable_origination_privacy" target="_blank">http://wiki.freeswitch.org/wiki/Variable_origination_privacy</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#sip_cid_type" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#sip_cid_type</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://comments.gmane.org/gmane.comp.telephony.freeswitch.user/48392" target="_blank">http://comments.gmane.org/gmane.comp.telephony.freeswitch.user/48392</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">What do I wrong?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks a lot!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>