<p dir="ltr">Isn't it better to do that in the gateway?</p>
<div class="gmail_quote">Le 13 nov. 2015 9:08 AM, "Alexander Haugg" <<a href="mailto:Alexander.Haugg@c4b.de">Alexander.Haugg@c4b.de</a>> 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:"Courier New"">Hi All,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">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:"Courier New"">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:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><action application="set" data="privacy=yes"/><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><action application="privacy" data="yes"/><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><action application="set" data="effective_caller_id_name='servus'"/><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><action application="set" data="effective_caller_id_number=1234"/><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><action application="bridge" data="{sip_cid_type=pid,origination_privacy=screen+hide_name+hide_number}sofia/gateway/${gw_name}/${callee_number}" /><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: "CallerName" <sip:CallerNumber@PBX IP>;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>