<div dir="ltr"><div><div><div>Thanks both for your answer.<br><br>However <br>I tried to do what royj suggested me and still the same behaviour ( freeswith send Remote-Party-ID and not P-asserted-id)<br></div></div>I have found a old bug that match exactly with my issue: <a href="https://freeswitch.org/jira/browse/FS-527">https://freeswitch.org/jira/browse/FS-527</a>.<br>Yes!, it is closed, but is reproducing to me with my current version of freeswitch 1.4.20<br><br></div><div>what do you think about it?<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-10 16:56 GMT+01:00 Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think the other response answers your question, however I wanted to clarify one thing.  FreeSWITCH is a B2BUA.  It is not &quot;replacing&quot; the PAID with RPID, its a new call that is sent with its own configuration.<br>
<br>
Mike<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; On Feb 10, 2016, at 4:31 AM, Jose Serrano &lt;<a href="mailto:jjserranor@gmail.com">jjserranor@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello.<br>
&gt;<br>
&gt; My freeswitch  by default replace the P-asserted-identity  by Remote-Party-ID when routing calls to the gateway.<br>
&gt; I want to send the P-asserted-identity and not the Remote-Party-ID and for that I tried the following:<br>
&gt;<br>
&gt; I have configured  in the outbound gateway definition the following parameters:<br>
&gt; &lt;param name=&quot;caller-id-type&quot; value=&quot;pid&quot;/&gt; or<br>
&gt; &lt;param name=&quot;cid-type&quot; value=&quot;pid&quot;/&gt;<br>
&gt;  but te behavior is the same.<br>
&gt;<br>
&gt; The only thing that works is to set up the &quot;sip_cid_type&quot; variable in the dialplan like this:<br>
&gt; &lt;action application=&quot;bridge&quot; data=&quot;{sip_cid_type=pid}sofia/gateway/Mygateway/$1&quot;/&gt;<br>
&gt;<br>
&gt; Anyone  knows how I can send the P-Asserted-identity without having to modify all my dial plan adding the sip_cid_type?<br>
&gt;<br>
&gt; Thanks in avanced<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; 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>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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>
</div></div></blockquote></div><br></div>