thanx Steve, i tried caller_id_* doesn't and effective_caller_id_* variables and finally found it works with origination_caller_id_* variables, now there's another question: i bridged leg A and B in lua using freeswitch.bridge(session, sessionB); --A calls B after B hangs up, A hangs up, but after A hangs up, B doesn't hang up, why? 2013/6/10 Steven Ayre <steveayre@gmail.com>
Try setting these in the dialstring: http://wiki.freeswitch.org/wiki/Channel_Variables#Caller_ID_Related
For example: session = freeswitch.Session("{caller_id_name=Steve,caller_id_number=12345}user/"..dest);
If caller_id_* doesn't work try the effective_caller_id_* variable.
-Steve
On 10 June 2013 03:54, Vincent Xia <gmangudai@gmail.com> wrote:
hi all, while initiating a call from lua with session = freeswitch.Session("user/"..dest);
the calling number shown by the called party is "000000000" is it possible to set the calling number to the actual number?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org