You can try playing with this in your gateway profile<div><br></div><div><div> <param name="caller-id-in-from" value="true"/></div><div><br></div><div>Not sure what it'll do to your registration, give it a try</div>
<br><div class="gmail_quote">On Tue, Aug 25, 2009 at 21:51, Shameem Shiek <span dir="ltr"><<a href="mailto:gshfreesw@gmail.com">gshfreesw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am setting the caller id like this in my ESL script:<br><br>@con.sendRecv("api originate {origination_caller_id_number=15103245678}sofia/gateway/junctionnetworks/1#{@number} &park()")<br><br>And the caller id comes out as all zeroes. The sip trace shows the "from" 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 <<a href="mailto:sip%3Ausername@jnctn.net" target="_blank">sip:username@jnctn.net</a>;transport=udp><br>Contact <sip:gw+junctionnetworks@24.87.80.12:5080;transport=udp><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>_______________________________________________<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><br clear="all"><br>-- <br>Shannon<br>
</div>