[Freeswitch-users] how to set up calling number in freeswitch.Session

Steven Ayre steveayre at gmail.com
Mon Jun 10 07:26:11 MSD 2013


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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130610/75e264a8/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list