<div>Already typed this, so maybe it'll be helpful. </div><div><br></div><div>I had to use origination_caller_id_number to get the right number to show up on an incoming call from my gateway being bridged to an external device through my gateway. The bridge I am using is the longer line, but you could set it in a single line. </div>
<div><br></div><div>Setting it in the bridge:</div><div><div><action application="bridge" data="<ignore_early_media=true,origination_caller_id_number=${caller_id_number}></div><div> <span style="white-space:pre-wrap">        </span>{leg_timeout=35}group/${dialed_group}@${domain}</div>
<div> <span style="white-space:pre-wrap">        </span>:_:{leg_timeout=25,bypass_media_after_bridge=true,absolute_codec_string=G729}group/external_devices@${domain}"/></div><div><br></div><div>Setting it prior to the bridge :</div>
<div><action application="set" data="origination_caller_id_number=${caller_id_number}"/></div><div><br></div><div><br></div><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 4:31 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"><div>On Wed, 10 Oct 2012 15:40:52 -0400<br>
Nick Vines <<a href="mailto:jnvines@gmail.com" target="_blank">jnvines@gmail.com</a>> wrote:<br>
> I ran into a similar problem and setting origination_caller_id name<br>
> and number fixed it for me.<br>
><br>
> <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>
<br>
</div>Is that just a badly named variable? I am not worried about<br>
origination, only termination. Can you show me a more complete<br>
example? Where does this go? In the dialplan? The wiki is not very<br>
clear. it says to put this inside the {} brackets:<br>
<br>
originate {origination_caller_id_name='Caller<br>
Name',origination_caller_id_number=5551231234}sofia/gateway/test/1231231234<br>
&park()<br>
<br>
But there is stuff outside the brackets. Are there other brackets that<br>
this is supposed to nest in? I have no "originate" keyword in my<br>
configs.<br>
<div><div><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>
</div></div></blockquote></div><br></div>