I ran into a similar problem and setting origination_caller_id name and number fixed it for me. <div><br><div><a href="http://wiki.freeswitch.org/wiki/Variable_origination_caller_id_number" target="_blank">http://wiki.freeswitch.org/wiki/Variable_origination_caller_id_number</a><br>
<div><br></div><div><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 3:34 PM, D'Arcy J.M. Cain <span dir="ltr"><<a href="mailto:darcy@vex.net" target="_blank">darcy@vex.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have Google and the mailing list but so far no joy. Basically all I<br>
want to do is prevent users from setting their own caller ID and name.<br>
>From the mailing list I saw something like this:<br>
<br>
<user id="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>" mailbox="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>"><br>
<params><br>
<param name="password" value="password"/><br>
<param name="vm-password" value="1234"/><br>
</params><br>
<variables><br>
<variable name="accountcode" value="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>"/><br>
<variable name="user_context" value="default"/><br>
<variable name="effective_caller_id_name" value="User<br>
Name"/> <variable name="effective_caller_id_number"<br>
value="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>"/> <variable name="outbound_caller_id_name"<br>
value="User Name"/> <variable name="outbound_caller_id_number"<br>
value="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>"/> </variables><br>
</user><br>
<br>
And in the default dialplan:<br>
<br>
<include><br>
<extension name="mygateway"><br>
<condition field="destination_number" expression="^1?(\d{10})\d*$"><br>
<action application="set"<br>
data="effective_caller_id_number=${outbound_caller_id_number}"/><br>
<action application="set"<br>
data="effective_caller_id_name=${outbound_caller_id_name}"/><br>
<action application="bridge" data="sofia/gateway/mygateway/$1"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
But this still sends the name and ID from the VoIP adapter. Am I<br>
missing something?<br>
<br>
Thanks for all help.<br>
<br>
--<br>
D'Arcy J.M. Cain<br>
System Administrator, Vex.Net<br>
<a href="http://www.Vex.Net/" target="_blank">http://www.Vex.Net/</a> IM:darcy@Vex.Net<br>
<br>
_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div></div>