<div dir="ltr">thanx Steve, i tried <span style="font-family:arial,sans-serif;font-size:14px">caller_id_* doesn't and effective_caller_id_* variables and finally found it works with </span><font face="arial, sans-serif"><span style="font-size:14px">origination_caller_id_* variables, now there's another question:</span></font><div style>
<font face="arial, sans-serif"><span style="font-size:14px">i bridged leg A and B in lua using freeswitch.bridge(session, sessionB); --A calls B</span></font></div><div style><font face="arial, sans-serif"><span style="font-size:14px"><br>
</span></font></div><div style><font face="arial, sans-serif"><span style="font-size:14px">after B hangs up, A hangs up, but after A hangs up, B doesn't hang up, why?</span></font></div><div style><font face="arial, sans-serif"><span style="font-size:14px"><br>
</span></font></div><div style><font face="arial, sans-serif"><span style="font-size:14px"><br></span></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/10 Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try setting these in the dialstring:<div><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#Caller_ID_Related" target="_blank">http://wiki.freeswitch.org/wiki/Channel_Variables#Caller_ID_Related</a></div>
<div><br></div><div>For example:</div>
<div>session = freeswitch.Session("{caller_id_name=Steve,caller_id_number=12345}user/"..dest);</div><div><br></div><div>If caller_id_* doesn't work try the effective_caller_id_* variable.</div><div><br></div>
<div>-Steve</div><div><br><br><div class="gmail_quote"><div><div class="h5">On 10 June 2013 03:54, Vincent Xia <span dir="ltr"><<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div>hi all,</div><div>while initiating a call from lua with </div><div>session = freeswitch.Session("user/"..dest);</div><div><br></div><div>the calling number shown by the called party is "000000000"</div>
<div>is it possible to set the calling number to the actual number?</div></div>
<br></div></div>_________________________________________________________________________<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>
<br></blockquote></div><br></div>
<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>
<br></blockquote></div><br></div>