<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8px">The only thing that works is to set up the &quot;sip_cid_type&quot; variable in the dialplan like this:</span></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8px">&lt;action application=&quot;bridge&quot; data=&quot;{sip_cid_type=pid}sofia/</span><span style="font-size:12.8px">gateway/Mygateway/$1&quot;/&gt;</span></blockquote><div><br></div><div>Try setting <span style="font-size:12.8px">sip_cid_type=pid as a variable within the gateway definition, so it&#39;s automatically set on every outbound call through that gateway.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><a href="https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration#GatewaysConfiguration-Variables">https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration#GatewaysConfiguration-Variables</a></span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 February 2016 at 10:31, Jose Serrano <span dir="ltr">&lt;<a href="mailto:jjserranor@gmail.com" target="_blank">jjserranor@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello.<br><br></div>My freeswitch  by default replace the P-asserted-identity  by Remote-Party-ID when routing calls to the gateway.<br></div><div>I want to send the P-asserted-identity and not the Remote-Party-ID and for that I tried the following:<br></div><div><br></div><div>I have configured  in the outbound gateway definition the following parameters:<br>&lt;param name=&quot;caller-id-type&quot; value=&quot;pid&quot;/&gt; or<br>&lt;param name=&quot;cid-type&quot; value=&quot;pid&quot;/&gt;<br> but te behavior is the same.<br><br></div><div>The only thing that works is to set up the &quot;sip_cid_type&quot; variable in the dialplan like this:<br>&lt;action application=&quot;bridge&quot; data=&quot;{sip_cid_type=pid}sofia/gateway/Mygateway/$1&quot;/&gt;<br><br></div><div>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></div><div>Thanks in avanced<br></div><div><br><br></div><div><br></div><br></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><br></div>