<div dir="ltr"><div><div>Hello<span name="royj@yandex.ru" class=""></span><br><br></div>Sorry. I made a mistake checking what <span name="royj@yandex.ru" class="">&quot;<a href="mailto:royj@yandex.ru">royj@yandex.ru</a>&quot; told me.</span><span name="royj@yandex.ru" class=""><br>I can confirm that using </span>&lt;param name=&quot;caller-id-type&quot; value=&quot;pid&quot;/&gt; works fine.<br><br></div><div>Nevertheless  <span name="royj@yandex.ru" class="">&quot;<a href="mailto:royj@yandex.ru">royj@yandex.ru</a>&quot; told me to apply it  in the incoming profile, but it works when I have applied in the outbound profile.<br><br></span></div><div><span name="royj@yandex.ru" class="">Thanks everybody. I really apreciate your help<br><br></span></div><div><span name="royj@yandex.ru" class="">SOLVED<br></span></div><div><span name="royj@yandex.ru" class=""></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-11 11:18 GMT+01:00 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><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></span><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" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration#GatewaysConfiguration-Variables</a></span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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></div></div><span class="">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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></span></blockquote></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>