<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"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></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 "replacing" 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>
> On Feb 10, 2016, at 4:31 AM, Jose Serrano <<a href="mailto:jjserranor@gmail.com">jjserranor@gmail.com</a>> wrote:<br>
><br>
> Hello.<br>
><br>
> My freeswitch by default replace the P-asserted-identity by Remote-Party-ID when routing calls to the gateway.<br>
> I want to send the P-asserted-identity and not the Remote-Party-ID and for that I tried the following:<br>
><br>
> I have configured in the outbound gateway definition the following parameters:<br>
> <param name="caller-id-type" value="pid"/> or<br>
> <param name="cid-type" value="pid"/><br>
> but te behavior is the same.<br>
><br>
> The only thing that works is to set up the "sip_cid_type" variable in the dialplan like this:<br>
> <action application="bridge" data="{sip_cid_type=pid}sofia/gateway/Mygateway/$1"/><br>
><br>
> Anyone knows how I can send the P-Asserted-identity without having to modify all my dial plan adding the sip_cid_type?<br>
><br>
> Thanks in avanced<br>
><br>
><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _________________________________________________________________________<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>
<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>