<div dir="ltr"><div>As Ken said... before the bridge you can set the effective_caller_id_number and effective_caller_id_name.</div><div><br></div><div>Depending on your gateway, however, it will want the caller ID passed a different way.</div>

<div>Many want it in the FROM in the invite.</div><div><span style="font-family:sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">In the gateway: </span><a href="http://wiki.freeswitch.org/wiki/Authentication" title="Authentication" style="text-decoration:none;color:rgb(90,54,150);background-image:none;background-color:rgb(255,255,255);font-family:sans-serif;font-size:13px;line-height:19px">Authentication</a><span style="font-family:sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)"> - you can set &quot;caller-id-in-from&quot; to be true.</span></div>

<div><span style="font-family:sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">For any other CID type, you can change it i</span><span style="font-family:sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">n the channel: </span><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#Caller_ID_Related" title="Channel Variables" style="text-decoration:none;color:rgb(90,54,150);background-image:none;background-color:rgb(255,255,255);font-family:sans-serif;font-size:13px;line-height:19px">Channel_Variables#Caller_ID_Related</a><span style="font-family:sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">, specifically: </span><a href="http://wiki.freeswitch.org/wiki/Variable_sip_cid_type" title="Variable sip cid type" style="text-decoration:none;color:rgb(90,54,150);background-image:none;background-color:rgb(255,255,255);font-family:sans-serif;font-size:13px;line-height:19px">Variable_sip_cid_type</a></div>

<div><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi<br></span></div><br>
<br><br><div class="gmail_quote">On Thu, Oct 11, 2012 at 5:26 AM, Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

termination is termination and origination is origination... just because out interconnect tech is primarily sip vs tdm (pots pri ss7 etc) the terminology does not change.<br>
<br>
<br>
as far as freeswitch controlling what clid is passed thru, that is up to how you configure freswitch. yes it can pass thru what the customer sends or it can block that and send something you have configured for the customer... for the later see the effective caller id name and number variables on the fs wiki.<br>


<br>
Ken<br>
Sent from my iPad<br>
<div class="HOEnZb"><div class="h5"><br>
On Oct 10, 2012, at 9:43 PM, &quot;D&#39;Arcy J.M. Cain&quot; &lt;darcy@Vex.Net&gt; wrote:<br>
<br>
&gt; On Wed, 10 Oct 2012 13:35:06 -0700<br>
&gt; Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt; wrote:<br>
&gt;&gt; Can you restate your question? I think a lot of us got confused when<br>
&gt;&gt; you said that you&#39;re only worried about termination. Can you explain<br>
&gt;&gt; what you want without using FreeSWITCH-specific terminology? I think<br>
&gt;&gt; that will clear up the confusion.<br>
&gt;<br>
&gt; I am not knowingly using FreeSWITCH terminology.  I am using telco<br>
&gt; terminology.  Termination is where I send calls from my clients out to<br>
&gt; the PSTN world.  Origination is how the world calls me.  It does seem<br>
&gt; backwards but that&#39;s how it is.<br>
&gt;<br>
&gt; <a href="http://en.wikipedia.org/wiki/Call_termination" target="_blank">http://en.wikipedia.org/wiki/Call_termination</a><br>
&gt;<br>
&gt; So, in my case I have clients who terminate with my switch and I pass<br>
&gt; that on to the PSTN network through my termination provider. My<br>
&gt; origination provider (happens to be the same company in this case)<br>
&gt; provides me with DIDs and originates calls to me that I pass on to my<br>
&gt; client.  My question here concerns the former.<br>
&gt;<br>
&gt; It just occurred to me that I may have left out a relevant piece of<br>
&gt; information.  I am in Canada and use a Canadian provider.  Canada and<br>
&gt; the US use different methods for passing CNAME information.  In the US<br>
&gt; there is a central database of numbers and carriers &quot;dip&quot; into it to<br>
&gt; get the information.  In Canada each phone provider keeps their own<br>
&gt; database and passes the information through the network.<br>
&gt;<br>
&gt; So, here is my problem.  My clients can send me any number and CNAME<br>
&gt; that they want and currently I pass it on.  If someone misuses that<br>
&gt; they could cause the excrement to start rolling downhill and while I am<br>
&gt; not the final destination, handling shit is never fun.<br>
&gt;<br>
&gt; So, what I want to do is ignore the values that they send me and insert<br>
&gt; the actual phone number and the CNAME that is registered in my billing<br>
&gt; database for them.  Does FreeSWITCH call that termination or<br>
&gt; origination?<br>
&gt;<br>
&gt; --<br>
&gt; D&#39;Arcy J.M. Cain<br>
&gt; System Administrator, Vex.Net<br>
&gt; <a href="http://www.Vex.Net/" target="_blank">http://www.Vex.Net/</a> IM:darcy@Vex.Net<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><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" 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">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>
</div></div></blockquote></div><br></div></div>