This is one did the trick.<br><br>Thanks.<br><br><div class="gmail_quote">On Tue, Aug 25, 2009 at 11:07 PM, SP <span dir="ltr">&lt;<a href="mailto:sprice@gmail.com">sprice@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You can try playing with this in your gateway profile<div><br></div><div><div>  &lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;</div><div><br></div><div>Not sure what it&#39;ll do to your registration, give it a try</div>

<br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, Aug 25, 2009 at 21:51, Shameem Shiek <span dir="ltr">&lt;<a href="mailto:gshfreesw@gmail.com" target="_blank">gshfreesw@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
I am setting the caller id like this in my ESL script:<br><br>@con.sendRecv(&quot;api originate {origination_caller_id_number=15103245678}sofia/gateway/junctionnetworks/1#{@number} &amp;park()&quot;)<br><br>And the caller id comes out as all zeroes.  The sip trace shows the &quot;from&quot; as shown in the sofia status command.  This is output of sofia gateway status and my gateway is under /usr/local/freeswitch/conf/sip_profiles/external/junctionnetworks.xml . Also, adding the gateway under /conf/directory/default did not work as the wiki suugests. What I need to do for the caller_id to come through?<br>


<br><br>sofia status gateway junctionnetworks<br>=================================================================================================<br>Name        junctionnetworks<br>Scheme      Digest<br>Realm       <a href="http://jnctn.net" target="_blank">jnctn.net</a><br>


Username    username<br>Password    yes<br>From        &lt;<a href="mailto:sip%3Ausername@jnctn.net" target="_blank">sip:username@jnctn.net</a>;transport=udp&gt;<br>Contact     &lt;sip:gw+junctionnetworks@24.87.80.12:5080;transport=udp&gt;<br>


Exten       899xxxxxxx<br>To          <a href="mailto:sip%3Ausername@sip.jnctn.net" target="_blank">sip:username@sip.jnctn.net</a><br>Proxy       sip:<a href="http://sip.jnctn.net" target="_blank">sip.jnctn.net</a><br>Context     public<br>

Expires     3600<br>
Freq        3600<br>Ping        0<br>PingFreq    0<br>State       REGED<br>Status      UP<br>CallsIN     0<br>CallsOUT    1<br><br>
<br></div></div>_______________________________________________<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Shannon<br>
</div>
<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>
<br></blockquote></div><br>